01-29-2017 10:43 PM
Hi,
I have quad site setup running in parallel, I want to configure my HSDIO trigger dynamically means for site 0 script trigger0 , site 1 script trigger1 so on.
how to get the site number dynamically?
Best Regards
Manasa M
Solved! Go to Solution.
01-30-2017 02:51 PM
Is it running via TestStand sequence? You could use expression RunState.TestSockets.MyIndex - it'll return order number of test socket, e.g. 0, 1, 2, etc.; and based on it you can assign values of variables.
Or, even do like this (as input expression to define trigger number):
"trigger" & Str(RunState.TestSockets.MyIndex) - it'll return "trigger0", "trigger1", etc.
I didn't work with NI STS, but hopefully, I'm not wrong.
01-31-2017 05:38 AM
Thanks a lot
06-21-2017 05:11 AM
In semiconductor modules function pallet you can find get site numbers options in advanced functions. Whenever a VI is called and ran through test stand. It will return the site numbers of those which are using that VI. Suppose if site 0,1 and 1,2 are operating as two subsystems, Whenever site 0,1 subsystem calls the functions it will give the site numbers as 0,1 and the same happens when other subsystems call