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.

tharbprobjstop(tharBPRObj)
function tharbprobjstop(tharBPRObj)
% BPROBJSTOP stops automatic control of Thar BPRs
% tharbprobjstop(tharBPRObj) stops automatic valve control of Thar BPRs.
% tharBPRObj is the BPR serial object (generated by tharbproj).  It doesn't
% matter if this command is sent and the BPR is already stopped.

% e.g. tharbprobjstop(tharbprobj(5)) - stops automatic valve control of
% the Thar BPR on COM5.

% Range:

% tharBPRObj = valid serial port object


% error handling
if ~nargin
    % errors
    error('Insufficient arguments')
end

% navigates to main display menu
tharbprobjdisplaymenu(tharBPRObj);

% presses 'F2'
tharbprobjcomm('write', tharBPRObj, 18)

Contact us