ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

VeriStand .NET API Reference

DAQDigitalInput Constructor (String, Boolean, UInt32, UInt32)

Initializes a new instance of DAQDigitalInput with the specified name and configuration.

Namespace: NationalInstruments.VeriStand.SystemDefinitionAPI
Assembly: NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
Visual Basic (Declaration)
Public Sub New ( _
	Name As String, _
	InitialValue As Boolean, _
	DigitalLine As UInteger, _
	PortNumber As UInteger _
)
C#
public DAQDigitalInput(
	string Name,
	bool InitialValue,
	uint DigitalLine,
	uint PortNumber
)
Visual C++
public:
DAQDigitalInput(
	String^ Name, 
	bool InitialValue, 
	unsigned int DigitalLine, 
	unsigned int PortNumber
)

Parameters

Name
Type: System.String
The name of the channel.
InitialValue
Type: System.Boolean
The initial value of the channel.
DigitalLine
Type: System.UInt32
The digital line for the channel.
PortNumber
Type: System.UInt32
The port to which the channel belongs.

See Also