NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Send info to called sequence

Hello,

 

I have a main test sequence which start up to 6 sequences, these sequences are identical and run in parallel.

When calling a sequence(sub.seq), I need to send some info like the serial number and test position to the sub.seq.

 

How can I do this, I was searching for parameters but I did not find examples or I missed them.

 

Included is a example where the main.seq is started, the main will then need to send the serial string to the calling subtest.seq.

 

 

0 Kudos
Message 1 of 6
(4,534 Views)

This is weird.

 

I have a seq where I can add a parameter in the "Module" tab below, and another seq where I don't have a parameter option(both call functions have the same settings).

So how can I add a "Parameter Name"

0 Kudos
Message 2 of 6
(4,527 Views)

Ok I now see that the parameter variable has to be declared in the main and calling sequence.

0 Kudos
Message 3 of 6
(4,525 Views)

Somehow I cannot make the calls generate a seperate report AND feed the serial number to the called sequence.

 

...........................

0 Kudos
Message 4 of 6
(4,518 Views)

Hi.

 

First step to send data to a subsequence you are right you need to use parameters on the subsequence. 

 

There is a good article explaining this process here:

 

http://digital.ni.com/public.nsf/allkb/129785F0AFABB90A8625686E005AE407

 

 

 

For the last issue I'm a bit unsure what you mean. Do you want each of the SubSequences to write an entry to your report? This should be done automatically if you have steps and if not you can use the "Additional Results" property.

 

If you want each subsequence to create it's own report you can find information on how to do that here:

 

https://decibel.ni.com/content/docs/DOC-17882

 

 

 

Best Regards

Anders Rohde

 

0 Kudos
Message 5 of 6
(4,499 Views)

Thank you for your info.

I will look in the link informations.

0 Kudos
Message 6 of 6
(4,402 Views)