Set the device status
SetDeviceStatus( deviceno, status item, new value )
This function returns no value.
deviceno | Device number to set |
status item | The status item to set (see GetDeviceStatus) |
new value | The value to set |
See GetDeviceStatus for possible values for the Status item parameter.
0
SetDeviceStatus(1, DVCSTAT_COMMERR, 0); // reset comm counter to 0 for device #1.