Code covered by the BSD License  

Highlights from
Jasco Pumps RS232 communicatios

Jasco Pumps RS232 communicatios

by

 

20 May 2013 (Updated )

Commands to read and control Jasco pumps via RS232.

pumpobjreadsetpress(serialObject)
function setPress = pumpobjreadsetpress(serialObject)
% PUMPOBJREADSETPRESS returns the set pressure of Jasco pumps
% setPress = pumpobjreadsetpress(serialObject) 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', serialObject, 'press load p'));

Contact us