Closes, or sends a value of 1, to the specified digital block.
Syntax
CloseDigitalPoint[DigitalPoint], [intErrorMode], [bSendMsg]
Properties
The CloseDigitalPoint subroutine syntax has these parts:
Part |
Description |
DigitalPoint |
String. (Optional). The name of the digital block that you want to close. If no block is specified, it closes the digital point associated with the selected object. |
intErrorMode |
Integer. (Optional). The error mode. 1 – Allows the user to handle the error messages. Errors in the subroutines are passed back to the calling routine for handling. 2 – Writes errors to all destinations. No error messages display. Instead, the errors are written to all iFIX destinations, including the Alarm History window destinations using SendOperatorMessage. |
bSendMsg | Boolean. (Optional). If TRUE, the message "value changed byxxx" will be sent to the alarm destinations. If FALSE, the message will be suppressed. |
Remarks
If no block is specified and the selected object does not have an associated digital point, an error message appears informing the user that the write was not successful.