Starting/Stopping Operation; Monitoring The Status And Acquiring Data - Contec DA16-16L User Manual

High-resolution analog output board for low profile pci
Table of Contents

Advertisement

Event
The event function notifies the application when something occurs on the device.
The following events can be used as required.
-
Compare count match event
This event is triggered when a compare match occurs on the counter.
-
Count overrun event
This event is triggered when a counter overrun occurs.
-
Counter operation error
This event is triggered when a counter operation error causes the counter to stop.

2. Starting/Stopping Operation

Starting and stopping the counter are performed using software commands.
Once the counter has started, it can be stopped at any time by a software command.

3. Monitoring the Status and Acquiring Data

Software commands can be used to monitor the device operating status and read counter data. Status
monitoring and data acquisition can both be performed while the counter is running.
Status
The current state of the device can be checked by obtaining the device status.
The following types of device status are available:
-
Counter operating
The device operating status is ON from the time the operation start command is executed until
operation stops due to a stop command or error.
-
Compare count match
The compare count match status turns ON when a count match occurs after the counter is started.
The status is turned OFF by the status reset command.
-
Overrun
The overrun status turns ON if another count match occurs when the compare count match status
is already ON. The status is turned OFF by the status reset command.
Even if the overrun status turns ON, this does not stop the counter.
-
Counter operation error
Execution of driver processing may not be able to keep up if multiple count match events occur
within a short time period.
In this case, the counter operation error status turns ON and counter operation stops.
Data acquisition
The current count value can be read using a software command.
DA16-16(LPCI)L, DA16-8(LPCI)L
4. Functions
45

Advertisement

Table of Contents
loading

This manual is also suitable for:

Da16-8lDa16-16lpcilDa16-8lpcil

Table of Contents