6. Functions
3. Monitoring the Status and Acquiring Data
You can use a software command to check the status of analog output operation and of the output data
stored in memory.
The current state of the device can be checked by obtaining the device status.
The following types of device status are available:
- Device
operating
The “device operating” status remains ON, after the execution of the sampling start command until
this product completes conversion, aborts operation due to an error, or stops sampling in response to
the command.
-
Waiting for start trigger
This status remains ON, after this product starts sampling until the start trigger is input, if the
conversion start condition is an external trigger or level comparison. The status is set to OFF when
the input trigger is input to start conversion.
-
Specified number of data outputs
This status turns ON when the output data set in memory has reached a predefined number of
samples.
-
Sampling clock error
This error occurs when the sampling clock period is too short.
-
DA conversion error
If the “device operating” status remains ON (without terminating conversion) for an extended
period of time, the driver regards that state as an operation error and sets this status to ON. This
error stops sampling.
Sampling
The number of sampled items of output data transferred from in memory can be obtained by the software
command.
This command can only be used in device buffer mode.
4.Reset
Various states can be reset by executing the following reset commands:
Status
This command resets the sampling clock error status and AD conversion error status.
Memory
This can only be used when the transfer mode is set to device buffer mode.
This command resets the following memory related states.
-
Resets the conversion data in memory.
-
Resets the repeat count to 0.
-
Resets the sampling count to 0 when a stop trigger is input.
-
Resets the status information for the specified data save count.
AIO-160802AY-USB
59
Содержание AIO-160802AY-USB
Страница 1: ...PC HELPER High Resolution Analog I O Terminal for USB2 0 AIO 160802AY USB User s Guide CONTEC CO LTD...
Страница 7: ...vi AIO 160802AY USB...
Страница 43: ...4 Application Development 36 AIO 160802AY USB...
Страница 45: ...5 About C LOGGER 38 AIO 160802AY USB...
Страница 69: ...6 Functions 62 AIO 160802AY USB...