Skip to Main Content Skip to Search
Product Documentation

Contec AD12-16U(PCI)E Analog Input (A/D) - AD12-16U(PCI)E Analog Input block

Library

xPC Target Library for Contec

Scaling Input to Output

Hardware Input

Block Output Data Type

Scaling

Volts

Double

1

Block Parameters

Channel vector

Enter a vector of numbers to specify the input channels. For example, to use the first three analog input (A/D) channels, enter

[1, 2, 3]

The channel numbers can occur in any order. Number them beginning with 1 even if the board manufacturer numbers them beginning with 0. The maximum allowable channel number for this board is 8 (differential-ended) or 16 (single-ended).

Range

From the list, select Bipolar -2.5V to +2.5V, Bipolar -5V to +5V, Unipolar 0V to +5V, or Unipolar 0V to +10V. This range applies to all channels.

Sample time

Enter the base sample time or a multiple of the base sample time.

PCI Slot (-1:autosearch)

If only one board of this type is in the target PC, enter

-1 

to automatically locate the board.

If two or more boards of this type are in the target PC, 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

getxpcpci

Note that the Device ID of this board is 8103.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS