CO2gui - lab control and automation
06 Jan 2010
08 Jan 2010)
Software used for controlling and data logging lab equipment.
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'));