Program example 5: hp85 via gpib – SRS Labs SR510 User Manual

Page 53

Advertising
background image

49

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 SR510 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

40 DISP

″OUTPUT = ″

: V1

50

X = X + .0025

60

IF X>10 THEN X+0

70

OUTPUT 716 :

″X6,″:X

80

GOTO 20

Advertising