USB-2600 Series

The USB-2600 Series includes the following hardware:

The USB-2600 Series support the following features.

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, BURSTMODE, CONTINUOUS, EXTCLOCK, EXTTRIGGER, HIGHRESRATE, NOCALIBRATEDATA, RETRIGMODE, SCALEDATA, SINGLEIO

Packet size

Rate dependent. The default packet size is 256 samples. At higher rates, the packet size increases by a multiple of 256.

Mode

Single-ended

HighChan

USB-2623 and USB-2627: 0 to 15

USB-2633 and USB-2637: 0 to 63

Count

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

Rate

1 MS/s max

Range

BIP10VOLTS (±10 volts)

Pacing

Hardware pacing, internal and external 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.

For information about how to set up repetitive trigger events, refer to Retriggering in the Hardware Considerations section below.

Analog output (USB-2627 and USB-2637 only)

Functions

UL: cbAOut(), cbAOutScan()

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

Python for Windows: a_out(), a_out_scan()

Options

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

Range

BIP10VOLTS (±10 Volts)

HighChan

0 to 3

Count

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

Rate

1 MS/s max

Packet size

Rate dependent

Pacing

Hardware pacing, internal and external clock supported.

Digital I/O

Configuration

Functions

UL: cbDConfigBit(), cbDConfigPort()

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

Python for Windows: d_config_bit(), d_config_port()

PortNum

FIRSTPORTA, FIRSTPORTB, FIRSTPORTC

PortType

FIRSTPORTA

Port I/O

Functions

UL: cbDIn(), cbDOut()

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

Python for Windows: d_in(), d_out()

PortNum

FIRSTPORTA, FIRSTPORTB, FIRSTPORTC

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

FIRSTPORTA

BitNum

0 to 23

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 to 3

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, LOADREG1, LOADREG2, LOADREG3

Timer

Functions

UL: cbPulseOutStart(), cbPulseOutStop()

UL for .NET: PulseOutStart(), PulseOutStop()

Python for Windows: pulse_out_start(), pulse_out_stop()

TimerNum

0 to 3

Frequency

0.0149 Hz to 32 MHz

DutyCycle

0 to 1, non-inclusive

InitialDelay

0 sec to 67.11 sec

IdleState

IDLE_LOW, IDLE_HIGH

PulseCount

0 to 232 – 1 (Refer to 32-bit values using a signed long data type for information on 32-bit values using unsigned long integers.)

Set to 0 to continuously generate pulses until PulseOutStop() is called.

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

The USB-2627 and USB-2637 also support ON_END_OF_OUTPUT_SCAN/OnEndOfOutputScan.

Miscellaneous

Functions

UL: cbFlashLED()

UL for .NET: FlashLED()

Python for Windows: flash_led()

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

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)

Identifier

Identifier text box

Hardware version

Listed as Firmware Version (read only)

Listed as FPGA Version (read only)

Programmable API Functions

Factory serial number

UL: cbGetConfigString()

ConfigItem = BIDEVSERIALNUM

UL for .NET: GetDeviceSerialNum()

Identifier

UL: cbGetConfigString(), cbSetConfigString()

ConfigItem = BIUSERDEVID

maxConfigLen = up to 64 characters

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

Hardware version

UL: cbGetConfigString()

ConfigItem = BIDEVVERSION

DevNum = VER_FW_MAIN

DevNum = VER_FPGA

UL for .NET: GetDeviceVersion()

Type = VersionType.FW_MAIN

Type = VersionType.FPGA

Hardware Considerations

Channel-gain queue

The channel-gain queue is limited to 64 elements for the USB-2633 and USB-2637, and 16 elements for the USB-2623 and USB-2627. 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.

Retriggering

Use RETRIGMODE with cbAInScan() to set up repetitive trigger events. Use the ConfigItem option BIADTRIGCOUNT with cbSetConfig() to set the A/D trigger count, and the ConfigItem option BIDACTRIGCOUNT to set the D/A trigger count.

When using RETRIGMODE, set the values for the Count argument (cbAInScan()/AInScan()) and the BIADTRIGCOUNT argument (cbSetConfig()/SetAdRetrigCount()) to an integer multiple of the number of channels in the scan. That way, the entire buffer, or the portion of the buffer defined by BIADTRIGCOUNT, will contain updated data.

Output scan restriction

You cannot access cbSetTrigger()/ SetTrigger() or call BIUSERDEVID while an analog output scan is in progress.

Analog output rate

The DAC update rate is not affected by the number of channels in the scan.