get the direction bit-pattern for port.
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 outputs (1) and lines PB4..PB7 are inputs (0).
A bit-pattern of 0b10 for CB (or CA), indicates that CB2 is an output and CB1 is sensitive to the negative edge (CB1 is at bit-position 0).
See also RB8506 PPORT Set 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. |
|
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. |
|
dir port direction bit-pattern. |
|
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_Get_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. |