Jump to content

Jim Kring

Members
  • Posts

    3,904
  • Joined

  • Last visited

  • Days Won

    34

Everything posted by Jim Kring

  1. The LabVIEW 8.0 fairy has granted your wish.
  2. Jim Kring

    The book

    This topic is now closed. Sorry, alpha, you lose.
  3. You will probably need to use Scripting in order to access these features.
  4. Chris, we could form an extreme sports team and travel the world doing demos!
  5. Yes, this is a very nice feature. However, I don't think that it will solve either of the problems mentioned above.
  6. I have talked to developers within NI, to see if there is some hidden way to do this, and the answer I recieved is that it is not currently possible. However, it is a great idea.
  7. Giridhar: I guess that this is a good time to give an update on Aerotech. I have been using one of their stages recently, and the LabVIEW drivers and examples have been greatly improved. They still don't meet my very rigorous requirements for what I would call good software, but their stuff is useable. I did have to fix a few bugs in their code, but that is often the case with instrument drivers. As far as cost is concerned, you should talk to an Aerotech sales rep or visit their website. It is my assumption, but I could be wrong, that the LabVIEW drivers do not cost extra.
  8. Be fair to Rolf, yen. The IVision runtime license is $20, but the developer license is $850.
  9. Set the following attributes of the string control: Key Focus = TRUE Text.Selection:Start = Desired Cursor Position Text.Selection:End = Desired Cursor Position
  10. One option, is to install TortoiseSVN with the "Visual Studio .NET hack" (this is an option available during installation). This will cause the ".svn" folders to be named "_svn". LabVIEW will ignore all files and folders, beneath user.lib, that begin with an underscore.
  11. I don't know if anyone else has discovered this already, but it's pretty cool... How to create a system (dialog) cluster control Summary: we will be replacing the cluster frame with a System (Dialog) Recessed Frame, using the control editor . Steps: 1) Place a System (Dialog) Recessed Frame on the front panel. Select it and then Edit>>Copy (<ctrl>+C) it to the clipboard. 2) Place a cluster shell onto the front panel. Select it and then Edit>>Customize Control to open it in the Control Editor dialog 3) Change from Customize Mode to Edit Mode, by pressing the small "wrench" button. 4) Right-click on the cluster frame and select Import at Same Size from the pop up menu. 5) For added style.. 5.A) make the cluster background transparent so that you can see system color of the front panel 5.B) move the cluster's label so that it hovers over the frame, and 5.C) color the label so that it has a system color background with a transparent foreground (to hide the shadow). voil
  12. The fact that Unflatten From String returns an error when you try to unflatten an empty string into a cluster is good -- this is a feature. If you use Flatten To String to flatten an "empty" cluster, you will not get an empty string (since even a cluster with default/null vales still has data). If you want a different behavior, then test for an empty string and then pass an empty cluster out. Also, the term "null", used in the context of string data, usually refers to the character whos decimal value is 0. This will appear as \00, in slash code mode. You will find that if you flatten an "empty" cluster, you will get a lot of null characters in your string data. Cheers,
  13. First of all, if you are using TortoiseSVN, you don't need metadiff -- TortoiseSVN, can be configured on a per file extention (type) basis, as shown in the following image: Secondly, I don't think that that you can compare two VIs with the same name, using lvdiff -- LabVIEW has a problem with loading two VIs into memory, with the same name. You should try using the Tools>>Compare>>Compare VI Hierarchies tool -- this can handle comparing two VIs with the same name.
  14. Gordon & Smith (G&S) is a surfboard, skateboard, and clothing company that was founded in San Diego (America's Finest City) where I spent my childhood (did I every really grow up?). They had a factory outlet, where I would find great bargains on skateboards (like the one in the photo) and school clothes... ah, happy memories.
  15. I'm going to have to TiVo that show -- I love skateboarding and LabVIEW! Here's me, when I was just a runt.
  16. LabVIEW 8.0 allows you to (re)assign keys of any menu items. :thumbup:
  17. You cannot invoke the Run method on a VI that is reserved for exection. So, if you want to do this you will need to set the resvForCall argument of the GetVIReference method to FALSE. However, using the Call methods does require that the VI be reserved for execution -- this is an important distinction.
  18. sure, just pass the VI path as command-line argument. <labview version dir>\labview.exe -pref "%l" "VI1_Path" "VI2_Path" "VI3_Path"
  19. Chris: I think this is very interesting and worth developing into an OpenG project (we were actually discussing SQLite integration with LabVIEW, last week). We could build the shared library on all platforms and make it a cross-platform toolkit. I'm more than happy to help get it into the OpenG Toolkit. Send me a PM, and we can discuss. Cheers,
  20. Eric: LabVIEW 8.0 has a new feature called Graph Annotations that will do what you want.
  21. I have seen tricks where a "real" control, which is usually hidden, is moved under the mouse and made visible as the user moves mouses over the control images inside the picture control -- it is not perceivable by the user. This allows the user to interact with the real control.
  22. Federico: Can you use a picture control to achieve the desired result?. You can obtain a control's image by invoking the VI Server method Get Image. You can then draw this image on a picture control. You can do this multiple times, draw them in different positions, and in the desired (Z) orders. You only need one real control for each type of control you wish to draw -- you can change the control to the desired value. However, if users need to interact with the controls, it gets tricky.
  23. Hi Forrest, That sounds frustrating. You've definitely done everything right: you have contacted NI, sent them an example, and documented your problem and how you recover from it. I guess that I would look for some solution that might allow you to "reconnect" with the DAQ device without having to physically unplug it. There is probably a way to achieve this using Windows API calls -- but, I am not sure. A quick Google search and following the first result to a USB Developers FAQ brought me to a FAQ entry called "How can my application reset, disable, or restart a USB device?". The answer says that "The DevCon example in the Windows DDK is a command-line utility that shows how to enable, disable, restart, update, remove and query devices using the SetupAPI and CfgMgr32 API functions". I did a search on the Microsoft Support Site for CfgMgr32 and the second search result was to the DevCon command-line utility page. The DevCon command-line utility page has a link to... Download the DevCon package You can call this program (DevCon.exe) using SystemExec.vi to execute it from the command-line. Please let us know if this works, or if you have any other questions. I'm very interested because your problem might happen to the rest of us, and it would be comforting to know that there is a good work-around solution. Good luck,
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.