Keysight E5260/E5270 Programming Guide, Edition 4 3- 67
Programming Examples
Using Trigger Function
320 OUTPUT @E5270;"XE"
330 !
340 !E5270 starts measurement. Then E5270 sends negative gate
350 !trigger to the other instrument.
360 !Then the instrument should start measurement.
370 !
380 FOR I=1 TO Ib_num
390 ENTER @E5270 USING "#,3X,12D,X";Ic
400 PRINT "Ic= ";Ic*1000;" [mA]"
410 !
420 !Measurement data of the other instrument should be read.
430 !And the data should be displayed.
440 !
450 !The instrument must be set to the measurement ready and
460 !trigger wait condition.
470 !
480 !The instrument must send trigger to E5270. E5270 will
490 !start a step source output by the trigger, and perform
500 !a step measurement.
510 !
520 NEXT I
530 !
540 OUTPUT @E5270;"CL"
550 END
Line No. Description
320 Starts sweep measurement, and performs a step measurement.
When the Keysight E5260/E5270 starts a step measurement, it
sends a negative gate trigger. Then the other instrument should start
measurement.
390 to 400 Reads the measurement data, and displays the measurement data.
410 to 510 To synchronize the Keysight E5260/E5270 operation with the
operation of other instrument, add program lines to do following:
• To read and display the data measured by the instrument
• To set it to the measurement ready and trigger wait condition
• To send a trigger from the instrument
When the Keysight E5260/E5270 receives the trigger, it starts a
step measurement and sends negative gate trigger.
520 Repeats 390 to 510 the number of times specified by Ib_num.
540 Disables the source/measurement channels.