RIGOL DG1000Z Series User Manual

Page 193

Advertising
background image

Chapter 2 Command System

RIGOL

DG1000Z Programming Guide

2-181

[:SOURce[<n>]]:VOLTage[:LEVel][:IMMediate][:AMPLitude]

Syntax

[:SOURce[<n>]]:VOLTage[:LEVel][:IMMediate][:AMPLitude]

{<amplitude>|MINimum|MAXimum}
[:SOURce[<n>]]:VOLTage[:LEVel][:IMMediate][:AMPLitude]? [MINimum|MAXimum]

Description

Set the waveform amplitude of the specified channel (basic waveforms and arbitrary

waveform).
Query the waveform amplitude of the specified channel (basic waveforms and

arbitrary waveform).

Parameter

Name

Type

Range

Default

[<n>]

Discrete

1|2

1

<amplitude>

Real

Refer to the “Explanation”

5Vpp

Explanation

 When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related

parameters of CH1 by default.

 The minimum of <amplitude> is 2mVpp and the maximum is limited by the

“Impedance” (

:OUTPut[<n>]:IMPedance

or

:OUTPut[<n>]:LOAD

) and

“Frequency/Period” (

[:SOURce[<n>]]:FREQuency[:FIXed]

or

[:SOURce[<n>]]:PERiod[:FIXed]

) settings. If the amplitude in the command is

greater than the corresponding upper limit or lower than the corresponding

lower limit, the system will set the waveform amplitude of the specified channel

to the amplitude upper limit or lower limit.

 The current amplitude of the instrument is the default value or the amplitude set

formerly. When the configuration (such as the frequency) of the instrument is

changed, the instrument still uses the current amplitude if the amplitude is valid;

the instrument displays prompt message and set the amplitude to the amplitude

upper limit of the new configuration automatically if the current amplitude is

invalid.

 You can use the “High Level” or “Low Level” to set the amplitude and offset.

Amplitude = High Level - Low Level

Offset = (High Level + Low Level)/2

Return Format

The query returns the waveform amplitude in scientific notation with 7 effective

digits, for example, 5.000000E+00 (the waveform amplitude is 5Vpp).

Example

:SOUR1:VOLT 5 /*Set the waveform amplitude of CH1 to 5Vpp*/
:SOUR1:VOLT? /*Query the waveform amplitude of CH1 and the query returns

5.000000E+00*/

Related

Commands

:OUTPut[<n>]:IMPedance

:OUTPut[<n>]:LOAD

[:SOURce[<n>]]:FREQuency[:FIXed]
[:SOURce[<n>]]:PERiod[:FIXed]

Advertising