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.

tempobjstop(tempObj)
function tempobjstop(tempObj)
% TEMPOBJSTOP stops temperature control of Eurotherm controllers
% tempobjstop(tempObj) stops temperature control of Eurotherm temperature
% controllers, given a valid serial object - sets it to manual mode and 0%
% output power.

% e.g. tempobjstop(tempobj(7)) stops temperature control of the Eurotherm
% controller attached to COM7.


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

% sets 273 (auto/manual) to 1 (manual)
tempobjcomm('write', tempObj, 1, 273, 1);

% sets the output power to 0% - this is an invalid command if the
% temperature controller is in automatic mode
tempobjcomm('write', tempObj, 1, 3, 0);

Contact us