xPC Target | ![]() ![]() |
Scaling Input to Output
Hardware Output |
Block Input Data Type |
Scaling |
RELAY |
double |
< 0.5 = relay off > 0.5 = relay on |
Driver Block Parameters
Channel vector -- Enter numbers between 1 and 8 to select the digital output lines to drive. This driver allows the selection of individual digital output lines in any order. The number of elements defines the number of digital lines used.
For example, to use all of the digital outputs, enter
Number the lines beginning with 1 even though the board manufacturer starts numbering the lines with 0.
Port -- From the list choose either A
or B
. The Port parameter defines which port is used for this driver block. Each port has a maximum of 8 digital outputs. More than one output block can be used with the same port, but each output channel can only be controlled by one block at a time.
Sample time -- Enter a base sample time or a multiple of the base sample time.
PCI Slot (-1:autosearch) -- Enter a number between -1 and n. If only one board of this type is physically present in the target PC, enter
If two or more boards of this type are physically present in the target PC, 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
![]() | PCI-PDISO16 Digital Input | PCIM-DAS1602/16 | ![]() |