10-24-2007 09:33 AM
10-24-2007 10:26 AM
10-25-2007 01:51 AM
10-25-2007 10:09 AM
I currently do not have an example that demonstrates this. The best thing to look at would be the Simple OI code here: C:\Program Files\National Instruments\TestStand 4.0\UserInterfaces\User\Simple\LabVIEW
And then to look at the engine method NewExecution in the TS help:
Engine.NewExecution ( sequenceFileParam, sequenceNameParam, processModelParam, breakAtFirstStep, executionTypeMaskParam, [sequenceArgsParam], [editArgsParam], [InteractiveArgsParam])
Creates and returns a new Execution object.
When you call this method, the execution begins immediately.
Sequence editor and user interface programs use this method to run sequences.
Hope that help out,
11-01-2007 08:31 AM - edited 11-01-2007 08:31 AM
Here is the code to load the sequence file. Use the Test UUT's or the single pass of the UI to run it. I had to figure out all of this stuff since I was not able to use either of the OI's supplied by NI.
The two globals are just references to each of the specific ActiveX controls.
Message Edited by Jhoskins on 11-01-2007 09:32 AM