CAT Catalog

CAT

Catalog

Catalogs either spectrum analyzer memory or the memory card and returns the catalog
information to the controller.
Syntax
Equivalent Softkeys: the functions accessed by Catalog Internal or Catalog Card.
Related Commands: LOAD, MSI, STOR.
Example
This example returns the catalog information for the states stored on the memory card. Catalog
information is sent as individual catalog lines that are separated by a carriage return and a
line feed. A carriage return, a line feed, and a line feed with an EOI (equivalent to a carriage
return, a line feed, and a line feed) is asserted after the last item.
10
20
30
DIM User$
[2000]
,Catalog$
(1:
100)
[80]
Dimensions strings to store the catalog
in$ormation.
U.ser$
stores the entire
string of catalog irlformation.
Catalogs
stores the catalog
irlforrnation
line by
line (up to 80 lines and 100 characters
end.
INTEGER
I,Pos,lf
I and
FbsJf
are used to search through
Users
string.
OUTPUT
718;“CAT
s*,CARD;”
The spectrum analyzer sends catalog in-
formation for all the states stored on the
memory card.
40
ENTER 718 USING
‘I#,
-K”
;User$
50
I=0
60
WHILE
LEN(User$)
>l
Reads
the catalog iqforrnation into the
Users
string.
Loops until the
Use&
string is empty.
Programming Commands
5-88