Temperature Entity

group TemperatureEntity

TemperatureClass: This entity is only available on certain modules, and provides a temperature reading in microcelsius.

void temperature_getValue(unsigned int *id, struct Result *result, const int index)

Get the modules temperature in micro-C

Parameters:
  • id – The id assigned by the create stem vi.

  • result – Object containing aErrNone and the requested value on success. Non-zero error code on failure.

  • index – The index of the entity in question.

Returns:

Returns common entity return values

void temperature_getValueMin(unsigned int *id, struct Result *result, const int index)

Get the module’s minimum temperature in micro-C since the last power cycle.

Parameters:
  • id – The id assigned by the create stem vi.

  • result – Object containing aErrNone and the requested value on success. Non-zero error code on failure.

  • index – The index of the entity in question.

Returns:

Returns common entity return values

void temperature_getValueMax(unsigned int *id, struct Result *result, const int index)

Get the module’s maximum temperature in micro-C since the last power cycle.

Parameters:
  • id – The id assigned by the create stem vi.

  • result – Object containing aErrNone and the requested value on success. Non-zero error code on failure.

  • index – The index of the entity in question.

Returns:

Returns common entity return values

void temperature_resetEntityToFactoryDefaults(unsigned int *id, struct Result *result, const int index)