xPC Target    

Diamond Ruby-MM Analog Output (D/A)

Scaling Input to Output

Hardware Output
Block Input Data Type
Scaling
Volts
double
1

Driver Block Parameters

Channel vector -- List the output channels as a vector. Up to 8 different channels can be listed. To specify the first three channels, enter

[1,2,3]

The board comes in two different hardware versions. If the 4-channel version of the hardware is used and the channels 5-8 are listed, the those outputs will not show an error, but the data will be ignored.

Range -- The output range of the board is selected with jumpers on the board. Each group of 4 channels can be jumpered for any of the available ranges. The range you select in the Block Parameters must correspond to the range specified by the jumper settings or you will obtain incorrect results.

Reset vector - The reset vector controls the behavior of the channel at model termination. Enter a scalar or a vector that is the same length as the channel vector. If you specify a scalar value, that setting is used for all channels. If you specify a value of 1, the corresponding channel is reset to the value specified in the initial value vector. If you specify a value of 0, the channel remains at the last value attained while the model was running.

Initial value vector - The initial value vector contains the initial voltage values for the output channels. Enter a scalar or a vector that is the same length as the channel vector. If you specify a scalar value, that value is the initial value for all channels. The channels are set to the initial values between the time the model is downloaded and the time it is started.

Sample time -- Enter the base sample time or a multiple of the base sample time.

Base address -- Enter the base address of the board in hexadecimal (such as 0x300) as selected with the hardware jumpers on the board.


  Ruby-MM Diamond Ruby-MM Digital Input