Device Methods
- Updated2023-02-21
- 4 minute(s) read
The Device type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| ChangeExternalCalibrationPassword | Changes the external calibration password of the device. | |
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
| DeleteNetworkDevice | Deletes a Network DAQ device previously added to the host. | |
| Dispose | Releases all resources used by Device. | |
| Dispose(Boolean) |
Releases the managed and unmanaged resources used by Device or optionally releases only the unmanaged resources.
| |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| GetPhysicalChannels | Gets an array that contains the names of the physical channels on this device. | |
| GetPossibleSCExpressCalibrationAccessoryConnections |
Gets the available connections on an SC Express accessory for the specified physical channel(s).
| |
| GetTerminals | Gets an array that contains the names of the terminals on this device. | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
| ReserveNetworkDevice | Reserves the Network DAQ device for the current host. Reservation is required to run NI-DAQmx tasks, and the device must be added in MAX before it can be reserved. This method does not override any existing reservations on the device.
| |
| ReserveNetworkDevice(Boolean) | Reserves the Network DAQ device for the current host. Reservation is required to run NI-DAQmx tasks, and the device must be added in MAX before it can be reserved. Use this method to specify whether to override an existing reservation.
| |
| Reset | Immediately aborts all active tasks associated with a device and returns the device to an initialized state. | |
| RestoreLastExternalCalibration | Sets the self-calibration constants of the device to the current external calibration constants. | |
| SelfCalibrate | Measures the onboard reference voltage of the device and adjusts the self-calibration constants to account for any error caused by short-term fluctuation in the operating environment. | |
| SelfTest | Performs a brief test of the device resources. If a failure occurs, refer to your device documentation for more information. | |
| StartExternalCalibration | Starts an external calibration session on a device. | |
| ToString | Returns a string representation of the object. (Overrides ObjectToString.) | |
| UnreserveNetworkDevice | Unreserves or releases a Network DAQ device previously reserved by the host. |