The omega_cni module

Autogenerated API documentation for omega_cni

This module contains drivers for equipment from Omega. Specifically it contains a driver for the ??? thermo couple read out unit.

class PyExpLabSys.drivers.omega_cni.ISeries(port, baudrate=19200, comm_stnd='rs232')[source]

Bases: object

Driver for the iSeries omega temperature controllers

__init__(port, baudrate=19200, comm_stnd='rs232')[source]

Initialize internal parameters

Parameters:port – A serial port designation as understood by pySerial
command(command, response_length=None, address=None)[source]

Run a command and return the result

Parameters:
  • command (str) – The command to execute
  • response_length (int) – The expected legth of the response. Will force the driver to wait untill this many characters is ready as a response from the device.
reset_device(address=None)[source]

Reset the device

identify_device(address=None)[source]

Return the identity of the device

read_temperature(address=None)[source]

Return the temperature

close()[source]

Close the connection to the device

class PyExpLabSys.drivers.omega_cni.CNi3244_C24(port)[source]

Bases: PyExpLabSys.drivers.omega_cni.ISeries

Driver for the CNi3244_C24 device

__init__(port)[source]

Initialize internal parameters

Parameters:port

A serial port designation as understood by pySerial