
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
Содержание 4294A
Страница 4: ...4 ...
Страница 18: ...18 Contents ...
Страница 24: ...24 Chapter1 To make effective use of this manual Other manuals attached to this unit ...
Страница 94: ...94 Chapter6 Reading Writing Measurement Data Reading Writing Data ...
Страница 110: ...110 Chapter7 Processing Measurement Results Analyzing Measurement Results ...
Страница 130: ...130 Chapter9 Communication with External Equipment Using the I O Ports Sample Program to Use the I O Port ...
Страница 136: ...136 Chapter10 Handling Errors Sample program for error handling ...
Страница 246: ...246 13 Application Sample Programs File Transfer Function ...
Страница 254: ...254 Chapter15 Setting the Display LCD Sample program for setting the LCD screen ...
Страница 507: ...Index Index 507 Index ...
Страница 508: ...508 Index Index ...
Страница 509: ...Index Index 509 Index ...
Страница 510: ...510 Index Index ...
Страница 511: ...Index Index 511 Index ...
Страница 512: ...512 Index Index ...
Страница 513: ...Index Index 513 Index ...
Страница 514: ...514 Index Index ...
Страница 515: ...Index Index 515 Index ...
Страница 516: ...516 Index Index ...
Страница 517: ...Index Index 517 Index ...
Страница 518: ...518 Index Index ...