Output[<n>]:polarity, Output[<n>][:state – RIGOL DG1000Z Series User Manual

Page 70

Advertising
background image

RIGOL

Chapter 2 Command System

2-58

DG1000Z Programming Guide

:OUTPut[<n>]:POLarity

Syntax

:OUTPut[<n>]:POLarity {NORMal|INVerted}

:OUTPut[<n>]:POLarity?

Description

Set the output polarity of the specified channel to normal (NORMal) or inverted

(INVerted).
Query the output polarity of the specified channel.

Parameter

Name

Type

Range

Default

[<n>]

Discrete

1|2

1

{NORMal|INVerted}

Discrete

NORMal|INVerted

NORMal

Explanation

 When [<n>] is omitted, the commands set and query the related parameters

of CH1 by default.

 The output polarity of the channel refers to that the signal on the output

connector of the channel is normal (NORMal) output or inverted (INVerted)

output. In the normal mode, the instrument outputs normal waveform and in

the inverted mode, the waveform is inverted and then outputted.

 The waveform is inverted relative to the offset voltage. After the waveform is

inverted, the offset voltage remains unchanged and the sync signal related to

the waveform is not inverted.

Return Format

The query returns NORMAL or INVERTED.

Example

:OUTP1:POL NORM /*Set the output polarity of CH1 to normal*/
:OUTP1:POL? /*Query the output polarity of CH1 and the query returns

NORMAL*/

:OUTPut[<n>][:STATe]

Syntax

:OUTPut[<n>][:STATe] {ON|1|OFF|0}

:OUTPut[<n>][:STATe]?

Description

Turn on or off the output of the specified channel.
Query the output status of the specified channel.

Parameter

Name

Type

Range

Default

[<n>]

Discrete

1|2

1

{ON|1|OFF|0}

Bool

ON|1|OFF|0

OFF

Explanation

When [<n>] is omitted, the commands set and query the related parameters of

CH1 by default.

Return Format

The query returns ON or OFF.

Example

:OUTP1? /*Query the output status of CH1 and the query returns OFF*/
:OUTP1 ON /*Turn on the output of CH1*/
:OUTP1? /*Query the output status of CH1 and the query returns ON*/

Advertising