Device.GetPhysicalChannels Method
- Updated2023-02-21
- 1 minute(s) read
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: StringAn array that contains the names of the requested physical channels on this device.
Exceptions
Exception | Condition |
---|---|
DaqException | The NI-DAQmx driver returned an error. |