LXE VX8 Reference Manual page 179

Hide thumbs Also See for VX8:
Table of Contents

Advertisement

FreeFloat WLinq
E-EQ-VX8RG-A
documents will be saved.
All programs are shut down
in a very abrupt way. Use
this function only if you are
aware of the consequences!
RunApp(
Starts the specified
"notepad.exe" )
program. To be sure that
the started application's
window is activated, use
RunApp(),
WaitForWindow(), and
SetFocus() in the given
order.
SetFocus(
Activates the first window
"*Notepad" )
that has a caption that
matches the window
caption pattern. Please see
Lock Output Window
description on the pattern
format.
WaitForWindow(
Waits until a window with a
"*Notepad", 3000 )
matching caption is found.
3000 is a timeout (in
milliseconds) that specifies
how long WLinq will wait for
the window to appear. Zero
means no timeout, that is
WLinq will wait until the
window appears.
WaitForAppExit(
Waits until the program
30000 )
started with RunApp() is
exited. 30000 means that
WLinq will give up waiting
after 30 seconds. Zero
means no timeout, that is
WLinq will wait until the
program is exited.
OpenPort()
Opens the serial port.
ClosePort()
Closes the serial port.
ClosePort() and OpenPort()
is needed when a data
output format starts a
program that uses the
same serial port as WLinq
does. You can then close
the serial port, start the
program, wait until it exits,
and then open the serial
port again.
SendData( "abc" )
Sends the characters abc to
the device connected to the
serial port.
SetProfile( "Other" )
Activates another profile.
Useful if you want to be
able to select dynamically
between two or more
profiles.
Call( "extapp.exe",
Outputs the current input
"c:\temp\input.txt",
string to the file input.txt,
"c:\temp\output.txt"
then starts the external
)
application extapp.exe. The
external application reads
the data from input.txt,
processess it and outputs
the result to output.txt.
Then the external
application exits. WLinq
for a
169
VX8 Reference Guide

Advertisement

Table of Contents
loading

Table of Contents