SRS Labs SR530 manual Program Example HP85 via GPIB, 10 x=0 20 OUTPUT 716 ″Q″ 30 ENTER, 110GOTO

Models: SR530 Lock-In Amplifier

1 82
Download 82 pages 49.26 Kb
Page 57
Image 57

Program Example 5:

HP85 via GPIB

This program provides an example of an HP85 program using the GPIB interface which could be used to control the lockin amplifier. In this example, the SR530 should be addressed as device #16 by setting the switch bank SW1 per the instructions Page 7.

10 x=0

20 OUTPUT 716 ; ″Q″

30 ENTER 716 : V1

40DISP ″CH1 = ″ : V1

50OUTPUT 716 ; ″Q2″

60 ENTER 716 : V2

70DISP ″CH2 = ″ : V2

80X = X + .0025

90IF X>10 THEN X=0

100OUTPUT 716 : ″X6, ″;X

110GOTO 20

53

Page 57
Image 57
SRS Labs SR530 manual Program Example HP85 via GPIB, 10 x=0 20 OUTPUT 716 ″Q″ 30 ENTER, 40DISP ″CH1 = ″ 50OUTPUT 716 ″Q2″