Skip to Main Content Skip to Search
Product Documentation

UEI PD2-DIO-64 Digital Output - PD2-DIO-64 Digital Output block

Library

xPC Target Library for UEI

Scaling Input to Output

Hardware Output

Block Input Data Type

Scaling

TTL

Double

< 0.5 = TTL low
> 0.5 = TTL high

Block Parameters

Board type

Select the specific board type from the list provided.

Port (first channel of port)

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.

Channel vector

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.

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. 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.

Initial value vector

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.

Sample time

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

PCI Slot (-1:autosearch)

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
  


Related Products & Applications

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