To download NI software, including the products shown below, visit ni.com/downloads.
This example demonstrates how to add a status bar control to a TestStand User Interface. The example is based on the Simple User interface which ships with TestStand.
It can be useful to add a status bar to a TestStand User interface to display information about the current state which is visible at all times. You can configure a status bar control in any TestStand User Interface through the following steps:
Once the control is created, you will need to create connections for each pane to a TestStand manager control in order to define the information which will be shown in each pane. In this example, two panes are created to display the progress percentage and progress text, which can be updated from a running sequence file using UI messages. Use the ConnectCaption method to set the text for each pane in the status bar. The example implements this as shown:
Once the connection is established, no further action is needed; the values of the panes will be managed by the manager controls.
TestStand 2016 or compatible
LabVIEW 2016 or compatible
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.