Instructions

Chapter 2 Command System RIGOL
DG2000 Programming Guide 2-75
Example
:SOUR1:FUNC:DUALT:OFFSETF 2000 /*Sets the offset frequency of the dual-tone signal of CH1 to 2 kHz.*/
:SOUR1:FUNC:DUALT:OFFSETF? /*Queries the offset frequency of the dual-tone signal of CH1 and the
query returns 2.000000E+03.*/
[:SOURce[<n>]]:FUNCtion:PRBS:BRATe
Syntax
[:SOURce[<n>]]:FUNCtion:PRBS:BRATe {<bit_rate>|MINimum|MAXimum}
[:SOURce[<n>]]:FUNCtion:PRBS:BRATe? [MINimum|MAXimum]
Description
Sets the PRBS bit rate of the specified channel.
Queries the PRBS bit rate of the specified channel.
Parameter
Name
Type
Range
Default
[<n>]
Discrete
1|2
1
<srate>
Real
2 kbps to 60 Mbps
2 kbps
Remarks
When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related parameters of CH1 by default.
Return Format
The query returns the PRBS bit rate in scientific notation, with 7 effective digits. For example,
3.000000E+03 (the PRBS bit rate is 3 kbps).
Example
:SOUR1:FUNC:PRBS:BRAT 3000 /*Sets the PRBS bit rate of CH1 to 3 kbps.*/
:SOUR1:FUNC:PRBS:BRAT? /*Queries the PRBS bit rate of CH1 and the query returns
3.000000E+03.*/
[:SOURce[<n>]]:FUNCtion:PRBS:DATA
Syntax
[:SOURce[<n>]]:FUNCtion:PRBS:DATA {PN7|PN9|PN11}
[:SOURce[<n>]]:FUNCtion:PRBS:DATA?
Description
Sets the PRBS data type of the specified channel.
Queries the PRBS data type of the specified channel.
Parameter
Name
Type
Range
Default
[<n>]
Discrete
1|2
1
{PN7|PN9|PN11}
Discrete
PN7|PN9|PN11
PN7
Remarks
When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related parameters of CH1 by default.
Return Format
The query returns PN7, PN9 or PN11.
Example
:SOUR1:FUNC:PRBS:DATA PN9 /*Sets the PRBS data type of CH1 to PRBS9.*/