C and QuickBASIC
Programs
The C and QuickBASIC versions of SLFTST are on the C language
example programs disk (HP P/N E1340-10036).
Resetting and
Clearing the AFG
The commands used to reset and clear the AFG are:
*RST
*CLS
Resetting the AFG sets it to its power-on configuration and clearing the
AFG clears its status registers. Status register programming is covered in
Chapter 8.
HP IBASIC (RSTCLS)
1 !RE-SAVE"RSTCLS"
10
!Assign an I/O path between IBASIC and the AFG.
20
ASSIGN @Afg TO 80910
30
COM @Afg
40
!Call the subprogram
50
CALL Rst_cls
60
END
70
!
80
SUB Rst_cls
90 Rst_cls: !subprogram which resets and clears the AFG.
100
COM
@Afg
110
OUTPUT
@Afg;"*RST;*CLS;*OPC?"
!reset and clear the AFG
120
ENTER
@Afg;Complete
130 SUBEND
C and QuickBASIC
Programs
The C and QuickBASIC versions of RSTCLS are on the C language
example programs disk (HP P/N E1340-10036).
Querying the
Power-On/Reset
Configuration
After resetting the AFG or cycling power, the AFG parameters are set to
their power-on values. These values are listed in Appendix B, Table B-5.
The command which queries each AFG parameter setting is:
*LRN?
37 Getting Started with the HP E1340A
Chapter 1
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 ...