Code covered by the BSD License  

Highlights from
CO2gui - lab control and automation

CO2gui - lab control and automation

by

 

06 Jan 2010 (Updated )

Software used for controlling and data logging lab equipment.

rheodyne232objreadvalveposition(serialObject)
function valvePosition = rheodyne232objreadvalveposition(serialObject)
% RHEODYNE232READOBJVALVEPOSITION returns the postion of the Rheodyne valve
% valvePosition = rheodyne232objreadvalveposition(serialObject) returns the
% current position of the Rheodyne valve. HOWEVER, this only ever seems to
% return "10", regardless of the actual valve position.

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

% gets the status
valvePosition = rheodyne232objcomm(serialObject, 'S');

Contact us