Agilent Technologies E5071C Manual page 1144

Hide thumbs Also See for E5071C:
Table of Contents

Advertisement

4. During processing an event (during execution of a procedure for
a key pressed), another event (an interrupt by a procedure for
another softkey pressed) cannot be accepted.
5. You cannot save (export) the "UserMenu" object by module
basis; save it by project basis.
Settings for Softkey Label and Softkey Enabled/Disabled
When you want to change the softkey labels for the user menu function,
use the following COM object.
UserMenu.Item(Key_id).Caption
When you want to set the softkey enabled/disabled for the user menu
function, use the following COM object.
UserMenu.Item(Key_id).Enabled
Moreover, when you want to preset the above settings for the user menu
function, use the following COM object.
UserMenu.PRESet
The above user menu setting is also preset by pressing
Setup
Using User Menu Function
To execute a procedure assigned to a softkey, you need to generate an
event of pressing the softkey. To generate an event, the manual method
and the COM object method are available.
Method by Manual Operation
Click the specific softkey as follows:
> User Menu > Button <No>.
Macro Setup
"No." represents a button number. You can set the label for "Button No." as
you like. For detail, refer to the "Settings for Softkey Label and Softkey
Enabled/Disabled." section.
Method by COM Object
You can use the following COM object to perform the same operation as
pressing a specific softkey.
UserMenu.Press(Key_id)
Sample Program
Sample program is available to download from the Agilent Support page,
named meas_user.vba, that demonstrates how to use the user menu
> Preset User Menu on the E5071C front panel.
Programming
Macro
1371

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents