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.

pumpobjreadflowmode(pumpObj)
function flowMode = pumpobjreadflowmode(pumpObj)
% PUMPOBJREADFLOWMODE returns the flow mode of Jasco pumps
% flowMode = pumpobjreadflowmode(pumpObj) returns the flow mode of Jasco
% pumps connected to a valid serial port object, as numbers (precision:
% double). constant flow is 0, and constant pressure is 1.

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

% fetches the flow mode
flowMode = str2double(pumpobjcomm('read', pumpObj, 'cfcp load p'));

Contact us