|
Re: Switch on operator interface to control dashboard
To select which tab is visible using software, do this:
First, find the tab control itself on the block diagram. If you don't see it, you can double-click on the tab control on the front panel to switch to block diagram view with the control highlighted.
Then create a property node that will let you set the value of the tab control. Right-click on the tab control and choose Create>Property Node>Value from the popup menu. Click on a handy spot in the block diagram to place the node. Right-click the newly placed property node and choose Change To Write.
Now you can right-click on the terminal at the left side of the Value and Create>Constant to give you an enumerated constant that will set the tab to whatever value you wish.
You'll probably need to add something to the dashboard data stream so the robot software can select which tab you want. Use a LabVIEW Case structure to turn your selection into the appropriate value to feed to the tab control's Value property.
|