CO2gui - lab control and automation
06 Jan 2010
08 Jan 2010)
Software used for controlling and data logging lab equipment.
function setPress = pumpobjreadsetpress(pumpObj)
% PUMPOBJREADSETPRESS returns the set pressure of Jasco pumps
% setPress = pumpobjreadsetpress(pumpObj) returns the set pressure of Jasco
% pumps (as used in constant pressure mode only) connected to a valid
% serial port object, as numbers (precision: double).
% checks the number of arguments
error(nargchk(1, 1, nargin))
% fetches the set pressure
setPress = str2double(pumpobjcomm('read', pumpObj, 'press load p'));