Technical data
User’s and Service Guide 13
87050A Option K22 Commands
If you are using Quick Basic or Visual Basic, be sure to disable EOI and EOL before
sending commands to the test set. Including the semicolon in program commands will not
ensure that these commands are disabled as would be the case in HP Basic/RMB. Using
the 82335 GPIB Interface and Visual Basic, the following commands will disable EOI and
EOL, send the necessary data to the test set, and re-enable EOI and EOL. Be sure to
re-enable EOI and EOL before sending data to another instrument.
HpibEoi(hHpib;7,0) 'disable EOI
HpibEol(hHpib;7,"",0) 'disable EOL
HpibOutput(hHpib;712,chr$([D])) 'send command to test set
HpibEol(hHpib;7,chr$(13)+chr$(10),2) 're-enable EOL and set to
'chr$(13)+chr$(10)
HpibEoi(hHpib;7,1,) 're-enable EOI
where hHpib specifies the handle returned by HpibOpen. For more information on the
EOI and EOL commands, refer to the programming library manual supplied with the
82335 interface.
Figure 7 Controlling the Test Set Over GPIB (HP-IB)
NOTE Connection to the network analyzer is not required when controlling the test
set over GPIB.
NETWORK ANALYZER
87050A-K22
CONTROLLER
GPIB (HP-IB)










