NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
FredrikW
Posts: 3
0 Kudos

Dynamically load a sequence file depending on program and revision into Teststand and run it.

When i get the serial no. from a barcode reader, I want to set the correct testprogram (sequence file) in teststand and execute it.
Member
Omar
Posts: 20
0 Kudos

Re: Dynamically load a sequence file depending on program and revision into Teststand and run it.

You can "Specify Expressions for Pathname and Sequence" in a Sequence Call.

Create a Sub Sequence call and in the "Specify Module" check the
Specify Expressions for Pathname and Sequence"

Then you can create just about any expressions for the path name of the sequence to ran based on the serial number scanned.

"c:\\Tests\\" + Str(Locals.SerialNumber) + ".seq"
Member
Nemo
Posts: 145
0 Kudos

Re: Dynamically load a sequence file depending on program and revision into Teststand and run it.

I believe that you want to dynamically deterimine the client sequence file after the PreUUT sequence in the process model has obtained the serial number you have entered.

Another customer has asked a similar questions which has the answer you are looking for. To find it in the Developer Exchange user the Search option to search the TestStand category for "client". The questions was "How to load the sequence file from the process model?" and I believe that aperez provides the best answer.
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page