HP E1340A User Manual page 7

Arbitrary function generator
Hide thumbs Also See for E1340A:
Table of Contents

Advertisement

B. HP E1340A Useful Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
C. HP E1340A Register-Based Programming . . . . . . . . . . . . . . . . . . . . 229
Contents
Appendix Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
Appendix Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
Register Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
The Base Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
Computer Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
Throughput Speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
Embedded Computer Programming (C-Size Systems) . . . . . . . . . . . . . . . . 232
IBASIC Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
External Computer Programming . . . . . . . . . . . . . . . . . . . . . . . . . . 233
Programming Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
Register Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
The READ Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
The ID Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
The Device Type Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
The Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
The Query Response Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
The WRITE Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
The Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
The Command and Parameter Registers . . . . . . . . . . . . . . . . . . . . . . . 238
The Input Data Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
Command Descriptions and Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
Setting the Output Function and Loading RAM . . . . . . . . . . . . . . . . . . . 243
Setting the Signal Frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
Setting the Output Attenuation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
Setting the Amplitude Offset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
Setting the Sweep Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
Setting the Burst Count . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
The AFG Output Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
Starting the Waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
Querying the AFG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
AFG Soft Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
Aborting the Waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
Program Timing and Execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
AFG Reset Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253
Configuring the AFG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
Querying AFG Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
Example Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
Opcode/Parameter Quick Reference . . . . . . . . . . . . . . . . . . . . . . . . . 256
Sine Wave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
Multiple Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
Internally Triggering a Burst of Cycles . . . . . . . . . . . . . . . . . . . . . . . . 260
Externally Triggering a Burst of Cycles . . . . . . . . . . . . . . . . . . . . . . . 261
Frequency-Shift Keying . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
HP E1340A Arbitrary Function Generator User's Manual
7

Advertisement

Table of Contents
loading

Table of Contents