LoadDevice(string)
- Updated2026-02-03
- 1 minute(s) read
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
| Name | Type | Description |
|---|---|---|
| deviceName | string | The name of the device. |
Returns
A Device that represents the device.
Exceptions
| Type | Description |
|---|---|
| NationalInstruments.DAQmx.DaqException | The NI-DAQmx driver returned an error. |