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

Return the length of a data acquisition device object, channel group, or line group.

Syntax

length(obj)

length(obj.Channel)

length(obj.Line)

Description

length(obj) returns the length of data acquisition device object obj. It is equivalent to maxsize(obj).

length(obj.Channel) returns the length of the channel group obj.Channel.

length(obj.Line) returns the length of the line group obj.Line.

Example

Suppose you create the analog input object ai for a National Instruments board and add 8 channels to it.

To find the length of the device object

To find the length of the channel group

See Also

Functions

size



[ Previous | Help Desk | Next ]