UL for Linux
User library to access and control supported MCC hardware over the Linux platform
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
DT9837A, DT9837B, DT9837C

The DT9837 Series includes the following devices:

The DT9837 Series supports the following UL for Linux capabilities. Unless otherwise indicated, OEM versions support the same capabilities as the equivalent standard versions.

Analog Input

Channels:0 to 3
Input modes:AI_SINGLE_ENDED
Ranges:BIP10VOLTS, BIP1VOLTS
Scan options:SO_DEFAULTIO, SO_SINGLEIO, SO_BLOCKIO, SO_CONTINUOUS, SO_EXTCLOCK, SO_EXTTRIGGER, SO_EXTTIMEBASE, SO_TIMEBASEOUT
Scan rates:DT9837A: 195.313 to 52,734 S/s
DT9837B: 195.313 to 105,469 S/s
DT9837C: 195.313 to 105,469 S/s
Trigger types:DT9837A: TRIG_POS_EDGE, TRIG_RISING
DT9837B: TRIG_POS_EDGE, TRIG_RISING
DT9837C: TRIG_POS_EDGE, TRIG_NEG_EDGE, TRIG_RISING, TRIG_FALLING
Functions:ulAIn(), ulAInScan(), ulAInLoadQueue(), ulAInScanStatus(), ulAInScanStop(), ulAInScanWait(), ulAInSetTrigger(), ulAIGetConfig(), ulAISetConfig(), ulAIGetConfigDbl(), ulAISetConfigDbl()
Configuration:Config Item (Get/Set) 1: AI_CFG_CHAN_IEPE_MODE, AI_CFG_CHAN_COUPLING_MODE, AI_CFG_CHAN_SENSOR_SENSITIVITY

1 For additional information, refer to the Using UL for Linux section in Appendix D of the DT9837 Series User's Manual.

Analog Output (DT9837A and DT9837C only)

Channels:0
Ranges:DT9837A: BIP10VOLTS
DT9837C: BIP3VOLTS
Scan options:SO_DEFAULTIO, SO_BLOCKIO, SO_CONTINUOUS, SO_EXTTRIGGER
Scan rates:DT9837A: 10,000 to 52,734 S/s
DT9837C: 10,000 to 96,000 S/s
Trigger types:TRIG_POS_EDGE, TRIG_RISING
Functions:ulAOut(), ulAOutScan(), ulAOutScanStatus(), ulAOutScanStop(), ulAOutScanWait(), ulAOutSetTrigger()
Configuration:none

Counter (DT9837A and DT9837B only)

Counter argument:0 to 2
Scan options:SO_DEFAULTIO, SO_SINGLEIO, SO_BLOCKIO, SO_CONTINUOUS, SO_EXTTRIGGER, SO_EXTTIMEBASE, SO_TIMEBASEOUT
Scan rates:DT9837A: 195.313 to 52,734 S/s
DT9837B: 195.313 to 10,546 S/s
Scan flags:CINSCAN_FF_DEFAULT, CINSCAN_FF_CTR32_BIT, CINSCAN_FF_NOCLEAR
Trigger types:TRIG_POS_EDGE, TRIG_RISING
Counter measurement types:Counter 0 to Counter 2: CMT_COUNT, CMT_PERIOD
Counter 1 and Counter 2 also support CMT_PULSE_WIDTH
Counter measurement modes:CMT_COUNT: CMM_DEFAULT
CMT_PERIOD: CMM_PERIOD_X1
CMT_PULSE_WIDTH: CMM_PULSE_WIDTH_DEFAULT
Functions:ulCInScan(), ulCInSetTrigger(), ulCInScanStatus(), ulCInScanStop(), ulCInScanWait(), ulCtrGetConfig(), ulCtrSetConfig()
Configuration:Config item (Get/Set): CTR_CFG_REG 2

2 For additional information, refer to the Using UL for Linux section in Appendix D of the DT9837 Series User's Manual.

DAQI

Channel types:DT9837A: DAQI_ANALOG_SE, DAQI_CTR32, DAQI_DAC
DT9837B: DAQI_ANALOG_SE, DAQI_CTR32
DT9837C: DAQI_ANALOG_SE
Scan options:SO_DEFAULTIO, SO_SINGLEIO, SO_BLOCKIO, SO_CONTINUOUS, SO_EXTTRIGGER, SO_EXTTIMEBASE, SO_TIMEBASEOUT
Scan rates:DT9837A: 195.313 to 52,734 S/s
DT9837B: 195.313 to 105,469 S/s
DT9837C: 195.313 to 105,469 S/s
Trigger types:DT9837A: TRIG_POS_EDGE, TRIG_RISING
DT9837B: TRIG_POS_EDGE, TRIG_RISING
DT9837C: TRIG_POS_EDGE, TRIG_NEG_EDGE, TRIG_RISING, TRIG_FALLING
Functions:ulDaqInScan(), ulDaqInScanStatus(), ulDaqInScanStop(), ulDaqInScanWait(), ulDaqInSetTrigger()
Configuration:none

Events

Event types:DE_ON_DATA_AVAILABLE, DE_ON_END_OF_INPUT_SCAN, DE_ON_INPUT_SCAN_ERROR, DE_ON_END_OF_OUTPUT_SCAN, DE_ON_OUTPUT_SCAN_ERROR
Functions:ulEnableEvent(), ulDisableEvent()

Device

Functions:ulFlashLed()
Configuration:none