# USB-DIO96H and USB-DIO96H/50

The USB-DIO96H and USB-DIO96H/50 support the following features.

Note: The USB-DIO96H was formerly called the USB-1096HFS.

## Digital I/O

Click here to display a table of the port numbers and corresponding bit numbers that are set by the digital I/O functions for hardware designed with the 82C55 chip or 82C55 emulation.

Configuration

Functions

UL: cbDConfigPort()

UL for .NET: DConfigPort()

Python for Windows: d_config_port()

PortNum

FIRSTPORTA, FIRSTPORTB, FIRSTPORTCL, FIRSTPORTCH

SECONDPORTA, SECONDPORTB, SECONDPORTCL, SECONDPORTCH

THIRDPORTA, THIRDPORTB, THIRDPORTCL, THIRDPORTCH

FOURTHPORTA, FOURTHPORTB, FOURTHPORTCL, FOURTHPORTCH

Port I/O

Functions

UL: cbDIn(), cbDOut()

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

Python for Windows: d_in(), d_out()

PortNum

FIRSTPORTA, FIRSTPORTB, FIRSTPORTCL, FIRSTPORTCH

SECONDPORTA, SECONDPORTB, SECONDPORTCL, SECONDPORTCH

THIRDPORTA, THIRDPORTB, THIRDPORTCL, THIRDPORTCH

FOURTHPORTA, FOURTHPORTB, FOURTHPORTCL, FOURTHPORTCH

DataValue

0 to 15 for FIRSTPORTCL, SECONDPORTCL, THIRDPORTCL, FOURTHPORTCL, FIRSTPORTCH, SECONDPORTCH, THIRDPORTCH, FOURTHPORTCH

0 to 255 for FIRSTPORTA, SECONDPORTA, THIRDPORTA, FOURTHPORTA, FIRSTPORTB, SECONDPORTB, THIRDPORTB, FOURTHPORTB

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 95 on FIRSTPORTA

## Counter I/O (USB-DIO96H only)

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(), and 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

1

Count

0 to 232–1 when reading the counter.

The 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.

0 when loading the counter.

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

RegNum

LOADREG1

## Miscellaneous

Functions

UL: cbFlashLED()

UL for .NET: FlashLED()

Python for Windows: flash_led()

Causes the USB LED to blink. When you have several boards connected, use this function to identify a specific board.

## Notes

Refer to the "Digital Input/Output Hardware" topic for additional details on using digital I/O boards with the Universal Library digital I/O functions and methods.