NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

A quick question about the TestStand 3.0 OI Listbar Control

I am looking for an event (in TS or in LabVIEW) to alert me to when the user has selected a different execution (either actively paused or completed) from the ListBar control that manages the different views in TestStand 3.0 LabVIEW OI. I have found the 'RunState Changed' callback in the documentation, but this only seems to work when executions are paused and won't trigger when TestStand has completed its execution run or if other executions are still running.

The reason I need this event is that I wish to update some custom controls on the front pannel depending on which execution view a user is inspecting at a given moment. Any quick pointers in the right direction would be appreciated. Since TestStand is alr
eady refreshing the view on user-selections from the execution list I'm assuming there must be some behavior I can simply attach to.

Thanks -

Elaine
Cheers,
Elaine R.
www.bloomy.com
0 Kudos
Message 1 of 2
(2,906 Views)
Although the list bar has CursorMoved and CurPageChanged events that it sends when its selection changes, I think that for your case, the best event to use is the ExecutionViewMgr.ExecutionChanged event.
0 Kudos
Message 2 of 2
(2,906 Views)