NI-DAQmx .NET Framework 4.0 API Reference

Content Type
Programming Language
Current manual
Table of Contents

Device.GetPhysicalChannels Method

Device.GetPhysicalChannels Method

DeviceGetPhysicalChannels Method

Gets an array that contains the names of the physical channels on this device.

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 on this device.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

See Also

Was this information helpful?