Format
The offset is a two-byte parameter whose bits are defined in Table C-2.
The offset value
(Offset)
is converted to the form:
A
1
*2
8
+A
2
For example, to add a 1V dc offset to a 2 Vp signal (into 50
Ω)
:
Offset = (1 / .0025) + 2048
= 09 90
16
= 9 144
10
byte1 byte 2
Setting the Sweep
Rate
The AFG can sweep (linearly) from 0.01 Hz to 15 MHz. The fastest the
AFG can sweep is 187
µ
S per frequency point with amplitude correction
disabled, or 250
µ
S per point with amplitude correction enabled. Up to 25.5
mS additional delay per frequency point is possible in 100
µ
S increments
(tic count).
Format
The sweep rate is a six-byte parameter (Table C-2). The first four bytes
contain the frequency increment. The fifth byte (tic count) controls how
often the increment occurs. An increment occurs every 187 or 250
µ
S plus
(tic count - 1) delays of 100
µ
S. The sixth byte is always 0 for a linear
sweep.
Setting the Burst
Count
The burst count specifies the number of waveform cycles to occur when the
"burst" output mode is set. For all other output modes the burst count need
not be set since an infinite number of cycles are output.
Format
The burst count is a two-byte parameter (Table C-2). The count is
converted to the form:
A
1
*2
8
+ A
2
For example, a 1,000 cycle burst is sent as:
1,000 cycles = 03 E8
16
= 3 232
10
byte 1 byte 2
Internal and External
Triggered Bursts
The AFG burst modes are "internal" and "external". An internal burst of the
specified burst count occurs when an internal trigger is received. An
external burst of the specified burst count occurs when the signal on the
"Aux In" BNC port is low. The burst mode is set with the output mode bytes
covered in the next section. The “ Example Programs” section
demonstrates how to set up internal and external triggered bursts.
Appendix C
HP E1340A Register-Based Programming 247
Summary of Contents for E1340A
Page 12: ...Notes 12 HP E1340A Arbitrary Function Generator Module User s Manual ...
Page 14: ...14 HP E1340A Arbitrary Function Generator Module User s Manual ...
Page 42: ...Chapter 2 Generating Standard Waveforms with the HP E1340A 42 ...
Page 54: ...Chapter 2 Generating Standard Waveforms with the HP E1340A 54 ...
Page 58: ...Chapter 3 Generating Arbitrary Waveforms with the HP E1340A 58 ...
Page 84: ...Chapter 4 HP E1340A Sweeping and Frequency Shift Keying 84 ...
Page 130: ...Chapter 6 HP E1340A High Speed Operation 130 ...
Page 202: ...202 HP E1340A SCPI Conformance Information Chapter 7 ...
Page 218: ...218 HP E1340A Specifications Appendix A ...
Page 284: ...284 HP E1340A Register Based Programming Appendix C ...
Page 295: ...Index HP E1340A Arbitrary Function Generator User s Manual 295 ...