| Contents | Index |
xPC Target Library for UEI
Hardware Output | Block Input Data Type | Scaling |
|---|---|---|
TTL | Double | < 0.5 = TTL low |
Select the specific board type from the list provided.
From the list, select the first channel of the port. Each port is 16 bits. This value and the Channel vector value appear on the terminal block.
The input and output ports on the PD2-DIO-128i are completely separate. There is no conflict if you use the same port numbers as input and output.
Enter a vector of numbers to specify the output channels. For example, to use the first and third digital output channels, enter
[1 3]
The channel numbers can occur in any order. Number the channels beginning with 0, which is the same as the hardware label.
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. This parameter contains values of 0 or 1. It controls the behavior at model termination. A value of 1 causes the corresponding channel to be reset to the value specified in the initial value vector. A value of 0 causes the channel to remain at the last value attained while the model was running.
The initial value vector contains the initial voltage values for the digital output channels. 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. This parameter contains the initial values (0 or 1) for the output channels. The channels are set to these values between the time the model is downloaded and the time it is started.
Enter the base sample time or a multiple of the base sample time.
If only one board of this type is in the target computer, enter
-1
to automatically 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 [BusNumber, SlotNumber]. To determine the bus number and the PCI slot number, type
getxpcpci

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |