NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Random step in sequences

Hello,

 

In order to complete a test I have to modify in a random way all the variables of a system, for that I use the function "write random value", but it would be necessary that once the variable modified I pass a next step randomly in the list of the steps, somebody would have an idea to solve my problem?

 

Thanks,

Max

0 Kudos
Message 1 of 5
(1,166 Views)

Your requirement is something that you random values to Variables of a system (Generate Random Values) and these random values needs to be passed to Next Consecutive steps.

 

It will be better if you can Make your Sequences in Steps for better understanding.

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 2 of 5
(1,117 Views)

Hello,


Thank you for your answer, after some research on my side I realize that I have to do it in another way to achieve my goals;
So I always want to vary randomly a list of variables, I thought to read by a step Teststand an excel file with the list of variables (put randomly on excel), then with a loop to vary all the variables of this table (for loop that goes from 1 to the end of the table by changing randomly the variable at each loop), is it possible? And if yes, do you have an example of this type of process?

 

Thanks

 

0 Kudos
Message 3 of 5
(1,111 Views)

Yes its Quite possible, Read Values from the files and store the Variables in TestStand Variables (Local Variables)

 

Using For Loop Use this Variables Randomly and execute the step.

 

Step1 :Read From Excel, Store in Local Variable

Step2 :For Loop

Step3 :Execute the Step with Random Value (Local Variable[RandomValue])

Step4 :End

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 4 of 5
(1,101 Views)

Concretely, how is step 1 and 3 done? Using which type of step?

0 Kudos
Message 5 of 5
(1,092 Views)