NI-DAQmx .NET Framework 4.0 API Reference

Content Type
Programming Language
Current manual
Table of Contents

DaqSystem.GetPhysicalChannels Method

DaqSystem.GetPhysicalChannels Method

DaqSystemGetPhysicalChannels Method

Gets an array that contains the physical channel names of devices installed in the system.

Namespace:  NationalInstruments.DAQmx
Assembly:  NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.40.49302

Syntax

public string[] GetPhysicalChannels(
	PhysicalChannelTypes physicalChannelTypes,
	PhysicalChannelAccess physicalChannelAccess
)
Public Function GetPhysicalChannels ( 
	physicalChannelTypes As PhysicalChannelTypes,
	physicalChannelAccess As PhysicalChannelAccess
) As String()

Parameters

physicalChannelTypes
Type: NationalInstruments.DAQmxPhysicalChannelTypes
The types of physical channels to include.
physicalChannelAccess
Type: NationalInstruments.DAQmxPhysicalChannelAccess
The access types of physical channels to include.

Return Value

Type: String
An array that contains the names of the requested physical channels in the system.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

See Also

Was this information helpful?