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 Name. From the list, choose either PIA0A, PIA0B, PIA1A or PIA1B to identify the port used with this block of I/O lines.
Sample time -- Enter a base sample time or a multiple of the base sample time.
Base address -- Enter the base address of the board. This entry must corresponds to the DIP-switch settings on the board. For example, if the base address is 300 (hexadecimal), enter
![]() | GESPIA-2A | GESPIA-2A Digital Output | ![]() |