Thermocouple Sensor

HP 3478A

class nupylab.instruments.thermocouple_sensor.hp3478A.HP3478A(port: str, data_label: str, name: str = 'HP 3478A')

Bases: NupylabInstrument

HP 3478A instrument class. Adapts driver to NUPyLab thermocouple sensor.

data_label

label for DataTuple.

name

name of instrument.

hp3478a

HP3478A driver class.

cj_temp

cold junction temperature in Celsius.

cj_flag

boolean indicating whether next voltage reading is cold junction voltage.

Initialize HP 3478A data labels, name, and connection parameters.

Parameters:
  • port – string name of port, e.g. GPIB::1

  • data_label – label for DataTuple, should match entry in DATA_COLUMNS of calling procedure class.

  • name – name of instrument.

connect() None

Connect to HP 3478A.

get_data() DataTuple | None

Read thermocouple temperature.

Returns:

DataTuple with thermocouple temperature in Celsius.

shutdown() None

Close serial connection on HP 3478A.

start() None

Start multimeter measurement. Not implemented.

stop_measurement() None

Stop measurement on HP 3478A. Not implemented.

property tc_type: str

Control thermocouple type.

Valid options are B, E, J, K, N, R, S, or T.