Defkey - Agilent Technologies 3458A User Manual

Hide thumbs Also See for 3458A:
Table of Contents

Advertisement

Example

DEFKEY

Syntax
number
string
Remarks
OUTPUT 722;"DEFEAT ON"
Define Key. Allows you to assign one or more commands to a particular
user-defined function key on the front panel (these keys are labeled f0 - f9). After
assigning one or more commands to a key, pressing that key displays the
command(s) on the multimeter's display. Pressing the Enter key will then execute
the command(s) in the order listed. The DEFKEY DEFAULT command erases
the strings assigned to all user-defined keys.
DEFKEY number,string
or
DEFKEY DEFAULT
The number parameter is an integer in the range 0 - 9 (or F0 - F9) that designates
the particular function key.
Power-on number = none.
Default number = 0.
The string parameter is the command or list of commands to be assigned to the
function key. (Link multiple commands with a semicolon.) The string parameter
must be enclosed in single or double quotes. The maximum string length is 40
characters (the quotes enclosing the string are not counted as characters).
Power-on string = none.
Default string = none (clears any previous string).
DEFAULT
Erases the strings assigned to all user-defined keys.
Key definitions stored from the front panel can be edited from the front panel.
Definitions stored from remote cannot be edited.
You cannot embed quotes in the DEFKEY string. This means you cannot use
the DISP command with a message in quotation marks as a string parameter.
You can, however, use the DISP command and an unquoted message (refer to
the DISP command for limitations on unquoted messages).
Query Command. The DEFKEY? query command returns the string parameter
currently assigned to a particular function key (see example below). The string
returned by the DEFKEY? query command is enclosed by double quotation
marks, regardless of whether single or double marks where used when it was
specified.
Related Commands: LOCK, MENU
!DISABLES PROTECTION, SYNTAX & ERROR ALGORITHMS
Chapter 6 Command Reference

DEFKEY

169

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents