AFG Soft Reset
Aborting the
Waveform
Program Timing and Execution
252 HP E1340A Register-Based Programming
The " Program Timing and Execution" section shows the register access
sequence used to query the parameters. Examples of querying parameters
are contained in the " Example Programs" section. The query opcodes are
listed in Table C-4.
Sending command opcode 14 sets all AFG parameters to their power-on
values. This command does not reset the AFG hardware as does the
(hardware) reset described in the " Program Timing and Execution" section
and used in the example programs.
Sending command opcode 6 halts waveform generation by stopping the
clock. No other AFG settings are affected.
When programming the AFG at the register level, the structure of the
program will generally be as follows:
Resetting the AFG
Setting the function
Setting the frequency
Setting the attenuation and offset
Setting the sweep rate
Setting the burst count
Setting the output mode
This section contains generalized flowcharts and comments for performing
these and other procedures such as querying parameters. The flowcharts
identify the registers used and the status bits monitored to ensure proper
execution of the program.
Appendix C