Quantcast

Documentation Center

  • Trial Software
  • Product Updates

Type

Indicate device object type, channel, or line

Description

    Note:   You cannot use the legacy interface on 64–bit MATLAB®. See Session-Based Interface to acquire and generate data.

Type is associated with device objects, channels, and lines. For device objects, Type can be Analog Input, Analog Output, or Digital I/O. Once a device object is created, the value of Type is automatically defined.

For channels, the only value of Type is Channel. For lines, the only value of Type is Line. The value is automatically defined when channels or lines are added to the device object.

Characteristics

Usage

AI, AO, common to all channels and per channel; DIO, common to all lines and per line

Access

Read-only

Data type

String

Read-only when running

N/A

Values

Device Objects

For device objects, Type has these possible values:

Analog Input

The device object type is analog input.

Analog Output

The device object type is analog output.

Digital IO

The device object type is digital I/O.

The value is automatically defined after the device object is created.

Channels and Lines

For channels, the only value of Type is Channel. For lines, the only value of Type is Line. The value is automatically defined when channels or lines are added to the device object.

Was this topic helpful?