nibcq.temperature.ThermocoupleSettings

class nibcq.temperature.ThermocoupleSettings

Configuration settings for thermocouple temperature measurements.

Contains all the parameters needed to configure a thermocouple measurement task including the physical connection, measurement range, and thermocouple type specifications. Used by TemperatureCapability to set up temperature monitoring for compensation validation.

resource_name

DAQ device resource name (e.g., “Dev1/ai0”)

Type:

str

cjc_source

Cold junction compensation source type. Defaults to built-in compensation.

Type:

CJCSource

units

Temperature measurement units. Defaults to degrees Celsius.

Type:

TemperatureUnits

thermocouple_type

Type of thermocouple being used. Defaults to Type T thermocouple.

Type:

ThermocoupleType

min_value

Minimum expected temperature value in specified units. Defaults to 0.0.

Type:

float

max_value

Maximum expected temperature value in specified units. Defaults to 100.0.

Type:

float

Examples

>>> settings = ThermocoupleSettings("Dev1/ai0")
>>> settings = ThermocoupleSettings(
...     resource_name="Dev1/ai0",
...     thermocouple_type=ThermocoupleType.K,
...     min_value=-50.0,
...     max_value=150.0
... )