xPC Target | ![]() ![]() |
The PXI-6527 has one chip with 3 ports (A,B,C) for digital input. Each port has a maximum of 8 digital I/O lines. Use a separate driver block for each port.
Scaling of Input to Output
Hardware Input |
Block Input Data Type |
Scaling |
OPTO |
double |
< 0.5 = 0 > 0.5 = 1 |
Driver Block Parameters
Channel vector -- Enter numbers between 1 and 8 to select the digital input lines used with this port. This driver allows the selection of individual digital input lines in any order. The number of elements defines the number of digital lines used.
For example, to use all of the digital inputs for one port, 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
, B
, or C
. The Port parameter defines which port is used for this driver block. Each port has a maximum of 8 digital inputs. In each case, one block is needed for each port.
The documentation for this board from National Instruments labels these ports 0, 1, and 2.
Filter vector -- This is a Boolean vector that selects which input lines to filter. For example, if you enter a Channel vector of [1,3,5]
, and you want to filter all three lines, enter
If you want to filter lines 1 and 5, but not line 3, then enter
If the filter vector is a single element, then it is scaler expanded to the same width as the Channel vector. In the example above, if the Filter vector is [0]
, it is expanded to [0,0,0]
. Likewise, if the Filter vector is [1]
it is expanded to [1,1,1]
.
Filter interval -- Enter the time interval the hardware filter uses to determine a stable pulse. If the input pule is shorter then this interval, it is ignored. There is only one filter interval for all filtered inputs, and if you filter on more than one digital input block for this board, you must enter the same Filter interval for all blocks.
A reasonable value for the Filter interval would be 200 to 300 us.
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
![]() | PXI-6527 | PXI-6527 Digital Output | ![]() |