EasyManua.ls Logo

WILLTEK 4403 - Input; Locate

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...
Chapter 6 RAPID!
Commands
164 WCDMA Options Version 6.20
INPUT
LOCATE
Examples
CLS (Clears the screen and keeps the current text and
background settings.)
CLS , , "cour14" (Clears the screen, keeps the colors
and selects Courier 14 pt as new font.)
CLS white, blue, "lu10bi" (Clears the screen
and continues with white text on blue background, font
Lucida 10 pt, bold and italic.)
Syntax
INPUT [[inputPrompt$] ,variable]
Parameters
inputPrompt$ is a string expression,
variable is a numerical or string variable.
Description
Causes the program to wait for user input, reads data
entered on the keyboard into a variable and then contin-
ues the program run.
INPUT will first output the inputPrompt$ on the 4400
screen. Then it waits for the user’s input.
INPUT can read
data entered either into a numeric or a string variable.
The ‘signal’ for input finished is the CR symbol (achieved
by the user pushing the E
NTER key).
The symbols entered by the user will be stored in
vari-
able
and the program will continue.
Notes:
External keyboard and the keys of the 4400 may be
used in parallel. This means that an entry on the
external keyboard may be confirmed by pushing the
4400’s E
NTER key.
–In case
variable has been defined as a numerical
variable and the user enters any other symbol than
numbers and the decimal point, this will lead to an
error. A simple trick to avoid that is to always read the
value entered as a string and later convert that string
into a numerical value:
INPUT "Please enter channel number:" _
, channelno$
channelno = VAL(channelno$)
With the help of the INPUT command, you may also
read data from a file or the SCPI system.
Examples
INPUT "What’s your name? ", name$
INPUT
(The program waits until the user pushes the
Enter key.)
Syntax
LOCATE x, y
Parameters
x stands for the cursor’s new horizontal position,
y for the cursor’s new vertical position.

Table of Contents

Other manuals for WILLTEK 4403

Related product manuals