VeriStand .NET API Reference

DAQDevice.PopulateDevice Method (UInt32, UInt32, UInt32, UInt32, UInt32)

Removes all existing channels from the DAQ device and repopulates the device with the specified channels.

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 PopulateDevice ( _
	NumAIChannels As UInteger, _
	NumAOChannels As UInteger, _
	NumDIChannels As UInteger, _
	NumDOChannels As UInteger, _
	PortWidth As UInteger _
)
C#
public void PopulateDevice(
	uint NumAIChannels,
	uint NumAOChannels,
	uint NumDIChannels,
	uint NumDOChannels,
	uint PortWidth
)
Visual C++
public:
void PopulateDevice(
	unsigned int NumAIChannels, 
	unsigned int NumAOChannels, 
	unsigned int NumDIChannels, 
	unsigned int NumDOChannels, 
	unsigned int PortWidth
)

Parameters

NumAIChannels
Type: System.UInt32
The number of analog input channels.
NumAOChannels
Type: System.UInt32
The number of analog output channels.
NumDIChannels
Type: System.UInt32
The number of digital input channels.
NumDOChannels
Type: System.UInt32
The number of digital output channels.
PortWidth
Type: System.UInt32
The total number of lines per port.

See Also

Log in to get a better experience