Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

National Instruments PCI-6011E Analog Input (A/D) (formerly PCI-MIO-16XE-50)

PCI-6011E Analog Input block

Library

Simulink® Real-Time™ Library for National Instruments®

Scaling of Input to Output

I/O Module Input

Block Output Data Type

Scaling

Volts

Double

1

Block Parameters

Channel vector

Enter numbers between 1 and 16. This driver allows you to enter channel numbers in arbitrary order.

For example, to use the first, second, and fifth channels, enter

[1,2,5]

Number the channels beginning with 1, even if this board manufacturer starts numbering the channels with 0.

Range vector

Enter a range code for each channel in the channel vector. The range vector must be the same length as the channel vector. This driver allows each channel to be different.

The following table lists the ranges for this driver and the corresponding range codes.

Input Range (V)

Range Code

-10 to +10

-10

-5 to +5

-5

-1 to +1

-1

-0.1 to +0.1

-0.1

0 to +10

10

0 to +5

5

0 to +1

1

0 to +0.1

0.1

For example, if the first channel is -10 volts to +10 volts and the second and fifth channels are 0 volts to +1 volts, enter

[-10,1,1]
Input coupling vector

Enter a coupling code for each channel in the channel vector. The coupling vector must be the same length as the channel vector. This driver allows a different coupling for each channel.

The following table lists the couplings for this driver and the corresponding coupling codes.

Coupling

Coupling Code

Description

RSE

0

Analog input line connected to the positive input of the PGIA. Analog input ground (AIGND) internally connected to the negative input of the PGIA. See the board manual.

NRSE

1

Analog input line connected to the positive input of the PGIA. Analog input sense (AISENSE) connected to the negative input of the PGIA. See the board manual.

DIFF

2

First analog input line connected to the positive input of the PGIA. Second analog input line connected to the negative input of the PGIA. See the board manual.

For example, if the first and second channels are single input and the fifth channel is a differential input, enter

[0,0,2]

The driver selects a second differential input eight channels higher than the first channel. In the example above, the driver would select the thirteenth channel as a differential input with the fifth channel.

If the board is set up for differential mode, you can read the data from either of the channels in the differential pair. For example, if you have a differential pair of 1 and 9, you can read the data from channel 1 or channel 9. However, you might want to read the lower channel number of the pair because it remains unchanged when you switch the input mode between single-ended and differential.

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

See Also

External Websites

Was this topic helpful?