
For event type 42.49, a windows system event is received.Set the Fn argument to 0 (zero) to disable the event. The return value of the callback will depend on the type of the event. Any I/O device variable that you use will contain either 0 (zero) or bad quality. They also need to be non-blocking.Ĭitect SCADA starts running the function immediately, without reading any data from the I/O devices. Callback functions have no arguments and needs to return an integer. Using callback functions removes the need for polling or checking for events. The callback function is called when the event occurs.

Sets an event callback function for an event type.

Cicode Programming Reference > Cicode Function Categories > Event Functions > OnEvent
