Set up connections for a Multistate push button
Use the
Connections
tab of the Multistate push button Properties
dialog box to set up tags and expressions for the button.To set up tags and expressions for a Multistate push button
- In theGraphics Displayeditor, double-click the button to open itsPropertiesdialog box.
- Click theConnectionstab.
- Assign a tag or expression to these connections:ValueA read-write connection. Assign a tag to this connection. The application writes the value corresponding to the new state to the tag’s data source. If theNext state based onoption (on theGeneraltab) is set to Value connection, the application reads this tag to determine which state to show next.IndicatorA read connection. You can assign a tag or an expression to this connection. The application reads the value of the connection at the data source, and updates the object’s display to reflect the state corresponding to the value.If you assign an expression, the application calculates the value of the expression and updates the object’s display to reflect the state corresponding to the value.If you assign this connection, the button does not show the current state until it receives a response from the Indicator connection. If you do not assign this connection, the button's state corresponds to the value at the Value connection.TIP:To provide visual feedback that the Value connection has been written to the data source, assign different tags to the Value and Indicator connections. Configure the data source to pass the Value connection’s value to the Indicator connection.
Provide Feedback