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.

pumpobjreadflowmode(serialObject)
function flowMode = pumpobjreadflowmode(serialObject)
% PUMPOBJREADFLOWMODE returns the flow mode of Jasco pumps
% flowMode = pumpobjreadflowmode(serialObject) returns the flow mode of
% Jasco pumps connected to a valid serial port object, as numbers
% (precision: double). constant flow is 0, and constant pressure is 1.

% checks the number of arguments
error(nargchk(1, 1, nargin))

% fetches the flow mode
flowMode = str2double(pumpobjcomm('read', serialObject, 'cfcp load p'));

Contact us