Program:catalog? - Agilent Technologies 4155C Command Reference Manual

Semiconductor parameter analyzer precision semiconductor parameter analyzer
Hide thumbs Also See for 4155C:
Table of Contents

Advertisement

Syntax
Query response
Example
Syntax
Parameter
Query response
Example
SCPI Commands

:PROGram:CATalog?

:PROGram:CATalog?
For the 4155C/4156C, only one program can be downloaded. So, the response of
this command is always "PROG".
:PROGram:CATalog?
"PROG" <newline><^END>
OUTPUT @Hp4155;":PROG:CAT?"
ENTER @Hp4155;A$
:PROGram[:SELected]:DEFine
This command is used to create and download a program.
The query form of this command is used to upload a program.
:PROGram [ :SELected ] :DEFine program
Parameter
Type
program
arbitrary
block
program <newline><^END>
program is uploaded as definite length arbitrary block response data.
!Indefinite length example
OUTPUT @Hp4155;":PROG:DEF #0"
OUTPUT @Hp4155;"10 PRINT ""HELLO!"""
OUTPUT @Hp4155;"20 END"
OUTPUT @Hp4155;" " END
!Query example
DIM A$[100000]
OUTPUT @Hp4155;":PROG:DEF?"
ENTER @Hp4155 USING "%,2A";HEAD$
B=VAL(HEAD$[2])
FOR I=1 TO B
ENTER @Hp4155 USING "%,A";HEAD$
NEXT I
ENTER 717 USING "-K";A$
5-284
Agilent 4155C/4156C SCPI Command Reference, Edition 1
Explanation
block data of a program
!Terminator

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

4156c

Table of Contents