EasyManua.ls Logo

WILLTEK 4403 - Program Subsystem

WILLTEK 4403
484 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...
Appendix A SCPI Command Reference
PROGram subsystem
292 WCDMA Options Version 6.20
PROGram subsystem
This subsystem contains commands related to loading and executing RAPID!
program files.
:PROGram[:SELected]:NAME
:PROGram[:SELected]:NUMBer
Syntax
:PROGram[:SELected]:NAME <string>
Parameters
string is an existing RAPID! program file name. The maximum length of string
is 50 characters.
Description
This command loads a RAPID! basic program file.
To start or stop the program, please use the :PROGram[:SELected]:STATus
command described below.
The name of the RAPID! basic program file may contain a path.
For more details regarding RAPID!, please refer to chapter “RAPID!” on page 133.
Query
The query returns the name of the currently loaded RAPID! basic program file as a
string.
Example
:PROGram:SELected:NAME "test7389.bas"
:PROG:NAME?
Value returned: "test7389.bas".
Syntax
:PROGram[:SELected]:NUMBer <string> [,int1] [,int2]
Parameters
string is the name of an existing numeric variable in the currently loaded RAPID!
program file. The maximum length of string is 100 characters.
int1 and int2 are two integers.
The minimum value for each intx is -32765, the maximum value is 32765. The
default value for each intx is 0.
Description
This command exists in a query form only. It is used to read out the current value of a
numeric variable of the currently loaded RAPID! basic program. The value will be
returned as a floating point real number.
For more details regarding floating point real numbers, please refer to section “Vari-
ables” on page 154.
Query
The query returns the current value of a numerical variable as one floating point real
number contained in a string.
Example
:PROGram:SELected:NUMBer? "BER_Samples",1,0
This example will read out the current value of the variable BER_Samples at array
position 1,0. The result could be 20000.0.

Table of Contents

Other manuals for WILLTEK 4403

Related product manuals