Data Acquisition Toolbox    

Starting and Stopping a Digital I/O Object

You use the start function to start a digital I/O object. For example, to start the digital I/O object dio

After start is issued, the Running property is automatically set to On, and timer events can be generated. If you attempt to start a digital I/O object that does not contain any lines or that is already running, then an error is returned.

A digital I/O object will stop executing under these conditions:

When the device object stops, Running is automatically set to Off.


 Timer Events Example: Generating Timer Events