CO2gui - lab control and automation
06 Jan 2010
01 Apr 2014)
Software used for controlling and data logging lab equipment.
function status = pumpobjstatus(pumpObj)
% PUMPOBJSTATUS returns the current flow rate of Jasco pumps
% status = pumpobjstatus(pumpObj) returns the status of Jasco pumps
% connected to a valid serial port object. If the pump is running, the
% status is 1, and 0 if it is not pumping.
% checks the number of arguments
error(nargchk(1, 1, nargin))
% if the current flow is greater than 0, the pump is running
% pump is running
status = true;
% pump is not running (or is set to 0 mLmin-1)
status = false;