xPC Target | ![]() ![]() |
Use a separate diver block for each port. By selecting the digital input driver block, the port is configured as input.
Scaling Input to Output
Hardware Input |
Block Output Data Type |
Scaling |
TTL |
double |
TTL low = 0.0 TTL high = 1.0 |
Driver Block Parameters
Number of Channels -- Enter a number between 1 and 8 to select the number of digital input lines used with this port.
Port Number (1-4) -- Enter a number from 1 to 4 to identify the port used with this block of digital input lines.
Sample time -- Enter a base sample time or a multiple of the base sample time.
Module Number (0-3) -- Enter a number from 0 to 3 to identify the connector on the carrier board where the I/O module is inserted. This driver verifies if the module is placed on the specified module connector.
Base Address or Carrier Board (ie: 0xd000) -- Enter the base address of the board. This entry must correspond to the DIP-switch settings on the board. For example, if the base address is 300 (hexadecimal), enter
![]() | PCI-20041C | PCI-20041C Digital Output | ![]() |