Agilent Technologies 87130A manual Example Programs, Save Memory

Models: 87130A

1 140
Download 140 pages 20.39 Kb
Page 110
Image 110
Example Programs

Remote Operation

Example Programs

Example Programs

The following programs written in Rocky Mountain Basic provide sample programs that may be helpful in programming the 87130A.

Save Memory

In order to use the following program, you must first create a file named SWDATA. The following program can be used to read configuration data out of the EEROM so that it can be replaced.

10! READMEM program. Takes data from 87130A and outputs to a file

20 DIM A$[32767]

30 DIM Serialnumber$[10],Modelnumber$[6]

40 DIM Groupnames$(15)[12],Grouptitles$(15)[32]

50DIM Pathnames$(255)[12],Pathtitles$(255)[32], Pathval(255)

60DIM Groupdata$(15,255)[12],Groupauto(15)

70COM @Sw,@File

80MAT Pathnames$= (““)

90MAT Groupnames$= (““)

100MAT Pathtitles$= (““)

110MAT Grouptitles$= (““)

120MAT Groupdata$= (““)

130ASSIGN @File TO “SWDATA”

140ASSIGN @Sw TO 709

150Read_bitmap(“ROUT:VERIFY:ON”)

160Read_bitmap(“ROUT:DRIVE:ON”)

170Read_bitmap(“ROUT:PFA:CLOS”)

180Read_bitmap(“ROUT:PFA:OPEN”)

190OUTPUT @Sw;”DIAG:SER?”

200ENTER @Sw;Serialnumber$

210OUTPUT @File;Serialnumber$

220OUTPUT @Sw;”DIAG:MOD?”

230ENTER @Sw;Modelnumber$

240OUTPUT @File;Modelnumber$

250Read_bitmap(“ROUT:WIDT”)

260Read_bitmap(“ROUT:DELAY”)

270OUTPUT @Sw;”ROUTE:GROUP:CATALOG?”

4-68Agilent 87130A Operating and Service Manual

Page 110
Image 110
Agilent Technologies 87130A manual Example Programs, Save Memory