![background image](http://html2.mh-extra.com/html/racal-instruments/1257/1257_manual_3121580121.webp)
1257 User Manual
SCPI Command Basics 5-30
EADS North America Defense
Test and Services, Inc.
©
2001
Reading the
Presently Defined
Drawer Names
The MODULE:CATALOG? command may be used to read back
the presently defined module names. The format for this command
is:
[:ROUTe]
:MODule
:CATalog?
The reply to this command consists of the presently defined
module names, separated by a comma. Module names are stored
internally in upper-case characters by the 1257. These upper-case
names are returned in the reply.
For example, suppose the following commands have been
executed:
MODULE:DEFINE matrix,1
MODULE:DEFINE
rf_mux,1
Then the query:
MOD:CAT?
returns the reply:
MATRIX,RF_MUX
Reading the Module
Address for a
Drawer Name
The module address associated with a module name may be read
using the MODULE:DEFINE? query. The syntax for this
command
is:
[:ROUTe]
:MODule
:DEFine?
<module
name>
Using the example in the previous section of this manual, the
query:
MODULE:DEFINE? matrix
returns the reply:
1