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.

tempobjreadmode(tempObj)
function mode = tempobjreadmode(tempObj)
% TEMPOBJREADMODE Reads the temperature mode from Eurotherm controllers
% mode = tempobjreadmode(tempObj) Reads operating mode from Eurotherm
% series 2000 temperature controllers given an appropriate serial port
% object (generated from tempobj).  Mode is 0 if auto, or 1 if manual.  Can
% also be 2 if "off" for 3000 series controllers.

% e.g. mode = tempobjreadmode(tempobj(7)) - returns 0 for auto from the
% device on COM7

% Range:

% tempObj = valid serial port object


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

% retrieves information
mode = tempobjcomm('read', tempObj, 1, 273, 1);

Contact us