C And Quickbasic Programs - HP E1340A User Manual

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

Advertisement

C and QuickBASIC
Programs
87
HP E1340A Sweeping and Frequency-Shift Keying
400
OUTPUT @Afg;"SOUR:FREQ:SPAN?"
410
ENTER @Afg;Sweep4$
420
PRINT "START = ";Sweep1$,"STOP = ";Sweep2$
430
PRINT
440
PRINT "CENTER = ";Sweep3$,"SPAN = ";Sweep4$
450
SUBEND
460
!
470
SUB Rst
540
SUB Errmsg
The start, stop, center, and span values returned are:
START = +0.000000000E+000
CENTER = +5.000000000E+005
The C program SMPLSWP1.C is in directory "CPROG" , and the
QuickBASIC program SMPLSWP1.BAS is in directory "QBPROG" on
the example program disk HP P/N E1340-10036.
STOP = +1.000000000E+006
SPAN = +1.000000000E+006
Chapter 4

Advertisement

Table of Contents
loading

Table of Contents