LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tab Control using TestStand

I have a VI that is basically one big tab control.  Each of the tabs represents one of fifteen 32-bit registers found in this UUT.  On each of the tab pages, the 32-bits of each register are broken out to provide bit-level control.  Once the desired bits are set, the 32-bits can be sent (write command) to the card to the appropriate register. 
 
I want to call this VI from TestStand, but I'm not sure how to refer to each page (tab).  It would be nice to refer to it by its tab name (or something fairly pneumonic) instead of [0], [1], etc.  Thoughts?
0 Kudos
Message 1 of 2
(2,466 Views)
Hello,

You can using VI server properties acquire the references to all pages of a tab control and of those references the names/labels of those pages.

Put them in an array and do a lookup (search 1D array) and switch to the index if not -1.

The item to lookup can be passed from TestStand using a string input in the VI.

Kind regards,

André
Regards,
André (CLA, CLED)
0 Kudos
Message 2 of 2
(2,458 Views)