niTuner_getTemperature
Function Prototype
int niTuner_getTemperature (int taskID, double *temperature, double *correctionFactor);
Purpose
This function returns the temperature of the PXI-5600 downconverter in °C and the temperature correction coefficient based on the current temperature.
Note Retrieving the downconverter temperature causes a momentary disruption in the IF output signal which may give rise to invalid IF data. |
Parameters
Name | Type | Description |
taskID | int | The Task ID obtained from niTuner_init that identifies the session of a particular device. |
temperature | double * | Returns the current temperature of the PXI-5600 downconverter in °C. |
correctionFactor | double * | The correction factor based on the current temperature (normalized to 40 °C and multiplied by the calibrated temperature coefficient). Apply this correction factor to the computed power spectrum. See the Spectral Measurements Toolset Help file for more information. |
Return Value
Returns the status of the function. To see an explanation of common error and warning codes, see Error and Status Codes. To see a text explanation of the status code, call niTuner_errorHandler.