Keysight Technologies E5260 Series Programming Manual page 87

Parametric measurement solutions
Hide thumbs Also See for E5260 Series:
Table of Contents

Advertisement

To call programs
from a memory
program
To execute
programs
To use variables
To read programs
To delete
programs
NOTE
A memory program can invoke another memory program by storing the DO or RU
command in the memory program. Up to eight levels of nesting are available. The
first level is always the DO or RU command sent by the external computer.
Send the RU or DO command to execute the memory program.
OUTPUT @E5270;"RU 1,5"
This example executes the programs numbered 1 through 5 sequentially. These
programs must be stored in the memory.
OUTPUT @E5270;"DO 1,2,3,4,5"
This example executes programs 1, 2, 3, 4, and 5 in this order. These programs
must be stored in the memory. A maximum of eight numbers can be specified.
You can use variables in the memory programs. To enter the value to the variable,
send the VAR command. If the variable is referred by multiple programs or
commands, set or change the value carefully so that the program works fine without
errors. Format of the variable is %tn (t: integer I or real R, n: integer, 1 to 99).
In the following example, the first line stores a program (program 99) which uses
the %I50 variable. The second line enters 2 to %I50, and executes the program 99.
OUTPUT @E5270;"ST99;CN%I50;DV%I50,0,2;TI%I50;CL%I50;END"
OUTPUT @E5270;"VAR0,50,2;DO99"
To read the program numbers of the memory programs, send the LST? command
without a command parameter.
To read the contents of a memory program, send the LST? command with the
program number as shown below. Up to 3000 commands can be read by one
command execution.
OUTPUT @E5270;"LST? 100"
To delete all memory programs, send the SCR command without a parameter.
To delete a memory program, send the SCR command with the program number as
shown below.
OUTPUT @E5270;"SCR 100"
Turning off the instrument also clears the program memory. The device clear and
*RST commands do not clear the program memory.
Keysight E5260/E5270 Programming Guide, Edition 4
Remote Mode Functions
Program Memory
2- 25

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

E5270 seriesE5260aE5262aE5263aE5270b

Table of Contents