This is a utility function for use with the Data Acquisition Toolbox for MATLAB.