beautypg.com

Instrument:nselect, Instrument[:select, Instrument:nselect -32 – RIGOL DP832A User Manual

Page 56: Instrument[:select] -32, Instrument[:select] :instrument[:select

background image

RIGOL

Chapter 2 Command System

2-32

DP800 Programming Guide

:INSTrument:NSELect

Syntax

:INSTrument:NSELect {1|2|3}
:INSTrument:NSELect?

Description

Select the current channel.
Query the channel currently selected.

Parameter

Name

Type

Range

Default

{1|2|3}

Discrete

1|2|3

1

Explanation

 This command is only applicable to multi-channel models.

 The parameters 1, 2 and 3 represent CH1, CH2 and CH3 respectively.

 The function of this command is the same with the functions of

the

:INSTrument[:SELEct]

and

:INSTrument[:SELect]

commands.

Return Format

The query returns 1, 2 or 3.

Example

:INST:NSEL 3 /*Select CH3 as the current channel*/
:INST:NSEL? /*Query the channel currently selected and the query returns 3*/

Related

Commands

:INSTrument[:SELEct]
:INSTrument[:SELect]

:INSTrument[:SELEct]

:INSTrument[:SELect]

Syntax

:INSTrument[:SELEct] {CH1|CH2|CH3}
:INSTrument[:SELect] {CH1|CH2|CH3}
:INSTrument[:SELEct]?
:INSTrument[:SELect]?

Description

Select the current channel.
Query the channel currently selected.

Parameter

Name

Type

Range

Default

{CH1|CH2|CH3}

Discrete

CH1|CH2|CH3

CH1

Explanation

 These two commands are only applicable to multi-channel models.

 The functions of these two commands are the same with the function of

the

:INSTrument:NSELect

command.

Return Format

The query returns CH1:8V/5A, CH2:30V/2A or CH3:-30V/2A.

Example

:INST CH3 /*Select CH3 as the current channel*/
:INST? /*Query the channel currently selected and

the query returns CH3:-30V/2A */

Related

Command

:INSTrument:NSELect

This manual is related to the following products: