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 A
because this board only has eight channels.
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-PDISO8 Digital Input | PCI-PDISO16 | ![]() |