set the direction of port according to bit-pattern dir.
port direction bit-pattern:
Peripheral ports PA, PB: 0s specify inputs, 1s specify outputs.
Control ports lines CA1, CB1: 0s specify negative active edge, 1s specifes positive active edge.
Control ports lines CA2, CB2: 0 specify inputs, 1s specify outputs.
So for example, when port is PB and bit-pattern is 0b00001111, lines PB0..PB3 are set to output (1) and lines PB4..PB7 are set to input (0).
To set CB2 to output and CB1 to negative active edge, you use 0b10 (CB1 is at bit-position 0).
See also RB8506 PPORT Get Port Dir.

|
|
handle is a handle to the Parallel Interface. |
|
|
error in (no error) The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
|
code The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
|
port (PA) peripheral port, PA, PB, or control port CA , CB. |
|
|
dir (0) port direction bit-pattern. |
|
|
error out The error out cluster passes error or warning information out of a VI to be used by other VIs. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
|
status The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
|
code The code numeric identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
|
source The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
|
dup handle is a duplicate handle to the Parallel Interface. |
|
|
dup port peripheral port, PA, PB, or control port CA , CB. |
Functions | |
| int | RB8506_PPORT_Set_Port_Dir () |
| dummy C-definition to enable doxygen to generate proper index entry for the click here for more help in LabVIEW. | |
|
|
The VI is mentioned here as a C-function so that the proper index entry is generated for the click here for more help in LabVIEW. |