RIGOL
2-78
DG900 Programming Guide
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
Name
Type
Range
Default
[<n>]
Discrete
1|2
1
<symmetry>
Real
0% to 100%
50%
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.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.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
Name
Type
Range
Default
[<n>]
Discrete
1|2
1
{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.
Summary of Contents for DG952
Page 2: ......
Page 168: ......
Page 181: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 7 ...
Page 185: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 11 ...
Page 187: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 13 ...
Page 199: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 25 ...
Page 200: ......