07-23-2008 09:55 AM
07-23-2008 10:03 AM
Hi,
If you are using labview then you can run a step using the LabVIEW Utility step 'Run VI Asynchronously'.
see Reference Manual Appendix E.
Regards
Ray Farmer
07-23-2008 10:18 AM
07-23-2008 04:16 PM
Hi,
A quick look at the code behind the Run VI Asychronously, it looks like its dynamically creating a Sequence and placing the LabVIEW to run in it.
If this is the case, then you might as well start of with you VI(s) in a Sequence contained in a SequenceFile and Specify the SequenceCall to run in a New Thread at edit time. This is easy to do, also it does allow you to call a sequence of steps rather than just one VI. It just depends on whether you want to call a series of simple LabVIEW steps or one complicated VI.
The Static version (calling a SequenceCall step) does seems to have less overhead at runtime.
Regards
Ray Farmer