Configures a digital port as input or output.
This method is for use with ports that may be programmed as input or output, such as those on the 82C55 chips and 8536 chips. Refer to the board's hardware User Guide for details of chip operation.
Refer to the Digital Input / Output Hardware topic for additional details on using the UL digital I/O methods.
Member of the MccBoard class.
VB .NET
Public Function DConfigPort(ByVal portType As MccDaq.DigitalPortType, ByVal direction As MccDaq.DigitalPortDirection) As MccDaq.ErrorInfo
C# .NET
public MccDaq.ErrorInfo DConfigPort(MccDaq.DigitalPortType portType, MccDaq.DigitalPortDirection direction)
The specified port must be configurable. For most boards, AuxPort is not configurable; check the board-specific information in the Universal Library User's Guide for details.
MccDaq.DigitalPortDirection.DigitalOut or MccDaq.DigitalPortDirection.DigitalIn configures the entire eight-bit or four-bit port for output or input, respectively.