AvDCS.exe

SUMMARY

Calling AvDCS Application

SYNTAX

AvDCS.exe project-file [/FG | /BG ] [/RECT=left;top;with;height]

or

AvDCS.exe project-file [/FG | /BG ] [/RECT=left-top-with-height]

OPTIONS

project-file
A Visu2000 Project-File (extension *.prj.xml) with the complete path.
/FG
Moves the AvDCS-Window to the foreground. The window is kept in the foreground until it is moved to the background by /BG.
/BG
Moves the AvDCS-Window to the background.
/RECT
Opens the window in the place cited with the defined size.

Parameter Meaning
left x-Coordinate of the left top corner (Pixel)
top y-Coordinate of the left top corner (Pixel)
(The origin of the coordinates is the left top corner of the screen, the positive Y-Axis is pointing downwards)
width with of the window (Pixel)
height height of the window (Pixel)

DESCRIPTION

AvDCS can be called up multiple. Thereby no new application window is opened but the parameters like /FG, /BG und /RECT are handed over and the window is adjusted accordingly.
Note:
The syntax using hyphens as separators is preferably to be used on calling AvDCS out of the VisuNT runtime with the command Usr_ExecShellCmd().

EXAMPLES

AvDCS.exe C:\vision\prj\MyProject\DCS\DCS_Project.prj.xml \RECT=40-40-800-600


Syntax Notation
[aaa]
aaa is optional (zero or one occurences)
(aaa|bbb)
aaa exclusive or bbb
(aaa)*
aaa may occur indefinitely often or may be omitted
(aaa)+
aaa may occur indefinitely often but at least once
(aaa)m..n
aaa may occur from m to n times