DIn32()

Reads a 32-bit digital input port.

Note that for some port types, such as 8255 ports, if the port is configured for DigtalOut, this method will provide readback of the last output value.

Refer to the "Digital Input/Output Hardware" topic for additional details on using the UL digital I/O methods.

Member of the MccBoard class.

Function Prototype

VB .NET

Public Function DIn32(ByVal portType As MccDaq.DigitalPortType, ByRef dataValue As UInteger) As MccDaq.ErrorInfo



Public Function DIn32(ByVal portType As MccDaq.DigitalPortType, ByRef dataValue As Integer) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo DIn32(MccDaq.DigitalPortType portType, out uint dataValue)



public MccDaq.ErrorInfo DIn32(MccDaq.DigitalPortType portType, out int dataValue)

Parameters

portType

Specifies which digital I/O port to read. All portType settings are MccDaq.DigitalPortType enumerated constants.
Some hardware allows readback of the output state using this method; refer to board-specific information in the Universal Library User's Guide.

dataValue

The digital input value.

Returns

Notes