08-05-2008 12:00 PM
08-07-2008
12:49 AM
- last edited on
01-29-2025
06:08 PM
by
Content Cleaner
Hi MrSafe,
As far as your first question, LabVIEW will execute the commands that are in your program as you define them. I am not sure what your VI is doing, since I am missing many subVI that I need to reproduce your program, but if there is an instrument that requires delays to control it, then this has to be taken into consideration when writing the program for it. There is no way that LabVIEW can automatically detect what the parameters of the instrument are unless there are built in functions for it.
For your second question, I believe that you are describing a state machine. State machines allow you to have different sections in your program that you can run in any sequence, or depending on parameters that you choose. Essentially, it is a case structure within a while loop where each peice of code that you want to run is within a different case, or state. There is a tutorial on state machines and how to build them here.
I hope this helps.
Regards,
Stephen S.
08-07-2008
05:29 AM
- last edited on
01-29-2025
06:09 PM
by
Content Cleaner