05-12-2019 11:15 PM
Hi All,
Let's say I have N DUTs running tests in parallel, and I have corresponding N String Indicators for each DUT. How can I dynamically update each DUT status to its respective Status Indicator?
I have done something like this:
This way, depending on the DUT ID, it will assign the correct "Status Text" to the Status Indicator by matching Label.Text. I was wondering if there is a better way of doing this?
Best Regards,
Mikejj
05-13-2019 01:16 AM
Hi Mikejj,
a better way of doing this?
- Use a string array to display those status messages and use "DUT ID" as an index into this array. No need for references, loops, property nodes…
- place the "status" indicators inside your case structure and wire "DUT ID" directly to the case selector…
- use a FGV (aka AE) to keep your string references in a key-value-pair table (using Variant attributes). The "DUT ID" will be the key to get the corresponding string reference. Now you only need to search for the string indicator reference once…
05-13-2019 02:23 AM
hi ,
You find the solution in The VI below .
Kudos are welcome .
05-14-2019 01:13 AM
Hi GerdW,
Thanks for the suggestions...looks like I am way over complicating things.
Regards,
Mikejj