4. Functions
AI-1604CI2-PCI
53
3. Monitoring the Status and Acquiring Data
Software commands are used to monitor the operation status of the device and to acquire input data
from memory. Status monitoring and data acquisition can be performed even during sampling.
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
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.
The status is set to ON whenever this product enters the conversion start wait status even when
repeated operation has been set.
-
Specified sampling data stored
This status is set to ON when input data stored in memory has reached the amount corresponding to
the preset number of times of sampling.
If the memory format is FIFO, the status is set to OFF when the amount of input data in the memory
falls below the value corresponding to the preset number of times of sampling as data is acquired.
Once the status is set to ON when the memory format is ring, it remains ON until it is reset.
- Overflow
An overflow error occurs when an attempt is made to store input data to memory while it has been
full of input data.
When the memory format is FIFO, this product stops conversion.
When the memory format is ring, this product continues conversion while overwriting existing data
with new one.
-
Sampling clock error
This error occurs when the sampling clock period is too short.
-
AD 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 input data stored in memory can be obtained by the software
command.
Repeat
The current repeat count can be obtained by the software command.
Summary of Contents for AI-1604CI2-PCI
Page 1: ...PC HELPER Isolated Analog Input Board for PCI AI 1604CI2 PCI User s Guide CONTEC CO LTD...
Page 7: ...vi AI 1604CI2 PCI...
Page 15: ...1 Before Using the Product 8 AI 1604CI2 PCI...
Page 41: ...2 Setup 34 AI 1604CI2 PCI...
Page 65: ...4 Functions 58 AI 1604CI2 PCI...
Page 78: ...5 About Software AI 1604CI2 PCI 71 Analog output Digital input and output...