NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Teststand: Get SeqCallName parameter of NI_Wait step from LabView

Solved!
Go to solution

Hi community!
Please help with the following:
I created a teststand sequence in which I call another sequence as a new thread, and then put a Wait Step that waits for the thread to run. At the Wait Step (NI_Wait) 'Wait for': Thread and select 'Specify by Sequence Call' as appropriate.
In the Wait Step, I would like to receive the parameters of the Wait Step in the LabView VI called from the SequencieFilePostStep callback: SeqCallName, SpecifyBySeqCall... As a result, the received string was not empty, but it did not contain the correct value! I tried using 'GetSubProperties' instead of 'GetValString' in the PropertyObject, but that didn't work either. Attached is the (bad) example VI.
What is the solution?
Thanks in advance for your help!

0 Kudos
Message 1 of 5
(374 Views)

Hi Laciba,

 

Could you share the sequence file as well?

CLA
0 Kudos
Message 2 of 5
(352 Views)

It seems to work for me, I got the expected output in the LabVIEW VI, ID#:eBLlLNpj7xGAYtxxlpkoHD

UnholyPenguin_0-1724699614463.png

 

 

CLA
0 Kudos
Message 3 of 5
(344 Views)

Hi UnholyPenguin!

 

Thanks for the quick reply!

 

Based on your sequence, the name of the sequence call step is: "SequenceCall" and not "ID#........"

 

I'm looking for the step name "SequenceCall" in the NI_Wait parameters or the "ID#...." string in the sequence call step parameters!
My goal is to be able to assign the Sequence Call and NI_Wait to each other!!

 

 

 

 

 

 

 

0 Kudos
Message 4 of 5
(321 Views)
Solution
Accepted by topic author Laciba

In the meantime, I found the solution:

 

SequencyCall Step.UniqueStepId == Ni_Wait Step SubProperty SeqCallName

 

so SequencyCall and Ni_Wait can now be connected!

 

Thank you very much for your support!

Message 5 of 5
(315 Views)