EasyManuals Logo

Agilent Technologies 4156C Command Reference

Agilent Technologies 4156C
424 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #366 background imageLoading...
Page #366 background image
5-284 Agilent 4155C/4156C SCPI Command Reference, Edition 1
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".
Syntax :PROGram:CATalog?
Query response "PROG" <newline><^END>
Example 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.
Syntax :PROGram [ :SELected ] :DEFine program
Parameter
Query response program <newline><^END>
program is uploaded as definite length arbitrary block response data.
Example !Indefinite length example
OUTPUT @Hp4155;":PROG:DEF #0"
OUTPUT @Hp4155;"10 PRINT ""HELLO!"""
OUTPUT @Hp4155;"20 END"
OUTPUT @Hp4155;" " END !Terminator
!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$
Parameter Type Explanation
program arbitrary
block
block data of a program

Table of Contents

Other manuals for Agilent Technologies 4156C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies 4156C and is the answer not in the manual?

Agilent Technologies 4156C Specifications

General IconGeneral
BrandAgilent Technologies
Model4156C
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals