Agilent Technologies E8285A User Manual page 324

Cdma mobile station test set
Hide thumbs Also See for E8285A:
Table of Contents

Advertisement

:NUMber? <varname>
external controller, the current value of numeric variables or arrays in an IBASIC
program in the Test Set . <varname> is the name of an existing numeric variable
or array in the IBASIC program, and can be sent as either character data (name
not enclosed in quotes) or string data (name enclosed in quotes).
NOTE:
If the variable name <var_name> is longer than 12 characters it must be sent as string data
(<var_name> enclosed in quotes). For example, OUTPUT 714;"PROG:NUMB
'Var_name'".
Attempting to send a <var_name> longer than 12 characters as character data
(<var_name> not enclosed in quotes) will generate the following error:
GPIB Error: -112 Program mnemonic too long
For simple variables the value is returned as a series of ASCII characters
representing a numeric value in scientific notation (+3.00000000000E+000). For
arrays the values are returned as a comma separated list of ASCII characters
representing a numeric value in scientific notation. For example,
+3.00000000000E+000,+3.00000000000E+000,+3.00000000000E+000, etc.
Array values are sent by varying the rightmost dimension of the array the fastest.
If an attempt is made to query the value of a numeric variable or array and no
IBASIC program is in the Test Set an
variable name
numeric variable or array and the variable specified in <varname> does not exist
in the program an
generated.
Syntax
PROGram[:SELected]:NUMBer? <varname>
NOTE:
The program commands and syntax used to enter data from the Test Set into the external
controller will depend upon the programming language used in the external controller.
Considerations such as type conversion (integer to real, real to complex, etc.), the sequence
in which values are entered into arrays, the capability to fill an entire array with a single
enter statement, etc. will depend upon the capabilities of the programming language used
in the external controller. The examples which follow represent the capabilities of HP
Rocky Mountain BASIC programming language running on an HP
Controller.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
The :NUMBer? query command is used to return, to an
IBASIC Error: -283 Illegal
is generated. If an attempt is made to query the value of a
IBASIC Error: -283 Illegal variable name
Chapter 6, IBASIC Controller
PROGram Subsystem
is
®
®
9000/300 Series
323

Advertisement

Table of Contents
loading

Table of Contents