- 35665-90052 Using HP Instrument BASIC with the HP 35665A
- E2083-90000 HP Instrument Basic Users Handbook
- 35665-90035 Quick Start Guide
- A collection of manuals and utilities for the 35665A from KO4BB
- Record a measurement
- Save the recorded program to a floppy disk
- Edit the program in a PC so that it can run
- Load and run the program in the 35665A
Keeping with the tradition of HP manuals this is a
[Hardkey], this is a
[SOFTKEY](the buttons at the right of the screen) and this is a
[SOFTKEY WITH AN OPTION]selected.
Recording a measurement
We will do a source characterization (the first task of the Quick Start Guide). To do this you need to connect a BNC male-to-male cable from
CHANNEL 1 first. Also now is a good time to insert a floppy disk in the drive.
Here we go:
[ENABLE RECORDING] this starts the recording
[SOURCE ON OFF]
[AVERAGE ON OFF]
[MARKER TO PEAK]
[REFERENCE TO MARKER]
[OUTPUT FILENAME] type "THDP0001"
[OUTPUT TO HPIB FILE]
[DEVICE IS PLOT PRNT]
[BASIC] this stops the recording and brinks up the HP Instrument BASIC menu.
[SAVE PROGRAM] type HPBASIC.B
Now the program is saved and you can move the floppy disk to the PC.
Open the program with a text editor. With any luck the program you saved looks like this:
And THDP0001 looks like this:
You can read here how to open a plot from the floppy drive.
If you try to run the program you recorded as is you will get something like this:
To run the stored program do the following:
[RECALL PROGRAM]type HPBASIC.B
The problem is that Instrument BASIC is feeding the commands to the Analyzer too fast. Now lets edit the program and add some delays. The 5 seconds are arbitrary (just to make the thing run). I am not trying to optimize how long the measurements takes.
The print should now look like this: