xPC Target | ![]() ![]() |
Scaling Input to Output
Hardware Input |
Block Output Data Type |
Scaling |
volts |
double |
1 |
Driver Block Parameters
Number of channels -- If you entered 16
in the MUX box, then enter a number between 1 and 16 to select the number of single A/D channels used. If you entered 8 in the MUX box, then enter a number between 1 and 8 to select the number of differential A/D channels used. This driver does not allow the selection of individual channels or a different MUX setting for each channel.
Input range -- Enter an input range code for all A/D channels. This driver does not allow the selection of a different range for each channel. The input range is the same for all A/D channels.
The following table is a list of the ranges for this driver and the corresponding range codes.
Input Range (V) |
Range Code |
Input Range (V) |
Range Code |
-10 to +10 |
-10 |
0 to +10 |
10 |
-5 to +5 |
-5 |
0 to +5 |
5 |
-2.5 to + 2.5 |
-2.5 |
0 to +2 |
2 |
-1 to +1 |
-1 |
0 to +1 |
1 |
-0.5 to +0.5 |
-5 |
The gain jumpers on the board have to be in the correct positions for the chosen range.The bipolar jumper on the board has to be in the bipolar position, if a bipolar range is used or in the unipolar position, when a unipolar range is used.
MUX (16/8) -- Enter 16
for single-ended or 8
for differential A/D channels. This entry must correspond to the MUX-switch setting on the board.
Sample time -- Enter the base sample time or a multiple of the base sample time.
Base address -- Enter the base address of the board. This entry must correspond to the DIP-switch settings on the board. For example, if the base address is 300 (hexadecimal), enter
![]() | Diamond-MM | Diamond-MM Analog Output (D/A) | ![]() |