Range

Specify channel measurement range

Description

When working with the session-based interface, use the Range property to indicate the measurement range of a channel.

Values

Range is not applicable for counter channels. For analog channels, value is dependent on the measurement type. This property is read-only for all measurement types except 'Voltage'. You can specify a range in volts for analog channels.

Example

Specify the range of an analog input voltage channel.

Create a session and add an analog input channel.

s = daq.createSession('ni');
ch = addAnalogInputChannel(s,'cDAQ1Mod7',3,'voltage');

Set the range to —60 to +60 volts.

ch.Range = [-60,60];
Was this topic helpful?