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
USB-2416, USB-2416-4AO

The USB-2416 Series includes the following devices:

The USB-2416 Series supports the following UL for Linux capabilities.

Analog Input

Channels:0 to 31 (0 to 63 if the AI-EXP32 is attached).
Input modes:AI_DIFFERENTIAL, AI_SINGLE_ENDED
Ranges:BIP20VOLTS, BIP10VOLTS, BIP5VOLTS, BIP2PT5VOLTS, BIP1PT25VOLTS, BIPPT625VOLTS, BIPPT312VOLTS, BIPPT156VOLTS, BIPPT078VOLTS
Scan options:SO_DEFAULTIO, SO_SINGLEIO, SO_BLOCKIO, SO_CONTINUOUS
Scan rates:0.000011 to 1102.9411 S/s
Functions:ulAIn(), ulAInScan(), ulAInLoadQueue(), ulAInScanStatus(), ulAInScanStop(), ulAInScanWait(), ulAInSetTrigger(), ulTIn(), ulAISetConfig(), ulAIGetConfig(), ulAISetConfigDbl(), ulAIGetConfigDbl()
Configuration:Config Item (Get/Set): AI_CFG_CHAN_TYPE, AI_CFG_CHAN_TC_TYPE, AI_CFG_CHAN_DATA_RATE, AI_CFG_CHAN_OTD_MODE, AI_CFG_SCAN_TEMP_UNIT

Analog Output

Channels:0 to 3
Ranges:BIP10VOLTS
Scan options:SO_DEFAULTIO,SO_BLOCKIO, SO_CONTINUOUS
Scan rates:0.000011 to 1,000
Functions:ulAOut(), ulAOutArray(), ulAOutScan(), ulAOutScanStatus(), ulAOutScanStop(), ulAOutScanWait()
Configuration:none

Digital I/O

Ports:AUXPORT0 (AUXPORT0, AUXPORT1, AUXPORT2 if the AI-EXP32 is attached).
Bits:AUXPORT0: 0 to 7
AUXPORT1: 0 to 7 (terminals 8 to 15 on the AI-EXP32)
AUXPORT2: 0 to 7 (terminals 16 to 23 on the AI-EXP32)
Functions:ulDIn(), ulDOut(), ulDBitIn(), ulDBitOut()
Configuration:none

Counter

Counter argument:0 to 1
Functions:ulCIn(), ulCRead(), ulCLoad(), ulCClear()
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(), ulDevGetConfig()
Configuration:Config Item (Get): DEV_CFG_HAS_EXP