UCD Console for UCD-340 User Manual | Unigraf Oy
63.
-
wpdoso
urce
file name
Write device source PDO data to file (a device
must be open).
-
rpdosour
ce
file name
Read source PDO data from file to device(must
be open).
-h
List help for each command.
•
-o
specifies the amount output desired:
-o
0 selects minimum output.
•
-err
specifies the whether to continue or stop when a test or query fails.
•
-l
lists the connected devices.
•
-ll
lists the licenses for an open device.
•
-
devinfo
lists device information.
•
-
pr
prints the target text on a new line.
•
-
prapp
prints the target text appended to previous line (no carriage return).
•
-
prlastread
prints the target text followed by the value of the last CI value read.
•
-
prvar
prints the variable value (loop or global variable) appended to the previous
line. The + - * and /
operators can be used to modify the output. These operators can be used to produce decimal
output.
•
-d
selects a device by name (which must be listed in
init.tsi
).
•
-t
lists source device timings.
•
-p
lists source device patterns.
•
-m
loads macro definitions from a file (the default
macros.tsi
is also loaded if found
first).
Important:
This is read in as it is parsed so commands that rely on these macros
must come after. Macros with the same name overwrite those defined earlier.
•
-c
executes an expression of the form
Key=Value.Expression
; or a Macro.
•
-r
executes commands from a file. These are equivalent to console program
command parameters: Each space not within parentheses marks the start of a new
option or target. Options and targets must be on the SAME line. -c .read =
TSI_R__XXX would be interpreted as four command line parameters while -c
".read = TSI_R__XXX" would be interpreted as two command line parameters.
•
-x
is used to launch an external program or run a batch file (see 1.2.4.1 EXAMPLES
below). Use \" if you need to put parentheses within parentheses: "Like this \" Hello
World\"."
•
-xfeedback
is used to handle operator feedback when running tests that require
them. The target is the full path and name of application used to handle operator
feedback (see "Operator feedback during test execution" in this manual). This needs
to be run before the test:
-xfeedback
"C:\TSIX\tsi.exe"
-
c
.loadtd
=test443.td
•
-
if
conditionally runs commands between paired
-if -else
(optional) or
-else -endif
commands. It’s target must be a .read=Key.Expression or a n1.RO.n2.LO.n3... type
of expression. n1, n2 etc. are variables or numbers. RO is a relational operator (.eq.
.ne. .lt. .gt.). LO is a logical operator (.and. .or.). The latter expression type is
evaluated
from
left
to
right.
Ordering
of
the
form
-
if
n0.eq.1.and.n1.ne.10.or.n2.ne.1.and.n3.lt.5.or.n4.eq.0 makes things easy to
understand. See examples below.
•
-
else
marks the true block of an
-if
command.
•
-
endif
marks the end of an
-if
command.
•
-
yesno
Prints “text” and asks the user to enter “Y” for yes and “N” for no (works as
a truth value for
-ontrue
).
•
-
var
defines or updates a global variable. Variable names must start with an
alphabetic character and may also contain numerical digits as well as the
underscores ("_") and brackets ("[" and "]"). Subsequent statements with the same
variable name update the existing global variable. Global variables may be
incremented or decremented via the += and -= operators. Also the *= and /=
operators are available for scaling variables. Built
-
in variables are also available
(only
lastread
, which is the value of the last .read=TSIX_XXX operation, is
Summary of Contents for UCD-240
Page 1: ......
Page 76: ...UCD Console for UCD 340 User Manual Unigraf Oy 76 ...