
3-112 Agilent B1500A/B1505A Programming Guide, Edition 11
Programming Examples
Using Program Memory
Using Program Memory
The program memory can store approximately 2,000 programs or 40,000
commands. Storing programs and executing them will improve the program
execution speed. The following commands are available to use program memory.
Command Function and Syntax
ST and END Stores the program in the memory.
ST pnum;command[ ... [;command] ..];END
or
ST pnum
[command]
:
[command]
END
[SCR] Scratches the program.
SCR [pnum]
[LST?] Gets a catalog of program numbers or a specific program listing
(up to 3000 commands).
LST? [pnum[,index[,size]]]
DO Executes specified programs.
DO pnum[,pnum ... [,pnum] ...]
RU Executes programs sequentially.
RU start,stop
[PA] Pauses command execution or internal memory program
execution.
PA [wait]
[VAR] Defines an internal memory variable, and sets the value.
VAR Type,N,Va lu e
[VAR?] Reads the value of the internal memory variable.
VAR? Type,N
Komentáře k této Příručce