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.

pumpobjreadmaxpress(serialObject)
function maxPress = pumpobjreadmaxpress(serialObject)
% PUMPOBJREADMAXPRESS returns the maximum pressure of Jasco pumps
% maxPress = pumpobjmaxpress(serialObject) returns the maximum 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))

% fetches maximum pressure
maxPress = str2double(pumpobjcomm('read', serialObject, 'a_pmax load p'));

Contact us