08-22-2019 03:26 AM
Hello,
is there a built-in variable that i can query in the mainsequence if the SeqeunceFileLoad of the seqeuncefile was passed or failed?
Or do i have to create a custom varible?
I testst the RunState-SequenceFailed for True but this variable is not affected by SeqFileLoad.
Thx.
Solved! Go to Solution.
08-22-2019 09:11 AM
I'm curious what is in your SequenceFileLoad that will make the UUT pass or fail? Pass or fail status should be related to whether or not the UUT was good. If you have issues with loading the sequence file it should really throw an error.
What do you want to happen if the file load fails? Maybe if you could give some more insight into your goal with this then I could help provide a better solution. I mean there are a thousand ways this could go here.
08-22-2019 10:20 AM
The SequenceFileLoad contains instruments initialization steps.
In the mainsequence I want to create an "if (SequenceFileLoad.IsFailed) goto End" to not execute the measurement steps if instruments are not ready/powered off.
So i want to skip all UUT tests if SequenceFileLoad was failed.
08-22-2019 11:40 AM
I never thought I'd see a use case for these but you could use temporary global variables. I've attached an example on how this is done. Let me know if you have any questions.
08-23-2019 02:43 AM
Hi jigg,
can you attach the file in TS 2017?
Thx
08-23-2019 12:55 PM
Here it is in 2014