6
Command Reference
170 FOR I=1 TO Num_samples
180 Samp(I)=Int_samp(I) !CONVERT EACH INTEGER READING TO REAL
190 !FORMAT (NECESSARY TO PREVENT POSSIBLE INTEGER OVERFLOW ON NEXT
LINE)
190 R=ABS(Samp(I)) !USE ABSOLUTE VALUE TO CHECK FOR OVLD
200 IF R>=32767 THEN PRINT "OVLD" !IF OVLD, PRINT OVERLOAD MESSAGE
210 Samp(I)=Samp(I)*S !MULTIPLY READING TIMES SCALE FACTOR
220 Samp(I)=DROUND(Samp(I),4) !ROUND TO 4 DIGITS
230 NEXT I
235 !--------------------------SORT SAMPLES----------------------------
240 Inc=N1+N2 !TOTAL NUMBER OF BURSTS
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+1 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
354
Keysight 3458A User's Guide