EasyManua.ls Logo

HP 8924C - Page 291

HP 8924C
350 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
291
S:\HP8924C\USRGUIDE\BOOK\CHAPTERS\ibasic.fb
Chapter 6, IBASIC Controller
PROGram Subsystem
Syntax
PROGram[:SELected]:EXECute <delimiter><program_command><delimiter>
The following notation is used in the command description:
<delimiter> = IEEE 488.2 <string data> delimiter, single quote or double quote, must
be the same.
Example
OUTPUT 714;"PROGram:SELected:EXECute ’CLEAR SCREEN’"
or
OUTPUT 714;"PROG:EXEC ’CLEAR SCREEN’"
:NUMber <varname>{,<nvalues>} The :NUMBer command is used to set, from
an external controller, the 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, and can be sent as either character data (<varname> not enclosed in quotes)
or string data (<varname> enclosed in quotes). <nvalues> is a list of comma-
separated <numeric_values> which are used to set the value of <varname>.
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’,10".
Attempting to send a <var_name> longer than 12 characters as character data
(<var_name> not enclosed in quotes) will generate the following error:
HP-IB Error: -112 Program mnemonic too long.
If an attempt is made to set the value of a numeric variable or array and no
IBASIC program is in the Test Set an
IBASIC Error: -282 Illegal
program name
is generated. If an attempt is made to set the value of a numeric
variable or array and the numeric variable specified in <varname> does not exist
in the program an
IBASIC Error: -283 Illegal variable name is
generated. If the specified numeric variable cannot hold all of the specified
<numeric_values> an
IBASIC Error: -108 Parameter not allowed is
generated.
Syntax
PROGram[:SELected]:NUMBer <varname>{,<nvalues>}

Table of Contents

Related product manuals