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

Index contains the MATLAB index of a hardware channel.

Index provides you with a way of accessing the channel index programmatically. Without this property, you would use the Data Acquisition Toolbox display method to get the channel index, and then incorporate the information into your function or script.

Characteristics

Device Objects

AI, AO
Class

Channel
Access

Read-only
Data Type

Double
Modify while Running

N/A

Values

The values are automatically defined when channels are added to the device object with the addchannel function.

Example

Suppose you create an analog input object ai for a sound card and add two hardware channels.

The corresponding MATLAB indices are 1 and 2, respectively. These indices can be accessed with Index.

See Also

Properties

Channel, ChannelName, HwCHannel



[ Previous | Help Desk | Next ]