Resetting And Clearing The Afg; Querying The Power-On/Reset Configuration - HP E1340A User Manual

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

Advertisement

C and QuickBASIC
Programs
Resetting and
Clearing the AFG
HP IBASIC (RSTCLS)
C and QuickBASIC
Programs
Querying the
Power-On/Reset
Configuration
37
Getting Started with the HP E1340A
The C and QuickBASIC versions of SLFTST are on the C language
example programs disk (HP P/N E1340-10036).
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.
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
The C and QuickBASIC versions of RSTCLS are on the C language
example programs disk (HP P/N E1340-10036).
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?
Chapter 1

Advertisement

Table of Contents
loading

Table of Contents