# E-1608

An OEM version of this device is also available:

- E-1608-OEM

The E-1608 supports the following features. Unless otherwise indicated, the OEM version supports the same features as the standard version.

## Analog input

Functions

UL: cbAIn(), cbAInScan(), cbALoadQueue(), cbATrig(), cbFileAInScan()

UL for .NET: AIn(), AInScan(), ALoadQueue(), ATrig(), FileAInScan()

Python for Windows: a_in(), a_in_scan(), a_load_queue(), a_trig()

Options

BACKGROUND, BLOCKIO, CONTINUOUS, EXTCLOCK, EXTTRIGGER, HIGHRESRATE, NOCALIBRATEDATA, SCALEDATA

Mode

Single-ended and differential

HighChan

0 to 7 in single-ended mode

0 to 3 in differential mode

Count

Count must be an integer multiple of the number of channels in the scan.

Rate

250 kS/s max

Range

BIP10VOLTS (±10 volts) | BIP2VOLTS (±2 volts)
BIP5VOLTS (±5 volts) | BIP1VOLTS (±1 volts)

Pacing

Hardware pacing, internal clock supported.

## Triggering

Functions

UL: cbSetTrigger()

UL for .NET: SetTrigger()

Python for Windows: set_trigger()

TrigType

Digital triggering: TRIGPOSEDGE, TRIGNEGEDGE, TRIGHIGH, TRIGLOW

External digital (TTL) hardware triggering supported. Set the hardware trigger source with the TRIG input.

## Analog output

Functions

UL: cbAOut(), cbAOutScan()

UL for .NET: AOut(), AOutScan()

Python for Windows: a_out(), a_out_scan(), v_out()

Range

BIP10VOLTS (±10 Volts)

HighChan

0 to 1

Count

Count must be equal to the number of channels in the scan.

Rate

Ignored

DataValue

0 to 65,535

## Digital I/O

##### Configuration

Functions

UL: cbDConfigBit(), cbDConfigPort()

UL for .NET: DConfigBit(), DConfigPort()

Python for Windows: d_config_bit(), d_config_port()

PortNum

AuxPort

PortType

AuxPort

##### Port I/O

Functions

UL: cbDIn(), cbDOut()

UL for .NET: DIn(), DOut()

Python for Windows: d_in(), d_out()

PortNum

AuxPort

DataValue

0 to 255

##### Bit I/O

Functions

UL: cbDBitIn(), cbDBitOut()

UL for .NET: DBitIn(), DBitOut()

Python for Windows: d_bit_in(), d_bit_out()

PortType

AuxPort

BitNum

0 to 7

## Counter I/O

UL: cbCClear(), cbCIn(), cbCIn32(), cbCLoad(), cbCLoad32()

UL for .NET: CClear(), CIn(), CIn32(), CLoad(), CLoad32()

Python for Windows: c_clear(), c_in(), c_in_32(), c_load(), c_load_32()

Note: Counters on these boards are zero-based (the first counter number is "0").

CounterNum

0

Count

232 when reading the counter.

LoadValue

0 when loading the counter.

cbCLoad() and cbCLoad32()CLoad() and CLoad32() are only used to reset the counter to 0. No other values are valid.

The Visual Basic signed integers guidelines apply when using cbCIn() or CIn() for values greater than 32,767 and when using cbCIn32() or CIn32() for values greater than 2,147,483,647.

RegNum

LOADREG0

## Event Notification

Functions

UL: cbEnableEvent() cbDisableEvent()

UL for .NET: EnableEvent() DisableEvent()

Python for Windows: enable_event(), disable_event()

Event types

UL: ON_DATA_AVAILABLE, ON_END_OF_INPUT_SCAN, ON_SCAN_ERROR

UL for .NET: OnDataAvailable, OnEndOfInputScan, OnScanError

## Miscellaneous

Functions

UL: cbFlashLED()

UL for .NET: FlashLED()

Python for Windows: flash_led()

Causes the LED on a device to blink. When you have several devices connected to the computer, use this function to identify a particular device by making its LED blink.

## Configuration

This hardware supports device detection with the API. Refer to the InstaCal, API Detection, or Both? section for information about whether to use InstaCal or the API to detect and configure hardware.

#### InstaCal

MAC address

Listed as MAC Address (read only)

Factory serial number

Listed as Factory Serial No. (read only)

Identifier

Device Identifier text box

Input mode

Input Mode drop-down combo box for single-ended or differential.

Calibration date

Listed as Calibrated (read only)

Hardware version

Listed as Firmware Version (read only)

Connection code

Listed as Connection Code

Note: Alarm and network settings are stored on the device, and can only be changed through InstaCal (except for the network connection code, which can be changed with the API). Additional information is specified in the Hardware Considerations section below.

#### Programmable API Functions

MAC Address

UL: cbGetConfigString()

ConfigItem = BIDEVMACADDR

UL for .NET: GetDeviceMacAddress()

Python for Windows: get_config_string()

config_item = DEVMACADDR

Factory serial number

UL: cbGetConfigString()

ConfigItem = BIDEVSERIALNUM

UL for .NET: GetDeviceSerialNum()

Python for Windows: get_config_string()

config_item = DEVSERIALNUM

Identifier

UL: cbGetConfigString(), cbSetConfigString()

ConfigItem = BIUSERDEVID

maxConfigLen = up to 64 characters

UL for .Net: GetUserDeviceId(), SetUserDeviceId()

Python for Windows: get_config_string(), set_config_string()

config_item = USERDEVID

max_config_len = up to 64 characters

Input mode

UL: cbAInputMode()

UL for .NET: AInputMode()

Python for Windows: a_input_mode

Connection code

UL: cbGetConfigString(), cbSetConfigString()

ConfigItem = BINETCONNECTIONCODE

UL for .Net: GetNetConnectionCode(), SetNetConnectionCode()

Hardware version

UL: cbGetConfigString()

ConfigItem = BIDEVVERSION

DevNum = VER_FW_MAIN

UL for .NET: GetDeviceVersion()

Type = VersionType.FW_MAIN

Python for Windows: get_config_string()

config_item = DEVVERSION

dev_num = MAIN

dev_num = RADIO

Note: Alarm and network settings are stored on the device, and can only be changed through InstaCal (except for the network connection code, which can be changed with the API). Additional information is specified in the Hardware Considerations section below.

## Hardware Considerations

##### Channel-gain queue

The channel-gain queue is limited to 8 elements. The channel gains may be any valid value. The channels can be listed in any order, and can include duplicate channels for sampling at different ranges.

##### Adding an Ethernet device to InstaCal

To add an Ethernet device to InstaCal, click the Add Board toolbar button and select the ENET tab.

- All devices within the local subnet will be detected and displayed. Select each device that you want to add to the InstaCal configuration file and click Add.
- A device that is not within the local subnet must be manually added to InstaCal: in the Detection type list select Manual, and enter the IP address to use in the broadcast. Click Add to add the device to the InstaCal configuration file. For a remote network also enter the port.

##### Network parameters

Set network parameters with InstaCal on the Network Settings tab of the Board Configuration dialog box. Configuration options are stored in non-volatile memory in EEPROM, and are loaded on power up.

- MAC Address: The unique 64-bit physical (MAC) address assigned to the device. This value cannot be changed.
- Connection Code: A value (between 0 and 999999999) that prevents other users from connecting to the device. The device is visible to other users, but connection by another user is not allowed.

The Current Settings area lists the network parameters currently set for the device:

- Configure IPv4 address: The IP address configuration. Select DHCP or Link Local, Link Local Only, DHCP Local Only, or Static.
- Subnet Mask: The Subnet Mask that is currently stored on the device.
  The Subnet Mask is the part of the IP address that denotes the local Subnet. It is set automatically by default when a DHCP server is available. When manually setting a static IP address, enter the value in the Default Settings area Subnet Mask field.
- Gateway: The Gateway IP address that is currently stored on the device.
  The Gateway parameter is used for communication between devices on different networks. It is set automatically by default when a DHCP server is available. When manually setting a static IP address, enter the value in the Default Settings area Gateway field.

The Default Settings area list the default network parameters for the device. You can change these values when manually configuring the network settings.

- IP4V Address: Enter a static IP address if DHCP is not enabled, or if you want to manually configure a device.
- Subnet Mask: Enter the Subnet Mask value when using a static IP address.
- Gateway: Enter the Gateway value when using a static IP address.

##### Factory default reset

To restore the network configuration settings to the factory default values, disconnect power, press and hold the device reset button, and then reconnect power. Both device LEDs blink once to indicate that default settings have been restored. Release the button after the LEDs blink (approximately four seconds).

##### Using a digital bit as an alarm indicator to determine the connection status

Use the digital output options on the InstaCal Alarm Settings tab to set the state of a digital bit when an Ethernet connection to the host is established or lost.

##### Setting DAC channel values

Use the analog output options on the InstaCal Alarm Settings tab to set the value of one or both DAC channels when an Ethernet connection to the host is established or lost.