NI-DAQmx .NET Framework 4.0 API Reference

DaqSystem.LoadDevice Method

  • Updated2023-02-21
  • 1 minute(s) read
DaqSystem.LoadDevice Method
Creates a Device that you can use to control the specified device or get information about that device.

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

Syntax

public Device LoadDevice(
	string deviceName
)
Public Function LoadDevice ( 
	deviceName As String
) As Device

Parameters

deviceName
Type: SystemString
The name of the device.

Return Value

Type: Device
A Device that represents the device.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

Remarks

You can use the Devices property to get a list of devices installed on the system.

See Also

Log in to get a better experience