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.

pumpobjcurrentpress(serialObject)
function currentPress = pumpobjcurrentpress(serialObject)
% PUMPOBJCURRENTPRESS returns the current pressure of Jasco pumps
% currentPress = pumpobjcurrentpress(serialObject) 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', serialObject, 'a_press1 load p'));

Contact us