Instrument Basic Control Commands; Program:catalog; Program[:Selected]:Define - Agilent Technologies 4294A Programming Manual

Precision impedance analyzer
Hide thumbs Also See for 4294A:
Table of Contents

Advertisement

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
No front panel key is available to execute this function.
key

: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
#NMM...M
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
No front panel key is available to execute this function.
key
464
Description
Program data of arbitrary length block
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.
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.
<block>
Chapter 16

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents