Toggles the scan status of the specified block.
Syntax
ToggleScan [DataPoint], [intErrorMode], [bSendMsg]
Properties
The ToggleScan subroutine syntax has these parts:
Part |
Description |
DataPoint |
String. (Optional). The name of the database block whose scan status you want to toggle. If you do not specify a name, the scan status of the database block associated with the selected object is toggled. |
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. |