Chapter 2 Command System RIGOL
DG800 Programming Guide 2-81
Example
:SOUR1:FUNC:PULS:WIDT 0.01 /*Sets the pulse width of CH1 to 10 ms (i.g. 0.01 s).*/
:SOUR1:FUNC:PULS:WIDT? /*Queries the pulse width of CH1 and the query returns
1.000000E-02.*/
[:SOURce[<n>]]:FUNCtion:RAMP:SYMMetry
Syntax
[:SOURce[<n>]]:FUNCtion:RAMP:SYMMetry {<symmetry>|MINimum|MAXimum}
[:SOURce[<n>]]:FUNCtion:RAMP:SYMMetry? [MINimum|MAXimum]
Description
Sets the Ramp symmetry of the specified channel.
Queries the Ramp symmetry of the specified channel.
Parameter
Remarks
Symmetry is defined as the percentage that the rising period of the ramp takes up in the whole period.
When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related parameters of CH1 by default.
Return Format
The query returns the symmetry in scientific notation, with 7 effective digits. For example, 5.500000E+01
(the Ramp symmetry is 55%).
Example
:SOUR1:FUNC:RAMP:SYMM 55 /*Sets the Ramp symmetry of CH1 to 55%.*/
:SOUR1:FUNC:RAMP:SYMM? /*Queries the Ramp symmetry of CH1 and the query returns
5.500000E+01.*/
[:SOURce[<n>]]:FUNCtion:RS232:BAUDrate
Syntax
[:SOURce[<n>]]:FUNCtion:RS232:BAUDrate {9600|14400|19200|38400|57600|115200|128000|230400}
[:SOURce[<n>]]:FUNCtion:RS232:BAUDrate?
Description
Sets the RS232 baud rate of the specified channel.
Queries the RS232 baud rate of the specified channel.
Parameter
{9600|14400|19200|38400|
57600|115200|128000|230400}
Discrete
9600|14400|19200|38400|
57600|115200|128000|230400
9600
Remarks
When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related parameters of CH1 by default.
Return Format
The query returns the RS232 baud rate in integer form.