Output commands, Output[<n>]:gate:polarity, Output commands -55 – RIGOL DG1000Z Series User Manual

Page 67

Advertising
background image

Chapter 2 Command System

RIGOL

DG1000Z Programming Guide

2-55

:OUTPut Commands

The :OUTPut commands is used to set and query the information related to the channel output and sync

signal, including setting and querying the channel output state, output polarity, output impedance, output

mode and gate polarity as well as setting and querying the output state, output polarity and delay time of

the sync signal.


Command List:

:OUTPut[<n>]:GATe:POLarity

:OUTPut[<n>]:IMPedance

:OUTPut[<n>]:LOAD

:OUTPut[<n>]:MODE

:OUTPut[<n>]:POLarity

:OUTPut[<n>][:STATe]

:OUTPut[<n>]:SYNC:DELay

:OUTPut[<n>]:SYNC:POLarity

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

:OUTPut[<n>]:GATe:POLarity

Syntax

:OUTPut[<n>]:GATe:POLarity {POSitive|NEGative}

:OUTPut[<n>]:GATe:POLarity?

Description

Set the gate polarity of the specified channel in the gated mode to POSitive or

NEGative.
Query the gate polarity of the specified channel in the gated mode.

Parameter

Name

Type

Range

Default

[<n>]

Discrete

1|2

1

{POSitive|NEGative}

Discrete

POSitive|NEGative

POSitive

Explanation

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

CH1 by default.

 In the gated mode (

:OUTPut[<n>]:MODE

), the output state of the output

connector of the specified channel is controlled by the gated signal received by

the [Mod/Trig/FSK/Sync] connector of the corresponding channel at the rear

panel.

Positive: when the gated signal is high level, the channel output connector

outputs signal.

Negative: when the gated signal is low level, the channel output connector

outputs signal.

Return Format

The query returns POSITIVE or NEGATIVE.

Example

:OUTP1:GAT:POL NEG /*Set the gate polarity of CH1 in the gated mode to

negative*/

:OUTP1:GAT:POL? /*Query the gate polarity of CH1 in the gated mode and the

query returns NEGATIVE*/

Related

Command

:OUTPut[<n>]:MODE

Advertising