Agilent Technologies 3458A User Manual page 243

Hide thumbs Also See for 3458A:
Table of Contents

Advertisement

130 OUTPUT @Dvm;"ISCALE?"
140 ENTER @Dvm; S
150 OUTPUT @Dvm;"SSPARM?"
160 ENTER @Dvm;N1,N2,N3
170 FOR I=1 TO Num_samples
180 Samp(I)=Int_samp(I)
190 !FORMAT (NECESSARY TO PREVENT POSSIBLE INTEGER OVERFLOW ON NEXT LINE)
190 R=ABS(Samp(I))
200 IF R>=32767 THEN PRINT "OVLD" !IF OVLD, PRINT OVERLOAD MESSAGE
210 Samp(I)=Samp(I)*S
220 Samp(I)=DROUND(Samp(I),4)
230 NEXT I
235 !--------------------------SORT SAMPLES------------------------------
240 Inc=N1+N2
250 K=1
260 FOR I=1 TO N1
270 L=1
280 FOR J=1 TO N3
290 Wave_form(L)=Samp(K)
300 K=K+1
310 L=L+Inc
320 NEXT J
330 NEXT I
340 FOR I=N1+l TO N1+N2
350 L=I
360 FOR J=1 TO N3-1
370 Wave_form(L)=Samp(K)
380 K=K+ 1
390 L=L+Inc
400 NEXT J
410 NEXT I
420 END
In the following program, the SSRC EXT event is used with synchronous AC
voltage measurements. After the trigger event occurs (the trigger arm and sample
events are AUTO), the first low-going TTL transition on the Ext Trig connector
initiates the first burst. Each successive external trigger will then initiate a burst
until the necessary number of bursts are completed.
10 OUTPUT 722;"PRESET NORM"
20 OUTPUT 722;"ACV 10"
30 OUTPUT 722;"SETACV SYNC"
40 OUTPUT 722;"SSRC EXT"
50 ENTER 722;A
60 PRINT A
70 END
!QUERY SCALE FACTOR FOR SINT FORMAT
!ENTER SCALE FACTOR
!QUERY SUB-SAMPLING PARAMETERS
!ENTER SUB-SAMPLING PARAMETERS
!CONVERT EACH INTEGER READING TO REAL
!USE ABSOLUTE VALUE TO CHECK FOR OVLD
!MULTIPLY READING TIMES SCALE FACTOR
!ROUND TO 4 DIGITS
!TOTAL NUMBER OF BURSTS
!TARM AUTO, TRIG SYN, NRDGS 1,AUTO
!AC VOLTAGE, 10V RANGE
!SYNCHRONOUS METHOD
!EXTERNAL SYNC SOURCE EVENT
!TRIGGER READING (TRIG SYN), ENTER READING
!PRINT READING
Chapter 6 Command Reference
SSRC
243

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents