From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
09-24-2015 09:07 AM
Hi Guys,
I am new to NI Teststand forum, so this my first topic here. The situation is the following:
Currently I am developing a LV operator interface and I need to have a list of all test step in a sequence file.
I am able to list all steps in a sequence, but in the whole sequence file.
Is there any possibilties to do it?
Thanks in advance!
Solved! Go to Solution.
09-24-2015 09:40 AM
This thread should get you on the right track:
Notice the example I posted. Just iterate through the sequences.
Do you need to do it in purely TestStand? Or can it be in LabVIEW?
09-25-2015 12:38 AM
Hello jiggawax!
Firstly thanks for your quick response!
It must not be done only in Teststand, I could be done on LabView also. Actually, my goal is to list all loaded steps, and count all test step types(NumericLimitTest, PassFailTest, StringValueTest), because I have two progress sliders in my OI which shows the actual state of the executions.
I attached a picture of my current code, but unfortunately it only works in one individual sub sequence, with this I am able list all steps in this subsequence but in the whole sequence file.
Thanks!
09-25-2015 04:22 AM - edited 09-25-2015 04:30 AM
Hi Maroci,
first of all, I am also quite new to TestStand, but I still think I can assist you a bit.
Since your code works for one Sequence in the file you only need to iterate through all Sequences in the SequenceFile. Consider something like this:
Does this help you?
Edit: Don not forgt (as i did) to close the SequenceFile Reference!
09-29-2015 06:21 AM
Hi again,
Your method seems to be working for me, but I used not completly the same method. For me, to get all the subsequence reference did not work in LabView, therefore I did it initially in Teststand, I can get all the sequence references with a for loop and send them to the operator interface via PostUIMessageEx method. This way I can list and count all the test steps now.
Thanks you guy for your assistance!