Documentation

Measurement Computing PCI-DAS1002 Analog Input (A/D)

PCI-DAS1002 Analog Input block (not recommended)

Library

Simulink® Real-Time™ Library of Drivers No Longer Recommended for Use

Scaling Input to Output

I/O Module Input

Block Output Data Type

Scaling

Volts

Double

1

Block Parameters

Number of Channels

Enter N, the number of channels to acquire. This board acquires data from channels 1 to N.

  • Enter N as a value between 1 and 16 if Input coupling is Single-ended (16 channels).

  • Enter N as a value between 1 and 8 if Input coupling is Differential (8 channels).

This driver does not allow the selection of individual channels or to mix single-ended and differential inputs.

Number the lines beginning with 1 even if this board manufacturer numbers the lines beginning with 0.

Range vector

From the list, choose either +-10V (-10 volts to +10 volts), +-5V, +-2.5V, +-1.25V, 0-10V, 0-5V, 0-2.5V, or 0-1.25V. This driver does not allow the selection of a different range for each channel.

Input coupling

From the list, select one of the following input modes:

  • Single-ended (16 channels)

  • Differential (8 channels)

Sample time

Enter the base sample time or a multiple of the base sample time (-1 means sample time is inherited).

PCI slot (-1:autosearch)

If only one board of this type is in the target computer, enter -1 to locate the board.

If two or more boards of this type are in the target computer, enter the bus number and the PCI slot number of the board associated with this driver block. Use the format [BusNumber,SlotNumber].

To determine the bus number and the PCI slot number, type:

tg = slrt;
getPCIInfo(tg, 'installed')

Was this topic helpful?