6. Functions
44
AIO-160802GY-USB, AI-1608GY-USB
Event
”Event” works as a function for reporting the occurrence of a certain product state to the application.
The following events can be used in combination depending on the specifications and purpose of the
application.
- “AD conversion start condition satisfied” event
This event occurs when the AD conversion start condition is satisfied. The event is nullified when
the conversion start condition is “software”.
- Device operation stop event
This event occurs upon the completion of all the operation.
- “Stored specified sampling times” event
This event occurs when sampling has been performed for the number of times set by software.
This event can only be used in device buffer mode.
- Overflow event
This event occurs at an attempt to store input data with the memory full.
- Sampling clock error event
This event occurs when conversion stops as an error occurs due to a sampling clock period that is
too short.
- AD conversion error event
This event occurs when conversion stops due to an AD conversion error.
2. Starting/Stopping Operation
Sampling is started by the software command.
Once started, sampling can be stopped by the software command at any timing.
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.