KPCI-1802HC Analog Input block (not recommended)
Simulink® Real-Time™ Library of Drivers No Longer Recommended for Use
Block Output Data Type
Enter numbers between 1 and 64. This driver allows you to enter channel numbers in arbitrary order.
For example, to use the first, second, and fifth channels, enter
Number the channels beginning with 1 even if this board manufacturer starts numbering the channels with 0.
Enter a range code for each of the channels 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 is a list of the ranges for this driver and the corresponding range codes.
Input Range (V)
-10 to +10
-5 to +5
-2.5 to +2.5
-1.25 to +1.25
0 to +10
0 to +5
0 to +2.5
0 to +1.25
For example, if the first channel is -10 to +10 volts and the second and fifth channels are 0 to +5 volts, enter
Enter a coupling code for each of the channels 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 is a list of the couplings for this driver and the corresponding coupling codes.
Analog input line connected to the positive input. Analog input ground (IGND) internally connected to the negative input.
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
The driver selects a second differential input 32 channels higher than the first channel. In the example above, the driver would select the 37th channel as a differential input with the fifth channel.
Enter the base sample time or a multiple of the base sample
-1 means sample time is inherited).
If only one board of this type is in the target computer, enter
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
To determine the bus number and the PCI slot number, type:
tg = slrt; getPCIInfo(tg, 'installed')