# USB-2404-60 and USB-2404-10

The USB-2404-60 and USB-2404-10 support the following features:

## Analog input

Functions

UL: cbAIn32(), cbVIn32(), cbAInScan(), cbALoadQueue()*

UL for .NET: AIn32(), VIn32(), AInScan(), ALoadQueue()*

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

*The gain-queue can contain up to four elements of unique channel values. The gain elements are ignored.

Options

BACKGROUND, CONTINUOUS, BLOCKIO, NOCALIBRATEDATA, SCALEDATA

HighChan

0 to 3

Count

When using input scanning, the Count must be an integer multiple of the number of channels in the scan.

Rate

From 1.612 kS/s up to 50 kS/s per channel

Range

USB-2404-60: Ignored - not programmable; fixed at BIP60VOLTS (±60 volts)

USB-2404-10: Ignored - not programmable; fixed at BIP10VOLTS (±10 volts)

## Event Notification

Functions

UL: cbEnableEvent(), cbDisableEvent()

UL for .NET: EnableEvent(), DisableEvent()

Python for Windows: enable_event(), disable_event()

Event types

UL, Python for Windows: ON_DATA_AVAILABLE, ON_END_OF_INPUT_SCAN, ON_SCAN_ERROR

UL for .NET: OnDataAvailable, OnEndOfInputScan, OnScanError

## 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

Factory serial number

Listed as Factory Serial No. (read only)

#### Programmable API Functions

Factory serial number

UL: cbGetConfigString()

ConfigItem = BIDEVSERIALNUM

UL for .NET: GetDeviceSerialNum()

Python for Windows: get_config_string()

config_item = DEVSERIALNUM

## Hardware considerations

##### Scan rate

When scanning at low rates, make sure you account for the granularity of the rate at low speeds by checking the returned rate value.

If you enter a scan rate between 1 kS/s and <1.612 kS/s, the rate is converted to 1.612 kS/s.

##### Retrieving data from the Windows buffer

Since these are high resolution devices, use cbWinBufAlloc32()/WinBufAlloc32Ex()/win_buf_alloc_32() to specify the buffer size when scanning data. To retrieve data from the buffer, call cbWinBufToArray32()/WinBufToArray32()win_buf_to_array_32().