02-21-2023 09:08 AM
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
02-24-2023 04:04 AM
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.
02-24-2023 04:37 AM
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
02-24-2023 05:06 AM
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
02-24-2023 07:01 AM
Concretely, how is step 1 and 3 done? Using which type of step?