CO2gui - lab control and automation
06 Jan 2010
08 Jan 2010)
Software used for controlling and data logging lab equipment.
function currentPress = pumpobjcurrentpress(pumpObj)
% PUMPOBJCURRENTPRESS returns the current pressure of Jasco pumps
% currentPress = pumpobjcurrentpress(pumpObj) returns the current pressure
% of Jasco pumps connected to a valid serial port object, as numbers
% (precision: double).
% checks the number of arguments
error(nargchk(1, 1, nargin))
% gets the current pressure
currentPress = str2double(pumpobjcomm('read', pumpObj, 'a_press1 load p'));