Check for lines
out = isdioline(obj.Line(index))
Note: You cannot use the legacy interface on 64–bit MATLAB®. See Session-Based Interface to acquire and generate data.
Suppose you create the function myfunc for use with Data Acquisition Toolbox™ software. If myfunc is passed one or more lines as an input argument, then the first thing you should do in the function is check if the argument is a line.
function myfunc(line) % Determine if a line was passed. if ~isdioline(line) error('The argument passed is not a line.'); end
You can examine Data Acquisition Toolbox software files for examples that use isdioline.