CO2gui - lab control and automation
06 Jan 2010
03 Sep 2014)
Software used for controlling and data logging lab equipment.
function response = rheodyne232objtestcommand(serialObject)
% RHEODYNE232OBJTESTCOMMAND tests if the rheodyne is working properly
% response = rheodyne232objtestcommand(serialObject) requests the valve
% status twice to check if its working or not (the first time often fails,
% as when testing other commands, it is expecting other communications).
% checks the number of arguments
error(nargchk(1, 1, nargin))
% sends the first one (we don't care about this one)
% leave a short pause for robustness
% this one we don't try-catch, and allow to error if necessary
response = rheodyne232objreadversion(serialObject);