USB-DIO32HS

An OEM version of the USB-DIO32HS is also available:

USB-DIO32HS supports the following features. Unless otherwise indicated, the OEM version supports the same features as the equivalent standard version.

Digital I/O

Configuration

Functions

UL: cbDConfigBit(), cbDConfigPort()

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

Python for Windows: d_config_bit(), d_config_port()

PortNum

AuxPort0 and AuxPort1

PortType

AuxPort

Port I/O

Functions

UL: cbDIn(), cbDInArray(), cbDOut(), cbDOutArray(), cbDInScan(), cbDOutScan()

UL for .NET: DIn(), DInArray(), DOut(), DOutArray(), DInScan(), DOutScan()

Python for Windows: d_in(), d_in_array(), d_out(), d_out_array d_in_scan(), d_out_scan()

Options

BACKGROUND, BLOCKIO, CONTINUOUS, DWORDXFER, EXTCLOCK, EXTTRIGGER, HIGHRESRATE, RETRIGMODE*, SINGLEIO

* RETRIGMODE is not supported by pattern trigger types.

Rate

8 MHz, max

PortNum

AuxPort0 (16 bits, bit-configurable)

AuxPort1 (16 bits, bit-configurable)

DataValue

0 to 65,535 on AuxPort0

0 to 65,535 on AuxPort1

0 to 232 – 1 on AuxPort0 when the DWORDXFER option is used

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 15 on AuxPort0

0 to 15 on AuxPort1

Triggering

Functions

UL: cbSetTrigger()

UL for .NET: SetTrigger()

Python for Windows: set_trigger()

TrigType

Digital triggering: TRIG_POS_EDGE, TRIG_NEG_EDGE, TRIG_HIGH, TRIG_LOW

External digital (TTL) hardware triggering is supported. Set the hardware trigger source with the TRIG input.
Retriggering is supported by digital trigger types. Use the cbSetConfig() BIDITRIGCOUNT and BIDOTRIGCOUNT ConfigItems with RETRIGMODE to set the retrigger count.

Pattern triggering: TRIG_PATTERN_EQ, TRIG_PATTERN_NE, TRIG_PATTERN_ABOVE, TRIG_PATTERN_BELOW

Use the cbSetConfig() BIPATTERNTRIGPORT ConfigItem to set the pattern trigger port to either AUXPORT0 (default) or AUXPORT1.
Use the cbSetTrigger() LowThreshold argument to set the pattern value. The pattern is a number between 0 and 65,535.
Use the cbSetTrigger() HighThreshold argument to set the port mask. Set the value of each bit to 1 to include it in the pattern to detect, or 0 to to exclude it from the pattern.

Retriggering is not supported by pattern trigger types.

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_END_OF_INPUT_SCAN, ON_END_OF_OUTPUT_SCAN

UL for .NET: OnEndOfInputScan, 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)

FPGA Version

Listed as FPGA Version (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

Identifier

UL: cbGetConfigString(), cbSetConfigString()

ConfigItem = BIUSERDEVID

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

Python for Windows: get_config_string(), set_config_string()

config_item = USERDEVID

Pattern trigger port

UL: cbGetConfig(), cbSetConfig()

ConfigItem = BIPATTERNTRIGPORT

UL for .Net: GetPatternTrigPort(), SetPatternTrigPort()

Python for Windows: get_config(), set_config()

config_item = PATTERNTRIGPORT

Python for Windows: get_config(), set_config()

config_item = TEMPSCALE

config_val = TempScale enum

Retrigger count

UL: cbGetConfig(), cbSetConfig()

ConfigItem = BIDITRIGCOUNT, BIDOTRIGCOUNT

Use these ConfigItems when the RETRIGMODE scanOption is enabled.

UL for .Net: GetDiRetrigCount(), SetDiRetrigCount(), GetDoRetrigCount(), SetDoRetrigCount()

Use these methods when MccDaq.ScanOptions.RetrigMode is set.

Python for Windows: get_config(), set_config()

config_item = DITRIGCOUNT, DOTRIGCOUNT

Use these config_items when the RETRIGMODE scan option is enabled.

Hardware version

UL: cbGetConfigString()

ConfigItem = BIDEVVERSION

DevNum = VER_FW_MAIN

DevNum = VER_FPGA

UL for .NET: GetDeviceVersion()

Type = VersionType.FW_MAIN

Type = VersionType.FPGA

Python for Windows: get_config_string()

config_item = DEVVERSION

dev_num = MAIN

dev_num = FPGA