06-03-2014 04:02 AM
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.
06-03-2014 04:47 AM
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"
06-03-2014 04:50 AM
Ok I now see that the parameter variable has to be declared in the main and calling sequence.
06-03-2014 06:56 AM
Somehow I cannot make the calls generate a seperate report AND feed the serial number to the called sequence.
...........................
06-04-2014 03:27 AM
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
06-16-2014 12:19 AM
Thank you for your info.
I will look in the link informations.