User`s guide
Universal Library User's Guide Counter Boards - USB-4300 Series
171
USB-4300 Series
The USB-4300 Series includes the USB-4301, USB-4302, USB-4303, and USB-4304 devices.
Counter I/O
Counter functions and methods supported
UL: cbC9513Config(), cbC9513Init(), cbCStoreOnInt(), cbCFreqIn(),cbCIn32(),
cbCIn(), cbCLoad32(), cbCLoad()
UL for .NET: C9513Config(), C9513Init(), CStoreOnInt(), CFreqIn(), CIn32(), CIn(),
Cload32(), CLoad()
Counter argument values
CounterNum USB-4301 and USB-4302: 1 through 5
USB-4303 and USB-4304: 1 through 5, and 6 through 10
RegNum USB-4301 and USB-4302: LOADREG1 – 5, HOLDREG1 – 5, ALARM1CHIP1,
ALARM2CHIP1
USB-4303 and USB-4304: LOADREG1 – 10, HOLDREG1 – 10, ALARM1CHIP1,
ALARM2CHIP1, ALARM1CHIP2, ALARM2CHIP2
LoadValue 0 to 65535 (Refer to "16-bit values using a signed integer data type" on page 16 for
information on 16-bit values using unsigned integers.)
ChipNum USB-4301: 1
USB-4302: 1
USB-4303: 1, 2
USB-4304: 1, 2
FOutSource CTRINPUT1 – 5, GATE1 – 5, FREQ1 – 5
These values refer to the sources on a particular 9513 chip, so are limited to the
sources on that particular chip. For example, to set the source to the input for
counter 6, use CTRINPUT1 (the first counter on the second 9513 chip).
CountSource TCPREVCTR, CTRINPUT1 – 5, GATE1 – 5, FREQ1 – 5
These values refer to the sources on a particular 9513 chip, so are limited to the
sources on that particular chip.
For example, to set the source to the input for counter 6, use CTRINPUT1 (the first
counter on the second 9513 chip). Likewise for the TCPREVCTR value: when applied
to the first counter on a chip (for counter 6, the "previous counter" is counter 5 on
that chip (for this example, counter 10).
Digital I/O
Port I/O functions and methods supported
UL: cbDIn(), cbDOut()
UL for .NET: DIn(), DOut()
PortNum AUXPORT*
DataValue 0 to 255
* AUXPORT is not configurable for these boards.
Bit I/O functions and methods supported
UL: cbDBitIn(), cbDBitOut()
UL for .NET: DBitIn(), DBitOut()