EasyManua.ls Logo

WILLTEK 4403 - Page 315

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
WCDMA Options Version 6.20
293
:PROGram[:SELected]:STRing
:PROGram[:SELected]:CRC
:PROGram[:SELected]:STATus
Syntax
:PROGram[:SELected]:STRing <string> [,int1] [,int2]
Parameters
string is the name of an existing string variable in the currently loaded RAPID! pro-
gram 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
string variable of the currently loaded RAPID! basic program. The value will be
returned as a string.
For more details regarding strings, please refer to section “Variables” on page 154.
Query
The query returns the current value of a string variable as a string.
Example
:PROGram:SELected:STRing? "LST_Output_File$",2
This example will read out the current value of the variable LST_output_file$
at array position (line) 2. The result could be
"c:\4400\rapid\test7389.lst".
Syntax
:PROGram[:SELected]:CRC
Parameters
There are no parameters.
Description
This command exists in a query form only. It allows to read out the CRC Checksum of
the RAPID! basic program currently loaded. The value will be returned as a long inte-
ger number.
Note: A long integer number allows a maximum value of 2,147,483,647.
Query
The query returns the CRC checksum of the currently loaded RAPID! basic program as
a string, containing one long integer number.
Example
:PROGram:SELected:CRC?
The value returned could be "5356362".
Syntax
:PROGram[:SELected]:STATus <PredefExp>
Parameters
PredefExp is one of the following predefined expressions: RUN|STOP.
Default is RUN.
Description
Starts (RUN) or stops (STOP) the execution of the currently loaded RAPID! program
file.
For details regarding RAPID!, please refer to chapter “RAPID!” on page 133.
Query
The query form of this command returns the current setting. A query will return a
string, containing one of the predefined expressions explained above.
Example
:PROGram[:SELected]:STATus RUN
:PROG:STAT?
Value returned: "RUN".

Table of Contents

Other manuals for WILLTEK 4403

Related product manuals