Introductory Programs
The introductory programs in this section include:
•
AFG Self-Test
•
Resetting the AFG and clearing its status registers
•
Querying the AFG power-on/reset settings
•
Checking for Errors
•
Generating a sine wave
AFG Self-Test
The AFG self-test is executed with the command:
*TST?
The self-test checks communication between the E1340A and the E1300/01
mainframe or Command Module. Upon completion of the test, one of the
self-test codes listed in Table 1-1 is returned.
HP IBASIC (SLFTST)
1
!RE-SAVE “SLFTST”
10
!Send the self-test command, enter and display the result.
20
DIM Message$[256]
30
OUTPUT 80910;"*TST?"
40
ENTER 80910;Rslt
50
IF Rslt <>0 THEN
60
REPEAT
70
OUTPUT 80910;"SYST:ERR?"
80
ENTER 80910;Code,Message$
90
PRINT Code,Message$
100
UNTIL Code=0
110
END IF
120
PRINT Rslt
130
END
Self-Test Code
Description
0
Test passed
1
Test failed. An error message describes the failure.
Table 1-1. HP E1340A Self-Test Codes.
Chapter 1
Getting Started with the HP E1340A 36
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 ...