Code covered by the BSD License  

Highlights from
Knauer pump RS232 communication

Knauer pump RS232 communication

by

 

Functions for communicating with Knauer pumps via RS232.

knauerpumpobjreaderrorio(serialObject)
function errorIO = knauerpumpobjreaderrorio(serialObject)
% KNAUERPUMPOBJREADERRORIO returns the level required to trigger
% errorIO = knauerpumpobjreaderrorio(serialObject) returns the
% error I/O status, returning 0 for OUT and 1 for IN - it is not exactly
% clear what this does.

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

% fetches
errorIO = knauerpumpobjcomm(serialObject, 'read', 'ERRIO?');

Contact us