Agilent Technologies E5071C Manual page 1157

Hide thumbs Also See for E5071C:
Table of Contents

Advertisement

E5071C
The ctrl_ext.vba is a sample program to control instruments connected
through USB/GPIB interface cable using the E5071C as the system
controller. This VBA program consists of the following modules.
Object
name
mdlVisa
Module1
Module2
When you control peripherals from E5071C VBA, use the GPIB
commands provided for the instrument to communicate over
VISA. On the other hand, when you control the E5071C itself
from E5071C VBA, use the COM objects provided for the
E5071C to communicate.
Lines 90 to 100
Initializes and starts up the VISA system and outputs the startup
information to the Defrm variable. During this process, if an error occurs,
the program goes to the error handling routine (Lines 320 to 360).
Lines 130 to 140
Establishes the connection to the external instrument (GPIB address: 17)
connected via GPIB and outputs the connection information to the Equip
variable. During this process, if an error occurs, the program goes to the
error handling routine (Lines 320 to 360).
Lines 170 to 180
Queries the product information of the external instrument connected via
USB/GPIB interface cable using VISA. During this process, if an error
occurs, the program goes to the error handling routine (Lines 320 to 360).
Lines 210 to 250
Retrieves the product information through VISA and outputs it into the
Prod variable. Displays the read-out result in the message box. During this
process, if an error occurs, the program goes to the error handling routine
(Lines 320 to 360).
Line 280
1384
Module type
Standard
module
Standard
module
Content
Reads out the product information of
external instrument.
Two definition files to use VISA library

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents