# PCI-DAS6402/16, CIO-DAS6402 Series, and PCI-DAS3202/16

The CIO-DAS6402 Series includes the following hardware:

- CIO-DAS6402/12, CIO-DAS6402/16

This topic also includes the PCI-DAS6402/16 and PCI-DAS3202/16.

The PCI-DAS6402/16, CIO-DAS6402 Series, and PCI-DAS3202/16 support the following UL and UL for .NET features.

## Analog Input

Functions

UL: cbAIn(), cbAInScan(), cbATrig(), cbAPretrig(), cbFileAInScan(), cbFilePretrig()

For PCI-Versions, the following function also applies:

cbALoadQueue()

UL for .NET: AIn(), AInScan(), ATrig(), APretrig(), FileAInScan(), FilePretrig()

For PCI-Versions, the following method also applies:

ALoadQueue()

Options

BACKGROUND, CONTINUOUS, EXTCLOCK, CONVERTDATA, SINGLEIO, BLOCKIO*, BURSTMODE, EXTTRIGGER

*Packet size: 512 for both CIO- and PCI- boards.

HighChan

PCI-DAS6402 and CIO-DAS6402:

0 to 63 in single-ended mode, 0 to 31 in differential mode

PCI-DAS3202/16:

0 to 31

Rate

CIO-DAS6402/12:

Up t0 33000 kHz

PCI-DAS3202/16 and PCI-DAS6402/16:

Up to 200000

CIO-DAS6402/16:

Up to 100000

Range

PCI versions, CIO-DAS6402/12:

BIP10VOLTS (±10 volts) | UNI10VOLTS (0 to 10 volts)
BIP5VOLTS (±5 volts) | UNI5VOLTS (0 to 5 volts)
BIP2PT5VOLTS (±2.5 volts) | UNI2PT5VOLTS (0 to 2.5 volts)
BIP1PT25VOLTS (±1.25 volt) | UNI1PT25VOLTS (0 to 1.25 volt)

CIO-DAS6402/16:

Ignored - not programmable; fixed at one of six switch-selectable ranges:

BIP10VOLTS (±10 volts) | UNI10VOLTS (0 to 10 volts)
BIP5VOLTS (±5 volts) | UNI5VOLTS (0 to 5 volts)
BIP2PT5VOLTS (±2.5 volts) | UNI2PT5VOLTS (0 to 2.5 volts)

## Analog Output

Functions

UL: cbAOut(), cbVOut(), cbAOutScan()

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

Options

SIMULTANEOUS

For PCI versions, the following argument values are also valid:

BACKGROUND, EXTCLOCK, CONTINUOUS

HighChan

1 max

Rate

CIO versions: Ignored

PCI versions: Up to 100000

Range

PCI versions, CIO-DAS6402/12:

BIP10VOLTS (±10 volts) | UNI10VOLTS (0 to 10 volts)
BIP5VOLTS (±5 volts) | UNI5VOLTS (0 to 5 volts)

CIO-DAS6402/16:

Ignored - not programmable; fixed at one of six switch-selectable ranges:

BIP10VOLTS (±10 volts) | UNI10VOLTS (0 to 10 volts)
BIP5VOLTS (±5 volts) | UNI5VOLTS (0 to 5 volts)
BIP2PT5VOLTS (±2.5 volts) | UNI2PT5VOLTS (0 to 2.5 volts)

Data Value

0 to 4,095

For PCI-DAS6402/16, PCI-DAS3202/16, CIO-DAS6402/16, the following additional argument values are also valid:

0 to 65,535 (Refer to 16-bit values using a signed integer data type for information on 16-bit values using unsigned integers.)

## Digital I/O

Functions

UL: cbDOut(), cbDIn(), cbDBitIn(), cbDBitOut().

For PCI- Versions, the following additional function is also valid:

cbDConfigPort()

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

For PCI- Versions, the following additional method is also valid:

DConfigPort()

PortNum

AUXPORT*

DataValue

0 to 15

BitNum

0 to 3

*AUXPORT is not configurable for these boards.

PCI versions:

For PCI-versions, the following additional argument values are also valid. 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.

PortNum

FIRSTPORTA, FIRSTPORTB, FIRSTPORTCL, FIRSTPORTCH

DataValue

0-15 for FIRSTPORTCL or FIRSTPORTCH

0 -255 for FIRSTPORTA or FIRSTPORTB

BitNum

0-23 for FIRSTPORTA

## Counter I/O

Functions

UL: cbC8254Config(), cbCIn(), cbCLoad()

UL for .NET: C8254Config(), CIn(), CLoad()

CounterNum

1

Config

HIGHONLASTCOUNT, ONESHOT, RATEGENERATOR, SQUAREWAVE, SOFTWARESTROBE, HARDWARESTROBE

Loadvalue

0 to 65,535 (Refer to 16-bit values using a signed integer data type for information on 16-bit values using unsigned integers.)

## Triggering

Functions

UL: cbSetTrigger()

UL for .NET: SetTrigger()

TrigType

TRIGPOSEDGE, TRIGNEGEDGE, GATEHIGH, GATELOW

For PCI- versions, the following additional argument values are also valid:

TRIGABOVE, TRIGBELOW, GATENEGHYS, GATEPOSHYS, GATEABOVE, GATEBELOW, GATEINWINDOW, GATEOUTWINDOW

Threshold

0 to 4,095

For /16 versions the following argument values are also valid:

0 to 65,535 (Refer to 16-bit values using a signed integer data type for information on 16-bit values using unsigned integers.)

## Event Notification (PCI- version only)

Functions

UL: cbEnableEvent(), cbDisableEvent()

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

Event Types

ON_SCAN_ERROR, ON_PRETRIGGER*, ON_DATA_AVAILABLE, ON_END_OF_INPUT_SCAN, ON_END_OF_OUTPUT_SCAN

## Hardware considerations

##### Pacing Analog input

Hardware pacing, external or internal clock supported.

##### Triggering and gating

Digital (TTL) hardware triggering supported. The PCI version also supports analog hardware triggering. Analog thresholds are set relative to the ±10V range. For example, a threshold of 0 equates to –10 volts (V), and a threshold of 65,535 equates to +9.999695 volts.

When using the cbAPretrig() or cbFilePretrig() functions or the APretrig() or FilePretrig() methods on the PCI-DAS6402/16 or PCI DAS3202/16, use the A/D Stop Trigger In (pin 47) input to supply the trigger.

When using both EXTCLOCK and BURSTMODE on the PCI-DAS6402/16 or PCI-DAS3202/16, use the A/D Start Trigger In (pin 45) input to supply the clock and not the A/D External Pacer (pin 42). Since BURSTMODE is actually paced by the internal burst clock, specifying EXTCLOCK when using BURSTMODE is equivalent to specifying EXTTRIGGER.

When using analog trigger feature, one or both of the DACs are used to set the threshold and are unavailable for other functions. If the trigger function requires a single reference (GATEABOVE, GATEBELOW, TRIGABOVE, TRIGBELOW) then DAC0 is available. If the trigger function requires two references (GATEINWINDOW, GATE OUTWINDOW, GATENEGHYS, GATEPOSHYS), then neither DAC is available for other functions.

Caution! Gating should NOT be used with BURSTMODE scans.

##### Gain queue

When using cbALoadQueue() or ALoadQueue() with the PCI version, up to 8k elements may be loaded into the queue.

##### Pacing analog output

- CIO Version: Software only
- PCI Version: Hardware pacing, external or internal clock supported.

##### Output pin 49 configuration

On the PCI version, pin 49 may be configured as the DAC Pacer Output, SSH Output with hold configured as high level or SSH Output with hold configured as low level. These options are selected via InstaCal.

##### Event Notification

The PCI- version of these boards support concurrent analog input and output scans. That is, these boards allow for operations of analog input functions cbAInScan() and cbAPretrig() or methods AInScan() and APretrig(), and the analog output function cbAOutScan() or method AOutScan() to overlap without having to call cbStopBackground or StopBackground() between the start of input and output scans.