User`s guide

I/O Driver Blocks
4-11
3 In the Input channels box, enter a channel vector that selects the analog
input channels you are using on this board. The vector can be any valid
MATLAB vector form. For example, to select all eight analog input channels
on the AD512 board, enter
[1,2,3,4,5,6,7,8] or [1:8]
If you want to use the first three analog input channels, enter
[1,2,3]
4 From the Input range list, choose the input range for all of the analog input
channels you entered in the Input channels box. For example, with the
AD512 board, choose
-5 to 5 V.
If you want the input range to be different for different analog channels, you
need to add a I/O block for each different input range.
5 From the Block output signal list, choose from the following options:
-
Volts — Returns a value equal to the analog voltage.
-
Normalized unipolar — Returns a full range value of 0 to +1 regardless
of the input voltage range. For example, an analog input range of 0 to +5
volts and -5 to +5 volts would both be converted to 0 to +1.
-
Normalized bipolar — Returns a full range value of -1 to +1 regardless of
the input voltage range.
-
Raw — Returns a value of 0 to 2
n
-1. For example, a 12-bit A/D converter
would return values of 0 to 2
12
-1 (0 to 4095). The advantage of this method
is the returned value is always an integer with no roundoff errors.
If you chose
Volts, your dialog box will look similar to the figure shown.