NI-DAQmx .NET Framework 4.5 API Reference

Device.DeviceID Property

  • 已更新2023-02-21
  • 閱讀時間為 1 分鐘
Device.DeviceID Property
Gets the name of the device, as configured in Measurement Automation Explorer (MAX), to which this operation applies.

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

Syntax

public string DeviceID { get; }
Public ReadOnly Property DeviceID As String
	Get

Property Value

Type: String
The name of the device in MAX.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

See Also