GetDeviceTemperature(string, out double)
- Updated2025-10-13
- 1 minute(s) read
Gets the current temperature of the module. This value is expressed in degrees Celsius.
Syntax
Namespace: NationalInstruments.RFmx.InstrMX
public int GetDeviceTemperature(string channelName, out double value)
Remarks
This method gets the value of DeviceTemperature attribute.Supported devices: PXIe-5644/5645/5646, PXIe-5663/5663E/5665/5668, PXIe-5820/5830/5831/5832/5840/5841/5842/5860
Parameters
| Name | Type | Description |
|---|---|---|
| channelName | string | Specifies the module number and port number. |
| value | out double | Upon return, contains the current temperature of the module. This value is expressed in degrees Celsius. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.