Jump to content

Karissap

Members
  • Posts

    108
  • Joined

  • Last visited

Everything posted by Karissap

  1. You could use a program like wget It will be able to download pdfs from the internet. You could call it from the command line using System Exec.vi
  2. Thanks everyone, exactly what I was after and thanks for the extra hints as well, I think they'll come in handy .
  3. I was wondering if anyone knew how to change the visibility of 3d graph cursors programmatically, there must be a way to do it seeing as it can be changed in the properties dialog box, it's probably private but since when has that stopped anyone . http://forums.lavag.org/index.php?act=attach&type=post&id=6431 The only property node I can find for 3d graph cursors is count, and it's read only. It would be great if I could read the cursor position programmatically too.
  4. QUOTE(crelf @ Jul 16 2007, 03:24 PM) Hey thanks, I missed that, woops, I think I had paste on the brain. I think I will submit it to the LAVAcr. QUOTE(yen @ Jul 17 2007, 02:53 AM) I'm impressed by the code (and the icons ) and it doesn't seem to be that much of a hack, but wouldn't it be simpler (and definitely more platform independent) to write a simple file browser using a listbox, where you can enable multiple selection? Thanks, I love making icons, I use the tango icons a lot, I found out about them from http://forums.lavag.org/index.php?showtopic=8569&st=0&p=32514&' target="_blank">this thread, the icons score double points with me cause I use Ubuntu at home (so I am all for platform independence). The listbox browser is a really good idea, I didn't think about doing it that way.
  5. I worked out a solution using the windows clipboard. I can now paste a windows file/folder selection to an array. Here's the solution if anyone is interested. The GetClipboardData.vi can get either text, a picture or a file selection from the clipboard. http://forums.lavag.org/index.php?act=attach&type=post&id=6361
  6. QUOTE(Nyang @ Jul 13 2007, 01:55 PM) That propery is private and can only be accessed by enabling VI scripting in LabVIEW 7.1 using the ini file (a lot harder to enable scripting in newer versions). See the http://forums.lavag.org/VI-Scripting-Readme-First-t1207.html' target="_blank">VI Scripting Readme for how to enable it.
  7. Here is an example of calling a vi by it's reference and changing the default value of a control when it stops running. http://forums.lavag.org/index.php?act=attach&type=post&id=6345
  8. There is a property node to change the default value but it is only writable when the vi is in edit mode, you could just pass the value to a second vi that references it when the vi has finished running.
  9. If you are talking about changing the value of a button when another is pressed instead of enabling use the Value property. The Value property only works for buttons with a mechanical action other than latching. http://forums.lavag.org/index.php?act=attach&type=post&id=6344 The enable property changes whether the user can interact with the second button.
  10. If parts of your code will not work on your PC and need the real time target you can use the Conditional Disable Structure to disable parts of you block diagram using the TARGET_TYPE symbol. See the "Conditional Disable Structure.lvproj" example in the NI example Finder.
  11. QUOTE(VDB @ Jul 4 2007, 04:33 PM) The "File Dialog" VI still only lets you select multiple files: Here is the configuration screen when "Limit selection to single item" is unchecked http://forums.lavag.org/index.php?act=attach&type=post&id=6304''>http://forums.lavag.org/index.php?act=attach&type=post&id=6304'>http://forums.lavag.org/index.php?act=attach&type=post&id=6304 The "File", "Folder" or "File or Folder" Options are greyed out. I've tried using the File Dialog vi and can't select multiple folders, only files
  12. I have a program which allows users to collect data from multiple folders. In the browse options there is an option to select multiple files by dragging over a selection but not multiple folders. At the moment I'm using an array and a pop up that asks the user if they want to add another folder to the array but it's a bit slow and tedious for the user. Even typing the paths or dragging and dropping one folder at a time is slow. Is there an easier way to select multiple folders even by using something like clipboard or drag and drop?
  13. In the example "Dynamically Register for Events.vi" when the Register Event Callback node gets expanded different types of events were selected, eg Mouse Move, Mouse Down?, Mouse Up. When you expanded the node all the event types were the same (Value Change). LabVIEW is probably just only taking the control refs to the first Value Change and ignoring the rest. I agree that this seems a bit counter intuitive and should probably be documented that you can't select the same event twice somewhere if that is the case. If you want to register different types of events just expand it and select a different event type like in the example. If you want to add more controls to detect a Value change for, I'd suggest instead of expanding the node to select Value Change again try adding control refs to the 1-d array going into the existing Value Change like this: http://forums.lavag.org/index.php?act=attach&type=post&id=6300 (with build array in concatenate mode)
  14. Here is a solution that I think does what your looking for and might be a bit easier to follow, I've just moved your case statement inside the event structure. http://forums.lavag.org/index.php?act=attach&type=post&id=6295 http://forums.lavag.org/index.php?act=attach&type=post&id=6294
  15. QUOTE(zoogies @ Jun 28 2007, 09:23 AM) There is a floor function, it's called "Round to -infinity" and it is in the Numeric palette of LabVIEW 7.1 http://forums.lavag.org/index.php?act=attach&type=post&id=6251''>http://forums.lavag.org/index.php?act=attach&type=post&id=6251'>http://forums.lavag.org/index.php?act=attach&type=post&id=6251
  16. QUOTE(Nullllll @ Jun 27 2007, 08:27 AM) Here is a modified version of your code with some of it fixed up, it should ask for the password for a set number of retries (5 at the moment) and not stop. http://forums.lavag.org/index.php?act=attach&type=post&id=6236''>http://forums.lavag.org/index.php?act=attach&type=post&id=6236'>http://forums.lavag.org/index.php?act=attach&type=post&id=6236
  17. Hi, you only have your buttons connected to the stop terminal of the while loops. If you want to keep continuing until the password is correct use an "AND" Boolean operation with your password equals check to stop the loop.
  18. Hi, to interface Labview and Matlab the easy way you could use the LabVIEW Maths Interface Toolkit (MIT) Otherwise, you can build a dll from your LabVIEW code that you can use in MATLAB. Heres a link on MATLAB interfacing to generic dlls Or vice versa, you could create a MATLAB dll to call in LabVIEW using the external node vi. Have a look at external code interface section of the help files for each program.
  19. I've used MagicISO before and it is pretty good, it is commercial software for Windows that has a command line interface. For UNIX based systems you could just use mount -o loop -t iso9660 <isofilename> <mountpoint>
  20. You could also set the vi property to floating. This will let you do things like minimise, use controls on another vi etc but the window will always be on top.
  21. Hi, I use the parallel port in one of my projects and have had much more success using the "In Port.vi" and "Out Port.vi" to communicate using the parallel port. Using the VISA method to use the parallel port was even more difficult after compiling the executable. Look at the example "Parallel Port Read and Write Loop.vi" in the NI Example Finder, I found it really helpful. Also check that you have grounded pins 11 and 12 (busy and out of paper) and not left them floating.
  22. Hi Sherif The NI Modulation toolkit offers Rayleigh or Rician Distribution fading VIs. Here is an extract from the NI modulation toolkit datasheet: http://forums.lavag.org/index.php?act=attach&type=post&id=6123 Here is an example in MATLAB if you want to look at the algorithm and implement it yourself in LabVIEW, you might even be able use most of it in a math script node.
  23. You must install the latest NI-IMAQ driver that is compatible with LabVIEW v8.2 to use NI-IMAQ for USB If you don't have the NI-IMAQ driver installed you can use you LabVIEW instrument drivers cd or you can download it from here
  24. Here is the example you gave which still uses an array of clusters. I have just changed the event case to use the y co-ordinates from the mouse up event to decide what button was pressed so that the button function and event return works better, you might want to change the event to mouse down though. http://forums.lavag.org/index.php?act=attach&type=post&id=6090
  25. Here's some tips from NI that might be helpful to improve the VI you found: improving VI execution speed Otherwise, it is faster to write the algorithm in something like C, and call the dll in LabVIEW. See this thread
×
×
  • Create New...

Important Information

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