Creates a Device that you can use to control the specified device or get information about that device.

Syntax

Namespace: NationalInstruments.DAQmx

public Device LoadDevice(string deviceName)

Remarks

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

Parameters

NameTypeDescription
deviceNamestring

The name of the device.

Returns

A Device that represents the device.

Exceptions

TypeDescription
NationalInstruments.DAQmx.DaqException

The NI-DAQmx driver returned an error.