Agilent Technologies 35670A Manual page 433

Dynamic signal analyzer gpib programming
Hide thumbs Also See for 35670A:
Table of Contents

Advertisement

PROGram[:SELected]:NUMBer
Loads a new value for the specified numeric variable in the active Instrument BASIC program.
Command Syntax:
<VARIABLE> ::= name of a numeric variable
When data is ASCII-encoded (FORMat ASC), <BLOCK> takes the following form:
<BLOCK> ::= <number>[,<number>] . . .
<number> ::= a real number
When data is binary-encoded (FORMat REAL), <BLOCK> takes the following form:
<BLOCK> ::= #<byte>[<length_bytes>]<number>[,<number>] . . .
<byte> ::= number of length bytes to follow (ASCII encoded)
<length_bytes> ::= number of data bytes to follow (ASCII encoded)
<number> ::= a real number (32- or 64-bit binary floating point)
Example Statements:
Query Syntax:
Return Format:
Attribute Summary:
Description:
When you load an array with this command, values in the <BLOCK> parameter are loaded into the 1st
through nth elements of the array (where n is number of values in the block).
The analyzer uses the format specified by the FORMat[:DATA] command for query responses. The
analyzer generates an error if the specified variable is not defined in the active program. Use the
PROG:NAME command to specify the active program.
Use the PROG:STR command to load string variables.
PROGram[:SELected]:NUMBer '<VARIABLE>', <BLOCK>
(NRf data)
limits:
- 9.9e37:9.9e37
OUTPUT 711;"program:sel:numb 'Address',11"
OUTPUT 711;"PROG:NUMB 'Scode',7"
PROGram[:SELected]:NUMBer?
definite length <BLOCK>
Option:
1C2 Instrument BASIC
Synchronization Required:
Preset State:
not applicable
SCPI Compliance:
no
confirmed
PROGram
command/query
17-11

Advertisement

Table of Contents
loading

Table of Contents