Agilent Technologies E5071C Manual page 1111

Hide thumbs Also See for E5071C:
Table of Contents

Advertisement

E5071C
The E5071C allows you to run a program from E5071C screen using one of
the four methods listed below.
1. Display the E5071C measurement screen following the instructions
given in Switching to the E5071C Measurement Screen.
2. Run the VBA program (procedure) using the following key sequence:
Macro Setup
where "Module" is the object name (Name property shown in the
property window) and "xxx" is the procedure name.
Press the
to be run from the measurement screen, its procedure name must be
"Main" (subprogram enclosed between Sub Main() and End Sub), and
its object name (Name property as displayed in the property window)
must be "Module1".
When you are working with the E5071C measurement screen,
the E5071C's macro environment only provides access to those
VBA programs that are created as subprograms (enclosed
between Sub and End Sub) in a standard module.
Loading and Executing Programs in Batch Process
This section describes how to load and execute a program (VBA project) in
a batch process by pressing the softkey corresponding to the program
name.
1. Save the VBA program (VBA project file) into the following folder.
D:\VBA
o
o
2. Press
Macro Seup
3. Click Load & Run.
4. Press the softkey corresponding to the VBA project file name of the
program you want to execute. The pressed VBA project is loaded and
the program whose procedure name is set to "Main" (subprogram
enclosed between Sub Main() and End Sub) and whose object name
(Name property as displayed in the property window) is set to
"Module1" is executed.
1338
> Select Macro - Module xxx
key on the E5071C front panel. For a program
Macro Run
This feature is available only for programs saved in
D:\VBA. This feature is not available for programs saved in
subfolders of D:\VBA.
When copying a VBA program to D:\VBA from another
folder, copy all the files necessary to execute the program
to appropriate folders. When copying a factory-installed
VBA program into D:\VBA, choose only its VBA project
file.
key.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents