
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
Summary of Contents for 4294A
Page 4: ...4 ...
Page 18: ...18 Contents ...
Page 24: ...24 Chapter1 To make effective use of this manual Other manuals attached to this unit ...
Page 94: ...94 Chapter6 Reading Writing Measurement Data Reading Writing Data ...
Page 110: ...110 Chapter7 Processing Measurement Results Analyzing Measurement Results ...
Page 136: ...136 Chapter10 Handling Errors Sample program for error handling ...
Page 246: ...246 13 Application Sample Programs File Transfer Function ...
Page 254: ...254 Chapter15 Setting the Display LCD Sample program for setting the LCD screen ...
Page 507: ...Index Index 507 Index ...
Page 508: ...508 Index Index ...
Page 509: ...Index Index 509 Index ...
Page 510: ...510 Index Index ...
Page 511: ...Index Index 511 Index ...
Page 512: ...512 Index Index ...
Page 513: ...Index Index 513 Index ...
Page 514: ...514 Index Index ...
Page 515: ...Index Index 515 Index ...
Page 516: ...516 Index Index ...
Page 517: ...Index Index 517 Index ...
Page 518: ...518 Index Index ...