Technical data

SOURce Commands SCPI Commands Reference
Agilent 81133A/81134A Pulse Generator Programming Guide, March 2007 51
[:SOURce]:FUNCtion:MODe[1|2]
Syntax
[:SOUR]:FUNC:MOD[1|2][?]
Form Set & Query
Description Use this command to set the pattern mode for each channel. The
pattern modes specify pulses, clocks, data patterns or PRBS
signals.
Parameter PULSe | SQUare | DATa | PRBS, <numeric>
•SQUare
Generates a square wave (clock) of fixed width (50% duty cycle).
The frequency of the square wave can optionally be divided by
1,
2, 4, …, 128 with
:OUTPut[1|2]:DIVider
.
•PULSe
Generates pulses with selectable width or duty cycle. The
frequency of the pulses can optionally be divided by 1, 2, 4,
…,
128 with
:OUTPut[1|2]:DIVider
.
•DATa
Generates data in either RZ, R1 or NRZ format as specified with
:DIG[1|2][:STIM]:SIGN:FORM[?]
.
In RZ and R1 mode, the pulse width can be set. Set the pulse
width with
[:SOUR][:PULS]:WIDT[1|2][?]
.
The frequency of the data can optionally be divided by 1, 2, 4,
…, 128 with
:OUTPut[1|2]:DIVider
.
• PRBS, <numeric>
Generates a PRBS polynomial of selectable type in either RZ, R1
or NRZ format. In RZ and R1 mode, the pulse width can be set.
Set the pulse width with
[:SOUR][:PULS]:WIDT[1|2][?]
.
The frequency of the PRBS signals can optionally be divided by
1,
2, 4, …, 128 with
:OUTPut[1|2]:DIVider
.
Valid values are: 2
5
–1 ... 2
31
–1
*RST value PULSe
Example Generate a PRBS signal of 2
5
–1 on channel 1:
1. Set the Pulse/Pattern mode:
[:SOUR]:FUNC[:SHAP] PATT
2. Set the PRBS signal:
[:SOUR]:FUNC:MOD[1|2] PRBS, 31