Jump to content

Francois Normandin

Members
  • Posts

    1,209
  • Joined

  • Last visited

  • Days Won

    47

Everything posted by Francois Normandin

  1. QUOTE (jim85 @ Jan 30 2009, 10:07 AM) You might not have a proper GPIB address for your device. I suggest you use VISA to communicate with the generator. You should see any GPIB devices available when you refresh the VISA resource name control. Call the IDN function to make sure the communication is well established. If you don't see it, then you might want to make sure your GPIB card is properly installed, that you can detect the presence of your generator in Measurement Automation Explorer (MAX). If you still can't communicate with your instrument, please come back. Note that you can also use VISA as a mean to communicate with your RS-232 PM341 controller... http://lavag.org/old_files/post-10515-1233338629.vi'>Download File:post-10515-1233338629.vi
  2. QUOTE (ACS @ Jan 29 2009, 11:09 PM) I don't think NI sells it. (My guess is it's reserved for privileged business partnerships.)
  3. Like this perhaps? I'd just found it when I saw your post!!! It's in the Scripting Workbench for those who wonder...
  4. QUOTE (crelf @ Jan 29 2009, 03:47 PM) http://lavag.org/old_files/monthly_01_2009/post-10515-1233264886.png' target="_blank"> EDIT: Now that I read your original post carefully... you have a reference to an existing control. I wonder if it's as easy an shown. I'll check quickly and come back. EDIT 2: OK. I should have checked Ton's VIs. Mine looks like a very rudimentary version of his. I guess if it didn't do it, I'm off too.
  5. QUOTE (jim85 @ Jan 29 2009, 06:46 AM) Hi Jim, GPIB is a communication bus, so the PM341 would need to have a IEEE488 connector and be able to interpret the syntax. From the manual, PM341 uses RS-232 communication protocol. Now, while some instruments have the same command structure for GPIB and RS-232, this one doesn't. (Page 20 of the manual)
  6. QUOTE (NeilA @ Jan 28 2009, 12:39 PM) There are many properties and methods to allow you to control exactly what you're describing. Check out these to start: VI.FrontPanel.Open (Property node) VI.RunVI (Method) And I suggest you command the spawned VI with Queues or Notifiers (to instruct it to close for example...)
  7. QUOTE (Aristos Queue @ Jan 26 2009, 03:41 PM) Verified and it works like a charm. :thumbup: For those who'd like to see it on Jing: http://screencast.com/t/vYupbml89u' rel='nofollow' target="_blank">AQ's Rule of OOPerations # 14: Enum typedefs
  8. QUOTE (Ton @ Jan 26 2009, 03:42 PM) There's a private property "App.Project.Librairies[]" that returns an array of references to all librairies in the current project window. With its name, you can sort it out. However, it won't work in RTE... I don't know of a more direct public method.
  9. The scalar chart can be transformed to a Waveform chart (multiple points) just like XY Graph can accept multiple input types (Cluster of X & Y or t0,dt,Y, etc.). (Sorry I didn't upload code, I have 8.6)
  10. Use the Build Waveform VI from the Waveform Palette.
  11. QUOTE (alfa @ Jan 24 2009, 02:57 AM) When you say "have to focus", you mean "spend a lot of money", don't you? QUOTE (alfa @ Oct 23 2008, 03:05 AM) Prostitution is a proof that 98% are at animal level; each prostitute has a price, that’s why governments spend a lot of money on prostitution.
  12. QUOTE (Tom Bress @ Jan 23 2009, 05:54 PM) That's likely to include many top posters of LAVA, since they know enough about LabVIEW to be dangerous...
  13. QUOTE (jojo_lapin @ Jan 23 2009, 05:34 PM) .vi to .m? It's not like a CAD file that you can just convert shapes to a new format and open in an other program... If that would be the case, you could run LabVIEW code without a license, which you can't.
  14. And maybe adding a button for automatically include this wiki-link... it would definitely save us a lot of time!!!
  15. I'd definitely initialize it from start. If you contemplate having your data run for more than 48 hours, you could implement a "rotate 1D array" solution when you reach your maximum array size. For a 2D array, do it for each column and use the "Replace Array Subset" as you mentioned. It might not be the fastest way to go, but we a 0.1Hz acquisition, your concern is rightfully on memory management and not on execution speed.
  16. QUOTE (Jon Sjöstedt @ Jan 21 2009, 08:22 AM) You will need scripting. I think I saw it once... never used it though.
  17. QUOTE (Manudelavega @ Jan 21 2009, 06:44 AM) I would say that the maximum size of an array can be pretty large. It should be limited by RAM basically. Maximum size of an array is (to be confirmed) U32 resolution (2^32) for each dimensions. So if you get a 2D array, you could have 2^64 elements, that's 18 exaelements (10^18)... and it's way too large for any RAM (so far ), even with the smallest datatype you can find (1-bit boolean). If you want to keep a huge data available, I would advise to save it to a single file location and have your different graph UIs extract the portion you need to display and manage the "zoom" factor. What I mean by that is that when you display a full day of measurements, you surely won't need to put every data points on the graph, you could interleave one every five points or any other ratio you prefer... this will reduce your memory usage dramatically.
  18. I'd vote for NI Labs. Since I'm a lab rat that rarely supports code for people other than myself, I would appreciate this feature to be released in some official format but that's not too much of a problem as it is right now. I strongly sympathize with those out there who'd like to include these features in released products... I guess I would benefit from those enhancements sooner or later.
  19. QUOTE (one734 @ Jan 20 2009, 01:57 PM) Hi One, could you be a little more specific in your question? Do you have an image processing problem (removing speckles) or you'd like some advice on measuring laser beam size? If you upload some code, maybe we can have a better understanding of what you're trying to do and what's bugging you...
  20. Yééééééé! Somehow, I thought it was coming...
  21. QUOTE (jed @ Jan 19 2009, 02:19 PM) Can you? I wouldn't think so... probably results in a Conflict. But as Jim pointed out, if you take the App.ActiveProj instead, you can get it's name directly.
  22. QUOTE (Darren @ Jan 17 2009, 12:10 AM) True, but there is no such private events for a right-click on the Pane, only on a control/indicator. (Anyway, as far as I know...)
  23. QUOTE (Darren @ Jan 17 2009, 12:10 AM) True, but there is no such private events for a right-click on the Pane, only on a control/indicator. (Anyway, as far as I know...)
  24. I would tend to agree that there is no way to tell directly. But this complicated use of events does it: Download File:post-10515-1232163016.vi (LV 8.6)
×
×
  • Create New...

Important Information

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