Agilent Technologies 4294A Service Manual Page 464

  • Download
  • Add to my manuals
  • Print
  • Page
    / 518
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 463
464 Chapter 16
GPIB Command Reference
:PROGram:CATalog?
Instrument BASIC control commands
This section describes the commands used to control Instrument BASIC from the external
controller. The commands described here cannot be executed using Instrument BASIC.
:PROGram:CATalog?
Syntax :PROGram:CATalog?
Description Reads out the program name defined with the “:PROGram[:SELected]:NAME” command
on page 466. The 4294A provides no practical function. (Query only)
Corresponding
key
No front panel key is available to execute this function.
:PROGram[:SELected]:DEFine
Syntax :PROGram[:SELected]:DEFine <block>
:PROGram[:SELected]:DEFine?
Description Downloads an HP Instrument BASIC program from the external controller to the 4294A. If
the size of the downloaded program exceeds available space in the Instrument BASIC
program workspace, lines of the program sent before the overflow are stored, and program
lines sent after the overflow are ignored.
Executing this command as a query uploads the Instrument BASIC program on the 4294A
to the external controller. Uploading is available when the status of the program is PAUSE
or STOP.
Parameters
Arbitrary length block data consists of a header part and a following data part (program to
be sent). The header part has 2 formats as follows.
#0 Indicates that the size of the data part is not defined. In this case, after
sending the header part, data of an arbitrary size is sent. After all the
data is sent, send an end signal (<LF>+EOI) (for example, in the case
of HP BASIC, send END in an OUTPUT statement) to finish sending
the data. Transmission in this format can be executed only from GPIB,
but cannot from LAN.
#NMM...M Defines the size of the data part (N specifies the number of digits of
the number to indicate the size (the MM...M part); MM...M specifies
the size). In this case, data of the defined size is sent, following the
header part.
Query response {block}<newline><^END>
Reads out a program in an arbitrary length block in which the header part defines the data
size and the data part follows it.
Corresponding
key
No front panel key is available to execute this function.
<block>
Description Program data of arbitrary length block
Page view 463
1 2 ... 459 460 461 462 463 464 465 466 467 468 469 ... 517 518

Comments to this Manuals

No comments