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.

cbDConfigPort() port reference cbDIn(), cbDOut() port reference Values cbDBitIn(), cbDBitOut() port reference Bit Number
FIRSTPORTAFIRSTPORTA0-255FIRSTPORTA0 to 7
FIRSTPORTBFIRSTPORTB0-255FIRSTPORTA8 to 15
FIRSTPORTCLFIRSTPORTCL0-15FIRSTPORTA16 to 19
FIRSTPORTCHFIRSTPORTCH0-15FIRSTPORTA20 to 23
    
SECONDPORTASECONDPORTA0-255FIRSTPORTA24 to 31
SECONDPORTBSECONDPORTB0-255FIRSTPORTA32 to 39
SECONDPORTCLSECONDPORTCL0-15FIRSTPORTA40 to 43
SECONDPORTCHSECONDPORTCH0-15FIRSTPORTA44 to 47
    
THIRDPORTATHIRDPORTA0-255FIRSTPORTA48 to 55
THIRDPORTBTHIRDPORTB0-255FIRSTPORTA56 to 63
THIRDPORTCLTHIRDPORTCL0-15FIRSTPORTA64 to 67
THIRDPORTCHTHIRDPORTCH0-15FIRSTPORTA68 to 71
    
FOURTHPORTAFOURTHPORTA0-255FIRSTPORTA72 to 79
FOURTHPORTBFOURTHPORTB0-255FIRSTPORTA80 to 87
FOURTHPORTCLFOURTHPORTCL0-15FIRSTPORTA88 to 91
FOURTHPORTCHFOURTHPORTCH0-15FIRSTPORTA92 to 95

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.