PROGram Subsystem
AM700 Audio Measurement Set Programmer Manual 3–95
To download and overwrite an existing function file of the same name, the first
file must be deleted. Program names entered as character data are not case
sensitive and are reported back as all capitalized characters. Those entered as
string data will be reported back as entered.
Query: PROG:EXPL:DEF? <progname> returns the contents of the explicitly
named function file back to the controller via the GPIB interface in definite
length arbitrary block data format.
Error: Attempting to overwrite an existing function name generates an “Illegal
program name” error (–282).
Example: PROG:EXPL:DEF test,#223This is a test program. explicitly
names the program “test” and stores the program data in the file. The definite
length arbitrary block data header is the # symbol followed by an ASCII
character stating how many of the following bytes specify the byte count of the
program data. In the example it is 2 bytes. The following two bytes give the
byte count; in the case for this test program, the byte count is 23. You may use
more bytes to indicate the byte count as in #3023 or #40023, but when the
query is used to return the file the header will be shortened to #223.
PROGram:EXPLicit:DELete <progname>
Usage: Used to delete the explicitly named <progname> function file.
PROGram:EXPLicit:LABel? <progname>
Usage: Used to determine the label of the function file given by <progname> (if one
has been made in the file). This query looks in the first four lines of a function
file to find a label. A label consist of the non-terminating white space and text
between the end of the word “label” and the end of the line. Note: “label:” is
not case sensitive. Leading and trailing white space (blanks) are not considered
part of the label.