Data Acquisition Toolbox
  Function/Property:
    Search    Help Desk 
disp    Examples

Display device object, channel, and line information.

Syntax

obj

disp(obj)

obj.Channel(index)

disp(obj.Channel(index))

obj.Line(index)

disp(obj.Line(index))

Description

disp(obj) displays base information about the specified device object, and any channels or lines contained by the device object. Typing obj at the command line produces the same base information.

disp(obj.Channel(index)) displays base information about the specified channels contained by obj. Typing obj.Channel(index) at the command line produces the same base information.

disp(obj.Line(index)) displays base information about the specified lines contained by obj. Typing obj.Line(index) at the command line produces the same base information.

Note:
You can invoke disp by typing the device object name at the MATLAB command line, or by excluding the semicolon when creating an object, adding channel or lines, or setting property values.

Example

Sound Card

Suppose the analog input object AI is created for a sound card and configured as shown below:

Typing the object name (AI) at the command line displays the device object and channel information shown below.

Display Summary of Analog Input (AI) Object Using 'Sound Blaster Record'.

Acquisition Parameters: 8000 samples per second on each channel.

8000 samples per trigger on each channel.

1 sec. of data to be logged upon START.

Log data to 'Memory' on trigger.

Trigger Parameters: 1 'Immediate' trigger(s) on START.

Engine status: Waiting for START.

0 samples acquired since starting.

0 samples available for GETDATA.

AI object contains channel(s):

Index: ChannelName: HwChannel: InputRange: SensorRange: UnitsRange: Units:

1 'Left' 1 [-1 1] [-1 1] [-1 1] 'Volts'

2 'Right' 2 [-1 1] [-1 1] [-1 1] 'Volts'



[ Previous | Help Desk | Next ]