xPC Target    

Diamond-MM-32 Analog Input (A/D)

Scaling Input to Output

Hardware Input
Block Output Data Type
Scaling
volts
double
1

Driver Block Parameters

First channel (1..n) -- If you select single-ended from the MUX list, then enter a number between 1 and 32 to select the first channel. If you select differential from the MUX list, then enter a number between 1 and 16 to select the first channel.

Number of Channels (1..n) -- If you select single-ended from the MUX list, then enter a number between 1 and 32 to select the first channel. If you select differential from the MUX list, then enter a number between 1 and 16 to select the first channel. This driver does not allow the selection of individual channels or a different MUX setting for each channel.

Range -- From the list, choose a range code. 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.5
2.5
-1.25 to +1.25
-1
0 to +1.25
1.25
-0.625 to +0.625
-5


MUX -- From the list choose single-ended (32 channels) or differential (16channels). This entry must correspond to the MUX jumpers set 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-32 Diamond-MM-32 Analog Output (D/A)