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.

tempobjreadoutputpower(tempObj)
function outputPower = tempobjreadoutputpower(tempObj)
% TEMPOBJREADOUTPUTPOWER Reads output power from Eurotherm controllers
% outputPower = tempobjreadoutputpower(tempObj) Reads output power (in %)
% from Eurotherm temperature controllers given an appropriate serial port
% object (generated from tempobj).

% e.g. outputPower = tempobjreadoutputpower(tempobj(7)) - gives current
% output power from the device on COM7, e.g. 100 for 100%.

% Range:

% tempObj = valid serial port object


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

% retrieves information
outputPower = tempobjcomm('readfullres', tempObj, 1, 3, 1);

Contact us