RB8506 PPORT Get Port Dir
[RB8506 PPORT Contents]


Detailed Description

RB8506 PPORT Get Port Dir

RB8506 PPORT Get Port Dir

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.


Connector Pane

RB8506 PPORT Get Port Dir


Controls and Indicators

ci32

handle

is a handle to the Parallel Interface.

cclst

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.

cu16

port (PA)

peripheral port, PA, PB, or control port CA , CB.

iclst

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.

ii32

dir

port direction bit-pattern.

ii32

dup handle

is a duplicate handle to the Parallel Interface.

iu16

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.


Function Documentation

int RB8506_PPORT_Get_Port_Dir  ) 
 

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.


Generated on Wed Oct 13 09:23:13 2004 for Rulbus LabVIEW Library for Microsoft Windows by doxygen 1.3.4