C And Quickbasic Program Versions - HP E1340A User Manual

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

Advertisement

C and QuickBASIC
Program Versions
Chapter 3
380
OUTPUT @Afg;"SOUR:LIST:SEGM:SEL A"
390
OUTPUT @Afg;" SOUR:LIST:SEGM:VOLT";Waveform1(*)
400
!
420
Waveform2(I)=I*.0024414
430
NEXT I
440
FOR I=2048 TO 4096
450
Waveform2(I)=(4096-I)*.0024414
460
NEXT I
470
!
480
OUTPUT @Afg;"SOUR:LIST:SEGM:SEL B" !select segment name
490
OUTPUT @Afg;" SOUR:LIST:SEGM:VOLT";Waveform2(*)
500
SUBEND
510
!
520
SUB Rst
590
SUB Errmsg
The C example program, MULSEG.C, is in directory "CPROG" and the
QuickBASIC example program, MULSEG.BAS, is in directory
" QBPROG" on the C and QuickBASIC example disk (part number
E1340-10036).
Generating Arbitrary Waveforms with the HP E1340A
!select segment name
!load waveform points
!load waveform points
68

Advertisement

Table of Contents
loading

Table of Contents