Skip to main content
Read a temperature in degrees Celsius from a thermocouple net.

Handle

Methods

Method Reference

name() -> &str

The net name this handle was created with.

read() -> Result<f64>

Read the junction temperature in degrees Celsius.
Returns: f64 — degrees Celsius. There is no Fahrenheit or Kelvin variant; convert in your test if you need one.

Examples

Assert a part stays inside its thermal envelope under load

Supported Hardware

Any thermocouple front-end the box exposes as a thermocouple role net. The amplifier and junction type are fixed when the net is created, not chosen per call.

Notes

  • Thermocouples settle slowly. A reading taken immediately after a thermal step is the sensor’s history, not the part’s temperature — sample over time.
  • Cold-junction compensation happens on the instrument. The value returned is the compensated temperature.