-
Posts
1,209 -
Joined
-
Last visited
-
Days Won
47
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by Francois Normandin
-
controlling stepper motor through PM341 controller via GPIB cable
Francois Normandin replied to jim85's topic in Hardware
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 -
How do I get to properties and methods of block diagram objects?
Francois Normandin replied to ACS's topic in VI Scripting
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.) -
How do I get to properties and methods of block diagram objects?
Francois Normandin replied to ACS's topic in VI Scripting
Don't tell anyone. :ninja: -
How do I programmatically save a control?
Francois Normandin replied to crelf's topic in VI Scripting
Like this perhaps? I'd just found it when I saw your post!!! It's in the Scripting Workbench for those who wonder... -
How do I programmatically save a control?
Francois Normandin replied to crelf's topic in VI Scripting
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. -
controlling stepper motor through PM341 controller via GPIB cable
Francois Normandin replied to jim85's topic in Hardware
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) -
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...)
-
Dynamic Selection of Control/Typedef
Francois Normandin replied to ejensen's topic in LabVIEW General
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 -
Open a library by name
Francois Normandin replied to LAVA 1.0 Content's topic in Development Environment (IDE)
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. -
Export Data of Waveform Chart
Francois Normandin replied to professor_rumsdiegeige's topic in Hardware
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) -
Export Data of Waveform Chart
Francois Normandin replied to professor_rumsdiegeige's topic in Hardware
Use the Build Waveform VI from the Waveform Palette. -
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.
-
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...
-
Convertion between Labview and Matlab
Francois Normandin replied to jojo_lapin's topic in Calling External Code
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. -
And maybe adding a button for automatically include this wiki-link... it would definitely save us a lot of time!!!
-
Buffer maximum advised size - memory issue
Francois Normandin replied to eberaud's topic in Application Design & Architecture
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. -
QUOTE (Jon Sjöstedt @ Jan 21 2009, 08:22 AM) You will need scripting. I think I saw it once... never used it though.
-
Buffer maximum advised size - memory issue
Francois Normandin replied to eberaud's topic in Application Design & Architecture
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. -
Getting LabVIEW Scripting out of the shadows
Francois Normandin replied to crelf's topic in VI Scripting
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. -
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...
-
LAVA CR on the VI Package Network
Francois Normandin replied to Michael Aivaliotis's topic in Site News
Yééééééé! Somehow, I thought it was coming... -
Menu Launch vi and projects
Francois Normandin replied to jed's topic in Development Environment (IDE)
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. -
Discarding Run-time Shortcut Menu
Francois Normandin replied to PJM_labview's topic in Application Design & Architecture
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...) -
Discarding Run-time Shortcut Menu
Francois Normandin replied to PJM_labview's topic in Application Design & Architecture
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...) -
Discarding Run-time Shortcut Menu
Francois Normandin replied to PJM_labview's topic in Application Design & Architecture
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)