Set up connections for a numeric input cursor point
Use the
Connections
tab of the Numeric Input Cursor Point Properties
dialog box to set up tags and expressions for the object.To set up tags and expressions for a numeric input cursor point
- In theGraphics Displayeditor, double-click the cursor point to open itsPropertiesdialog box.
- Click theConnectionstab.
- Assign a tag or expression to these controls:ValueA read-write connection. Assign a tag to this connection. When the operator presses the pop-up's Enter key or ramps a value, the application writes the numeric value to the tag’s data source.If you do not assign the Value connection, at runtime when the operator presses the button, the numeric pop-up does not open.Optional ExpressionAn optional write connection. Assign a write expression to this connection.The application calculates the value of the expression and writes the result to the Value connection. All write expressions must contain a question mark (?) as a placeholder for the value the operator enters at runtime.If the decimal point type is Fixed position, and the "Digits after decimal point" value is not 0, the decimal point is removed from the displayed value and the resulting value is used.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 cursor point does not display the value sent to the Value connection until it receives a response from the Indicator connection. If you do not assign this connection, the cursor point's state corresponds to the value at the Value connection.EnterA write connection. Assign a tag to this connection. This connection accepts values of 0 and 1 only. The connection determines how long theEnterkey press is registered. Use this connection for Enter key handshaking.Enter HandshakeA read connection. You can assign a tag or an expression to this connection. This connection resets the Enter connection, using theHandshake reset typeoption specified on theTimingtab. Use this connection for Enter key handshaking if you want the Enter connection to be reset when a value at the data source changes.If you assign an expression, the application calculates the value of the expression and resets the Enter connection when the expression value meets the conditions of theHandshake reset typeoption.Example: Write expressionsMinimumAn optional read connection. If theUse variable Minimum/Maximumcheck box on theNumerictab is selected, assign a tag or an expression to this connection. If the check box is clear, this connection is not read.The application reads the value of the tag or expression to determine the minimum value the object can write to the data source.MaximumAn optional read connection. If theUse variable Minimum/Maximumcheck box on theNumerictab is selected, assign a tag or an expression to this connection. If the check box is clear, this connection is not read.The application reads the value of the tag or expression to determine the maximum value the object can write to the data source.
Provide Feedback