NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

help:set up simple test sequence, operator selects particular test then teststand links to part of sequence file and performs test

Solved!
Go to solution

Hi,

I am extremely new to TestStand, please see question below and offer advice.

 

I want to set up a simple test sequence.

I want a message to popup on screen that asks the operator which unit of 6(max 10) Units to test(i.e. there are say 6-10 box's to select from).

Then the sequence goes to the particular part of the sequence and performs the test on which ever unit was selected.

What is the best way to do this?

Could i use message popups to do this?and if so what do i need to do link it to the correct part of the sequence file?

 

Do message popups only allow 6 options to select from?

 

Thanks,

 

0 Kudos
Message 1 of 7
(3,843 Views)
Solution
Accepted by topic author LG_LabVIEW

Hi,

 

   You can do using message popup method. You can ask the user which unit want to execute by inserting message in message expression in message popup step settings.Something like below

 

"Enter unit number to execute 

 1.  Unit1

 2.  Unit 2

 .......

 10. Unit 10"

 

then check "Enable response text box" from options tab in step settings.When user enters unit number you can get the user entered value by inserting the below statement in post expression of message popup step settings

 

    Locals.String = Step.Result.Response 

 

    Note : String is a local variable to be defined.

 

Convert that string in to number and send that output to switch expression there by you can use a sequence call step to call sequence whichever to be executed. (I hope your each unit will be seperate sequence file)

 

I hope these resolves your problem. If you don't understand let me know so that I can develop a small example and send it to.

 

Cheers,

krishna 

Message 2 of 7
(3,832 Views)

Hi Krishna,

Can you send on an example, I do intend to have seperate Sequences for each Unit.

 

thanks.

0 Kudos
Message 3 of 7
(3,820 Views)

Hi,

 

    As I promised, I attached an example. please have a look and reply if you have any problems or issues.

 

    Hope this example is clear to you. 🙂

 

Thanks,

krishna 

0 Kudos
Message 4 of 7
(3,800 Views)

Cheers Krishna,

I will study and hopefully get my test sequence working,what version TestStand was it created in.

 

Thanks again.

0 Kudos
Message 5 of 7
(3,797 Views)
i have version 4.1.1.55, can i open the switch example using my current version?
0 Kudos
Message 6 of 7
(3,795 Views)

Hi,

 

   Attached file is created using TS 4.2. I think backward compatability is not possible .

 

Thanks,

krishna

0 Kudos
Message 7 of 7
(3,791 Views)