User`s guide
Universal Library User's Guide Analog Input Boards - CIO- and PC104-DAS16
74
Counter I/O
Counter functions and methods supported
UL: cbC8254Config(), cbCIn(), cbCLoad()
UL for .NET: C8254Config(), CIn(), CLoad()
Counter argument values
CounterNum 1 to 3
The CIO-DAS16/M1/16 also supports these argument values:
4 to 6
Config HIGHONLASTCOUNT, ONESHOT, RATEGENERATOR, SQUAREWAVE, SOFTWARESTROBE,
HARDWARESTROBE
LoadValue 0 to 65535 (Refer to "16-bit values using a signed integer data type" on page 16 for
information on 16-bit values using unsigned integers.)
RegNum: LOADREG1, LOADREG2, LOADREG3
For CIO-DAS16/M1/16 the following argument values are also valid
LOADREG4, LOADREG5, LOADREG6
Triggering (CIO-DAS16/M1/16 only)
Trigger functions and methods supported
UL: cbSetTrigger()
UL for .NET: SetTrigger()
Trigger argument values
TrigType TRIGPOSEDGE, TRIGNEGEDGE, GATEHIGH, GATELOW
Threshold 0 to 65535 (Refer to "16-bit values using a signed integer data type" on page 16 for
information on 16-bit values using unsigned integers.)
Hardware considerations
Pacing analog input
Hardware pacing, external or internal clock supported.
The packet size is 512 samples
The DMAIO option cannot be used while using the chan/gain queue on the DAS-330i board.
CIO-DAS16/M1
If you use the timed analog functions with the CIO-DAS16/M1 board to acquire more than 2048 data points,
you may not be able to achieve the full 1 MHz rate. On slow machines, these functions may hang if the scan
rate is fast, generally in the range of 500 to 700 kHz.
Determine the maximum rate by passing in different high rates until the maximum rate is achieved without
hanging the system. If the full 1.0 MHz rate is required, add a MEGA FIFO memory board and specify the
EXTMEMORY option on the call to cbAInScan()or AInScan().
CIO-DAS16/M1/16 also supports counter numbers 4 through 6, with counter 4 being the only independent
user counter.
Triggering and gating
For the CIO-DAS16/M1/16, Digital (TTL) and analog hardware triggering is supported.