# PCI-DAS64/M1/16, PCI-DAS64/M2/16

The PCI-DAS64/M1/16 and PCI-DAS64/M2/16 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

HighChan

0 to 63 in single-ended mode; 0 to 31 in differential mode.

Rate

PCI-DAS64/M2/16:

Single-channel, Single-range:Up to 2000000

Multi-channel, Single-range: Up to 1500000

Channel/Gain Queue: Up to 750000

PCI-DAS64/M1/16:

Single-channel, Single-range: Up to 1000000

Multi-channel, Single-range: Up to 1000000

Channel/Gain Queue: Up to 750000

Range

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)
BIPPT625VOLTS (±0.625 volts)

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

## Analog Output

Functions

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

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

Options

BACKGROUND, CONTINUOUS, EXTCLOCK, SIMULTANEOUS

HighChan

1 max

Count

2

Rate

up to 100000

Range

Ignored - Not programmable; fixed at BIP5VOLTS (±5 volts)

DataValue

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

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

PortNum

FIRSTPORTA, FIRSTPORTB, FIRSTPORTCH, FIRSTPORTCL, AUXPORT*

DataValue

0 to 255 for FIRSTPORTA or FIRSTPORTB
0 to 15 for FIRSTPORTCL or FIRSTPORTCH or AUXPORT*

BitNum

0 to 23 for FIRSTPORTA
0 to 3 for AUXPORT*

*AUXPORT is not configurable for these boards.

## 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, TRIGABOVE, TRIGBELOW, GATEHIGH, GATELOW, GATENEGHYS, GATEPOSHYS, GATEABOVE, GATEBELOW, GATEINWINDOW, GATEOUTWINDOW

Threshold

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

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

## Hardware Considerations

##### Pacing analog input

- Hardware pacing, external or internal clock supported.
- The clock edge used to trigger acquisition for the external pacer may be rising or falling and is selectable using InstaCal.
- The packet size is 512 samples.

##### Options

Except for SINGLEIO transfers, CONTINUOUS mode scans require enough memory for half FIFO of memory.

##### Analog Input configuration

The analog input mode may be 32 channel differential or 64 channel single-ended and may be selected using InstaCal.

##### Triggering and gating

Digital (TTL) hardware triggering supported. Use the A/D Start Trigger Input (pin 55) for triggering and gating with cbAInScan() and cbFileAInScan() / AInScan() and FileAInScan(). Use the A/D Stop Trigger Input (pin 54) for cbAPretrig() and cbFilePretrig() / APretrig() and FilePretrig().

Analog hardware triggering and gating are supported. cbSetTrigger() / SetTrigger() are supported for TRIGABOVE, TRIGBELOW, GATENEGHYS, GATEPOSHYS, GATEABOVE, GATEBELOW, GATEINWINDOW, GATEOUTWINDOW. Use the Analog Trigger Input (pin 56) for analog triggering. Analog thresholds are set relative to the ±5V range. For example: a threshold of 0 equates to –5 volts, a threshold of 65,535 equates to +4.999847 volts.

When running BURSTMODE scans with the EXTCLOCK option for cbAInScan() / AInScan(), connect the clock source to the A/D Start Trigger Input (pin 55). Since the trigger input is used as the clock signal, the EXTTRIGGER option cannot be combined with EXTCLOCK BURSTMODE scans. Since BURSTMODE is actually paced by the internal burst clock, specifying EXTCLOCK when using BURSTMODE is equivalent to specifying EXTTRIGGER.

When using the 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.

##### Pacing analog output

Hardware pacing, external or internal clock supported.

The clock edge used to trigger analog output updates for the external pacer may be rising or falling and is selectable using InstaCal.

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.

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

##### Output pin 59 configuration

Pin 59 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