Code covered by the BSD License  

Highlights from
CO2gui - lab control and automation

CO2gui - lab control and automation

by

 

06 Jan 2010 (Updated )

Software used for controlling and data logging lab equipment.

tempobjreadmintemp.m
function minTemp = tempobjreadmintemp(tempObj)
% TEMPOBJREADMINTEMP Reads minimum temperature from Eurotherm controllers
% minTemp = tempobjreadmintemp(tempObj) Reads minimum temperature in C
% from Eurotherm temperature controllers given an appropriate serial port
% object (generated from tempobj).

% e.g. minTemp = tempobjreadmintemp(tempobj(7)) - gives current minimum
% temperature from the device on COM7

% Range:

% tempObj = valid serial port object


% checks the number of arguments
error(nargchk(1, 1, nargin))

% retrieves information (tempobjcomm returns the temperature in C)
minTemp = tempobjcomm('readfullres', tempObj, 1, 112, 1);

Contact us