# PCI-DAS6000 Series

The PCI-DAS6000 Series includes the following hardware:

- PCI-DAS6013, PCI-DAS6014
- PCI-DAS6023, PCI-DAS6025
- PCI-DAS6030, PCI-DAS6031, PCI-DAS6032, PCI-DAS6033, PCI-DAS6034, PCI-DAS6035, PCI-DAS6036
- PCI-DAS6040
- PCI-DAS6052
- PCI-DAS6070, PCI-DAS6071

The PCI-DAS6000 Series support the following UL and UL for .NET features.

## Analog Input

Functions

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

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

Options

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

Packet size is 512 for all PCI-6000 Series in most configurations. The exceptions are shown below.

Device | Aggregate rate | Packet size
PCI-DAS6040 PCI-DAS6070 PCI-DAS6071 | 400 kHz to 800 kHz | 1,024
>800 kHz | 2,048

HighChan

0 to 15 in single-ended mode. 0 to 7 in differential mode.

For the PCI-DAS6031, PCI-DAS6033 and PCI-DAS6071, the following additional argument values are also valid:

16 to 63 in single-ended mode, 8 to 31 in differential mode

Rate

PCI-DAS6030, PCI-DAS6031, PCI-DAS6032, PCI-DAS6033:

Up to 100,000

PCI-DAS6013, PCI-DAS6014, PCI-DAS6023, PCI-DAS6025, PCI-DAS6034, PCI-DAS6035, PCI-DAS6036:

Up to 200,000

PCI-DAS6040:

Single-channel: Up to 500,000

Multi-channel: Up to 250,000

PCI-DAS6052:

Up to 333,000

PCI-DAS6070, PCI-DAS6071:

Up to 1,250,000

Range

PCI-DAS6013*, PCI-DAS6014*, PCI-DAS6023, PCI-DAS6025, PCI-DAS6034*, PCI-DAS6035*, and PCI-DAS6036*:

BIP10VOLTS (±10 volts)
BIP5VOLTS (±5 volts)
BIPPT5VOLTS (±0.5 volts)
BIPPT05VOLTS (±0.05 volts)

* Note: Mixing high gains (BipPt05Volts, BipPt5Volts) with low gains (Bip5Volts, Bip10Volts) within an AInScan() function is not supported.

PCI-DAS6030, PCI-DAS6031, PCI-DAS6032 and PCI-DAS6033:

BIP10VOLTS (±10 volts) | UNI10VOLTS (0 to 10 volts)
BIP5VOLTS (±5 volts) | UNI5VOLTS (0 to 5 volts)
BIP2VOLTS (±2 volts) | UNI2VOLTS (0 to 2 volts)
BIP1VOLTS (±1 volt) | UNI1VOLTS (0 to 1 volt)
BIPPT5VOLTS (±0.5 volts) | UNIPT5VOLTS (0 to 0.5 volts)
BIPPT2VOLTS (±0.2 volts) | UNIPT2VOLTS (0 to 0.2 volts)
BIPPT1VOLTS (±0.1 volts) | UNIPT1VOLTS (0 to 0.1 volts)

PCI-DAS6040, PCI-DAS6052, PCI-DAS6070 and PCI-DA6071:

BIP10VOLTS (±10 volts) | UNI10VOLTS (0 to 10 volts)
BIP5VOLTS (±5 volts) | UNI5VOLTS (0 to 5 volts)
BIP2PT5VOLTS (±2.5 volts) | UNI2VOLTS (0 to 2 volts)
BIP1VOLTS (±1 volt) | UNI1VOLTS (0 to 1 volt)
BIPPT5VOLTS (±0.5 volts) | UNIPT5VOLTS (0 to 0.5 volts)
BIPPT25VOLTS (±0.25 volts) | UNIPT2VOLTS (0 to 0.2 volts)
BIPPT1VOLTS (±0.1 volts) | UNIPT1VOLTS (0 to 0.1 volts)
BIPPT05VOLTS (±0.05 volts)

## Analog Output

PCI-DAS6014, PCI-DAS6025, PCI-DAS6030, PCI-DAS6031, PCI-DAS6035, PCI-DAS6036, PCI-DAS6040, PCI-DAS6052, PCI-DAS6070 and PCI-DAS6071 only.

Functions

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

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

Options

SIMULTANEOUS, BACKGROUND, EXTCLOCK, CONTINUOUS (packet size = 512)

HighChan

0 to 1

Rate

PCI-DAS6014, PCI-DAS6025, PCI-DAS6035, PCI-DAS6036:

10 kHz

PCI-DAS6030, PCI-DAS6031:

100 kHz

PCI-DAS6040:

Single-channel: 1.0 MHz

Multi-channel: 500 kHz

PCI-DAS6052:

333 kHz

PCI-DAS6070, PCI-DAS6071:

1.0 MHz

Range

PCI-DAS6014, PCI-DAS6025, PCI-DAS6035 and PCI-DAS6036:

Ignored - Not programmable; fixed at BIP10VOLTS (±10 volts)

PCI-DAS6030, PCI-DAS6031, PCI-DAS6040, PCI-DAS6052, PCI-DAS6070 and PCI-DAS6071:

BIP10VOLTS (±10 volts)

UNI10VOLTS (0 to 10 volts)

DataValue

0 to 4,095

For the PCI-DAS6014, PCI-DAS6030, PCI-DAS6031, PCI-DAS6036 and PCI-DAS6052, the following additional argument value is 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.)

Pacing

Hardware pacing, external or internal clock supported.

## Digital I/O

Functions

UL: cbDOut(), cbDIn(), cbDBitIn(), cbDBitOut(), cbDConfigBit(), cbDConfigPort()

UL for .NET: DOut(), DIn(), DBitIn(), DBitOut(), DConfigBit(), DConfigPort(), GetDInMask(), GetDOutMask()

PortNum

AUXPORT*

DataValue

0 to 255

BitNum

0 to 7

*AUXPORT is bitwise configurable for these boards, and must be configured using cbDConfigBit()/DConfigBit() or cbDConfigPort()/DConfigPort() before use.

PCI-DAS6025:

The PCI-DAS6025 is designed with the 82C55 chip, and the following additional ports are also available on this board. 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 to 2

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

RegNum

LOADREG1, LOADREG2

## Triggering

Functions

UL: cbSetTrigger()

UL for .NET: SetTrigger()

TrigType

TRIGPOSEDGE, TRIGNEGEDGE, GATEHIGH, GATELOW

For the PCI-DAS6030, PCI-DAS6031, PCI-DAS6032, PCI-DAS6033, PCI-DAS6040, PCI-DAS6052, PCI-DAS6070, and PCI-DAS6071, the following additional argument values are valid:

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

Threshold

PCI-DAS6040, PCI-DAS6070 and PCI-DAS6071:

0 to 255

PCI-DAS6030, PCI-DAS6031, PCI-DAS6032, PCI-DAS6033, PCI-DAS6052:

0 to 4,095

## Event Notification

Functions

UL: cbEnableEvent(), cbDisableEvent()

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

EventType

ON_SCAN_ERROR, ON_PRETRIGGER*, ON_DATA_AVAILABLE, ON_END_OF_INPUT_SCAN, ON_END_OF_OUTPUT_SCAN**

*Note that the EventData for ON_PRETRIGGER events may not be accurate. In general, this value will be below the actual number of pretrigger samples available in the buffer.

**Not supported for PCI-DAS6013, PCI-DAS6023, PCI-DAS6032, PCI-DAS6033 and PCI-DAS6034.

## Hardware Considerations

##### Advanced timing and control configuration

You can access the advanced features provided by the Auxiliary Input/Output and DAQ-Sync interfaces through the board configuration page of InstaCal and the UL functions cbGetSignal() and cbSelectSignal()*, or the UL for .NET methods GetSignal() and SelectSignal()*.

ADC_TB_SRC and DAC_TB_SRC are intended to synchronize the timebase of the analog input and output pacers across two or more boards. Internal calculations of sampling and update rates assume that the external timebase has the same frequency as its internal clock. Adjust sample rates to compensate for differences in clock frequencies.

For example, if the external timebase has a frequency of 10 MHz on a board that has an internal clock frequency of 40 MHz, the scan function samples or updates at a rate of about 1/4 the rate entered. However, while compensating for differences in the external timebase and internal clock frequency, if the rate entered results in an invalid pacer count, the function returns a BADRATE error.

*Although the PCI-DAS6013 and PCI-DAS6014 both support cbSelectSignal/SelectSignal(), these boards do not support DAQ-Sync. Therefore:

- Using the DS_CONNECT option with the Connection argument for the cbSelectSignal() function generates a BADCONNECTION error.
- Using the DsConnector option with the connectionPin parameter for the SelectSignal() method generates a BADCONNECTION error.

##### Pacing analog input

Hardware pacing, external or internal clock supported. The clock edge is selectable through InstaCal and cbSelectSignal()/SelectSignal().

When using EXTCLOCK and BURSTMODE together, do not use the A/D External Pacer to supply the clock. Use the A/D Start Trigger input instead. Since BURSTMODE is actually paced by the internal burst clock, specifying EXTCLOCK when using BURSTMODE is equivalent to specifying EXTTRIGGER.

Except for SINGLEIO transfers, CONTINUOUS mode scans require enough memory for two packets, or 1,024 samples. The packet size is 512 samples.

##### Analog input configuration

- 16-channel boards: The analog input mode may be 8 channel differential, 16 channel single-ended referenced to ground, or 16 channel single-ended non-referenced and may be selected using InstaCal.
- 64-channel boards: The analog input mode may be 32 channel differential, 64 channel single-ended referenced to ground, or 64 channel single-ended non-referenced and may be selected using InstaCal.

##### Triggering and Gating

Digital (TTL) hardware triggering is supported for the entire series. cbSetTrigger()/SetTrigger() is supported for GATEHIGH, GATELOW, TRIGPOSEDGE, TRIGNEGEDGE.

The A/D PACER GATE input is used for gating with GATEHIGH or GATELOW. The A/D START TRIGGER input is used for triggering with TRIGPOSEDGE and TRIGNEGEDGE.

When using cbAPretrig()/APretrig() or cbFilePretrig()/FilePretrig(), use the A/D Stop Trigger input to supply the trigger.

For the PCI-DAS6030, PCI-DAS6031, PCI-DAS6032, PCI-DAS6033, PCI-DAS6040, PCI-DAS6052, PCI-DAS6070 and PCI-DAS6071: Analog hardware triggering and gating are supported. cbSetTrigger()/SetTrigger() is supported for TRIGABOVE, TRIGBELOW, GATENEGHYS, GATEPOSHYS, GATEABOVE, GATEBELOW, GATEINWINDOW, GATEOUTWINDOW.

The analog trigger source may be set via InstaCal as either the ATRIG input (pin #43 on the I/O connector), or as the first channel in the scan (CH# IN). To use the ATRIG input as the trigger source, set the InstaCal Analog input Trig Source to Analog Trigger Pin. To use the first scanned channel as the trigger source, set InstaCal to 1st Chan in the Scan.

Note: When using analog gating features, we strongly recommend setting the ATRIG input as the trigger source.

##### Using the ATRIG input as the trigger input

When the trigger source is set to Analog Trigger Pin, analog thresholds are set relative to the ±10V range.

##### Using the "First Channel in Scan" as the trigger input

When the trigger source is set to 1st Chan in Scan, the range used for the thresholds is the same as the A/D channel. When using analog gating features with 1st Channel in Scan as the trigger source, be careful to only scan a single channel.

##### Calculating analog trigger thresholds

Analog thresholds for the PCI-DAS6030, PCI-DAS6031, PCI-DAS6032, PCI-DAS6033, and PCI-DAS6052 are 12-bit values. For example: a threshold value of 0 equates to –10 volts, while a threshold value of 4,095 equates to +9.9976 volts. Analog thresholds for the PCI-DAS6040, PCI-DAS6070, and PCI-DAS6071 are 8-bit values. For example: a threshold value of 0 equates to –10 volts, while a threshold value of 255 equates to +9.92188 volts.

You need to manually calculate trigger threshold values for these PCI-DAS6000 Series boards. For information on calculating thresholds, refer to the Notes section in the cbSetTrigger()" or SetTrigger() topics in the Universal Library Function Reference.

##### Channel-Gain Queue

When using cbALoadQueue()/ALoadQueue(), up to 8k elements may be loaded into the queue.

For PCI-DAS6013, PCI-DAS6014, PCI-DAS6034, PCI-DAS6035, and PCI-DAS6036: Mixing high gains (BipPt05Volts, BipPt5Volts) with low gains (Bip5Volts, Bip10Volts) within an AInScan() function is not supported.

##### Analog Output

Using cbAOutScan() / AOutScan() in CONTINUOUS mode requires a minimum sample size of two packets. A packet is 512 samples.

##### Digital I/O Configuration

AUXPORT is bitwise configurable for these boards, and must be configured using cbDConfigBit() or cbDConfigPort()/DConfigBit() or DConfigPort() before use.

##### Counters

The source for counters 1 and 2 may be internal 10 MHz, internal 100 kHz, or external, and is selectable using InstaCal.