Configures a specific digital bit for input or output. This method treats all DIO ports of the AuxPort type on a board as a single port; it is not supported by 8255 type DIO ports.
Member of the MccBoard class.
VB .NET
Public Function DConfigBit(ByVal portType As MccDaq.DigitalPortType, ByVal bitNum As Integer, ByVal direction As MccDaq.DigitalPortDirection) As MccDaq.ErrorInfo
C# .NET
public MccDaq.ErrorInfo DConfigBit(MccDaq.DigitalPortType portType, int bitNum, MccDaq.DigitalPortDirection direction)
The port (AuxPort) whose bits are to be configured. The port specified must be bitwise configurable.
bitNum
The bit number to configure as input or output.
MccDaq.DigitalPortDirection.DigitalOut or MccDaq.DigitalPortDirection.DigitalIn configures the specified bit for output or input, respectively.