Data Acquisition Toolbox
  Function/Property:
    Search    Help Desk 
isline    Examples   See Also

Check for lines.

Syntax

isline(obj.Line(index))

Description

isline(obj.Line(index)) returns a logical "1" if obj.Line(index) is a line. Otherwise, a logical "0" is returned. isline does not determine if lines are valid (associated with hardware). To check for valid lines, use the isvalid function.

Note:
Typically, you use isline directly only when you are creating your own M-files.

Example

Suppose you create the function func for use with the Data Acquisition Toolbox. If func 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.

You can examine the Data Acquisition Toolbox M-files for examples using isline.

See Also

Functions

delete, isvalid



[ Previous | Help Desk | Next ]