4. Functions
42
AO-1616L-LPE, AO-1608L-LPE
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.
Status
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 the board 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 the board 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.
The status is set to ON whenever the board enters the conversion start wait status even when
repeated operation has been set.
-
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.