UL for Linux
User library to access and control supported MCC hardware over the Linux platform
|
The E-1608 supports the following UL for Linux capabilities.
Unless otherwise indicated, the OEM version supports the same capabilities as the standard version.
Channels: | 0 to 7 |
Input modes: | AI_DIFFERENTIAL, AI_SINGLE_ENDED |
Ranges: | BIP10VOLTS, BIP5VOLTS, BIP2VOLTS, BIP1VOLTS |
Scan options: | SO_DEFAULTIO, SO_BLOCKIO, SO_CONTINUOUS, SO_EXTCLOCK, SO_EXTTRIGGER |
Scan rates: | 0.01863 to 250,000 S/s |
Trigger types: | TRIG_HIGH, TRIG_LOW, TRIG_POS_EDGE, TRIG_NEG_EDGE |
Functions: | ulAIn(), ulAInScan(), ulAInLoadQueue(), ulAInScanStatus(), ulAInScanStop(), ulAInScanWait(), ulAInSetTrigger() |
Configuration: | none |
Channels: | 0 to 1 |
Ranges: | BIP10VOLTS |
Functions: | ulAOut() |
Configuration: | none |
Ports: | AUXPORT |
Bits: | 0 to 7 |
Functions: | ulDIn(), ulDOut(), ulDBitIn(), ulDBitOut(), ulDConfigPort(), ulDConfigBit(), ulDIOGetConfig() |
Configuration: | Config Item (Get): DIO_CFG_PORT_DIRECTION_MASK |
Counter argument: | 0 |
Functions: | ulCIn(), ulCRead(), ulCLoad(), ulCClear() |
Configuration: | none |
Event types: | DE_ON_DATA_AVAILABLE, DE_ON_END_OF_INPUT_SCAN, DE_ON_INPUT_SCAN_ERROR |
Functions: | ulEnableEvent(), ulDisableEvent() |
Functions: | ulFlashLed(), ulMemRead(), ulMemWrite(), ulDevSetConfig(), ulDevGetConfig(), ulDevGetConfigStr() |
Configuration: | Config Item (Get/Set): DEV_CFG_CONNECTION_CODE Config Item (Get): DEV_CFG_IP_ADDR_STR, DEV_CFG_NET_IFC_STR |
The settings memory map is provided for advanced applications which require device configuration.
Note that default device settings are acceptable for most applications. If you need to change a device setting, however, the preferred method to use is InstaCal.
Address | Value | DefauleValue |
0x000-0x001 | Network options: Bit 0: 0 = DHCP enabled, 1 = DHCP disabled Bit 1: 0 = Auto IP enabled, 1 = Auto IP disabled Bit 2-15: reserved | 0x0000 |
0x002-0x005 | Default IPv4 address | 192.168.0.101 |
0x006-0x009 | Default IPv4 subnet mask | 255.255.255.0 |
0x00A-0x00D | Default IPv4 gateway address | 192.168.0.1 |
0x00E-0x00F | Reserved | |
0x010-0x011 | Reserved | |
0x012-0x015 | Connection code, 4 bytes | 0x00000000 |
0x016 | DOut connection mode. This determines the DOut value when the connection status changes. 0 = no change 1 = apply specified tristate / latch values | 0 |
0x017 | DOut tristate mask for connection / disconnection (bits set to 0 are outputs, bits set to 1 are no change). | 0xFF |
0x018 | Reserved | |
0x019 | DOut latch value when host is connected. | 0x00 |
0x01A | DOut latch value when host is disconnected. | 0x00 |
0x01B | AOut channel 0 connection mode. This determines the AOut value when the connection status changes. 0 = no change 1 = apply specified values to channel 0 | 0 |
0x01C-0x01D | AOut channel 0 value when host is connected. | 32768 |
0x01E-0x01F | AOut channel 0 value when host is disconnected. | 32768 |
0x020 | AOut channel 1 connection mode. This determines the AOut value when the connection status changes. 0 = no change 1 = apply specified values to channel 1 | 0 |
0x021-0x022 | AOut channel 1 value when host is connected. | 32768 |
0x023-0x024 | AOut channel 1 value when host is disconnected. | 32768 |
0x025-0x1FF | Reserved |
Note: The settings do not take effect until after the device is reset or power cycled.
If you are unable to communicate with the device after changing the settings section of memory, refer to the Restoring factory default settings section of the device user's manual.