I would like to run sequence files using the .Net API in C#.
I create an NewExecution object, but when asking for the status using ex.GetStates it directly goes to ExecRunState_Paused.
How can I continue the sequence? Is there an event coming up and it is waiting for an user input which I don't see maybe?
Thanks, Stefan
APIPTSEngine.GetSequenceFileEx(_testSequence, 0, NationalInstruments.TestStand.Interop.API.TypeConflictHandlerTypes.ConflictHandler_Prompt);
//get seq file name and path from C:\InterLab\PTS\config\StartTest.xml
NationalInstruments.TestStand.Interop.API.SequenceFile APIseqFile = APIPTSEngine.GetSequenceFile(_testSequence, 0);
NationalInstruments.TestStand.Interop.API.SequenceFile APIseqFileModel = APIseqFile.GetModelSequenceFile(out sModeldescription);
NationalInstruments.TestStand.Interop.API.ExecutionRunStates currentTestRunStatus;
NationalInstruments.TestStand.Interop.API.ExecutionTerminationStates currentTestTerminationStatus;
ex = APIPTSEngine.NewExecution(APIseqFile, "Single Pass", APIseqFileModel, false, 0,null,null,null);
ex.GetStates(out currentTestRunStatus, out currentTestTerminationStatus);