# USB-230 Series

The USB-230 Series includes the following devices:

- USB-231, USB-231-OEM
- USB-234, USB-234-OEM

The USB-230 Series supports the following features. Unless otherwise indicated, OEM versions support the same features as the equivalent standard versions.

## Analog input

Functions

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

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

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

Options

BACKGROUND, BLOCKIO, CONTINUOUS, EXTTRIGGER, HIGHRESRATE, 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.

Packet size

Rate dependent.

Rate

USB-234: 100 kS/s max, aggregate

USB-231: 50 kS/s max, aggregate

Range

BIP10VOLTS (±10 volts)

Pacing

Hardware pacing, internal clock supported.

## Triggering

Functions

UL: cbSetTrigger()

UL for .NET: SetTrigger()

Python for Windows: set_trigger()

TrigType

TRIGPOSEDGE, TRIGNEGEDGE

External digital (TTL) hardware triggering is supported. Set the external trigger signal with the TRIG input.

## Analog output

Functions

UL: cbAOut(), cbAOutScan()

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

Python for Windows: a_out(), a_out_scan()

Options

BACKGROUND, CONTINUOUS, EXTTRIGGER, HIGHRESRATE, SCALEDATA

Range

BIP10VOLTS (±10 volts)

HighChan

0 to 1

Count

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

Rate

5 kS/s per channel, max; simultaneous update

Packet size

Rate dependent.

## 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 (eight bits, bit-configurable)

DataValue

0 to 255

##### Bit I/O

Functions

UL: cbDBitIn(), cbDBitOut()

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

Python for Windows: d_bit_in(), d_bit_out()

PortType

AuxPort

BitNum

0 to 7 on AuxPort

## Counter I/O

Functions

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()**

*Although cbCIn()/CIn()/c_in() are valid for use with this counter, cbCIn32()/CIn32()/c_in_32() may be more appropriate, since the values returned may be greater than the data types used by cbCIn()/CIn()/c_in() can handle.

**cbCLoad()/cbCLoad32(), CLoad()/CLoad32(), and c_load()/c_load32() only accept Count=0. These functions are used to reset the counter.

CounterNum

0

Count

232 – 1 when reading the counter.

0 when loading the counter.

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

The Basic signed integers guidelines in the Digital Input/Output Hardware topic 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

LOADREG1

## Event notification

Functions

UL: cbEnableEvent(),cbDisableEvent()

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

Python for Windows: enable_event(), disable_event()

Event types

ON_SCAN_ERROR (analog input and analog output), ON_DATA_AVAILABLE, ON_END_OF_INPUT_SCAN, ON_END_OF_OUTPUT_SCAN

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

Input mode

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

Hardware version

Listed as Firmware Version (read only)

#### Programmable API Functions

Input mode

UL: cbGetConfigString()

ConfigItem = BIDEVSERIALNUM

UL for .NET: GetDeviceSerialNum()

Python for Windows: get_config_string()

config_item = DEVSERIALNUM

Input mode

UL: cbAInputMode()

UL for .NET: AInputMode()

Python for Windows: a_input_mode

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