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.

pumpobjreadsetpress(pumpObj)
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'));

Contact us