09.12.2012 Views

HP 8590 E & L Series Spectrum Analyzers and HP 8591C Cable TV ...

HP 8590 E & L Series Spectrum Analyzers and HP 8591C Cable TV ...

HP 8590 E & L Series Spectrum Analyzers and HP 8591C Cable TV ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CAT Catalog<br />

70 I=I+l<br />

80 Pas-lf=POS(User$,CHR$(lO)) Checks for line feeds. CHR$(IO) represents<br />

the line feed, the ASCII code for a<br />

line feed is “10. ”<br />

90 Catalog$(I)=User$Cl,Pos,lf -21 Extracts catalog line.<br />

100 OUTPUT CRT;Catalog$(I) Displays catalog line.<br />

120 User$=User$[Pos,lf+l]<br />

130 END WHILE<br />

140 END<br />

Description<br />

To use the CAT comm<strong>and</strong>, you must specify the type of information to be cataloged <strong>and</strong> either<br />

the spectrum analyzer memory or the memory card as the catalog source. After the spectrum<br />

analyzer has sent the catalog information to the controller, the spectrum analyzer sends two<br />

line feed characters to the controller.<br />

Specifying the type of information: The types of information that can be cataloged depend<br />

on the source. See the following sections, “Cataloging the Memory Card” <strong>and</strong> “Cataloging<br />

<strong>Spectrum</strong> Analyzer Memory” for more information.<br />

Specifying the source: You can specify the spectrum analyzer memory or the memory card as<br />

the source by specifying INT or CARD, respectively. If source (CARD or INT) is omitted, the<br />

default is the current mass storage device. See “MSI” for more information about setting the<br />

current mass storage device.<br />

Note When CAT is executed from a remote port, the catalog information is sent to<br />

the remote port.<br />

Cataloging the Memory Card<br />

When cataloging a memory card, you can specify the type of information to be cataloged<br />

by specifying the letter (a, d, 1, i, s, or t) that represents the data type. For example, if you<br />

execute “CAT l*,CARD;” all of the limit line files on the memory card will be returned. The<br />

letters correspond to the data types are as follows:<br />

a* Amplitude correction files.<br />

d* Downloadable programs.<br />

1* Limit line files.<br />

i* Display files.<br />

S* Saved spectrum analyzer state.<br />

t* Saved spectrum analyzer traces,<br />

The asterisk (*) character is interpreted as a wild card. The asterisk can be used with the data<br />

type to catalog all files of that data type, or alone to catalog all files on the memory card.<br />

CAT returns the directory information only if a file has been found.<br />

What is returned when the memory card is cataloged: When the memory card is the catalog<br />

source, the cataloged information is returned to the computer as a series of strings. Each string<br />

contains information about one file that has been saved on the memory card. The information<br />

is placed in specific fields within a string as shown in the following table.<br />

5.90 Programming Comm<strong>and</strong>s

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!