Dataman 448PRO2AP User Manual page 136

Hide thumbs Also See for 448PRO2AP:
Table of Contents

Advertisement

Remote command line control of PG4UW
PG4UW can accept set of commands from the command line (command line parameters). The
remote control can be achieved also by these command line parameters, but more efficient
way is to use special tool pg4uwcmd.exe, which has many advantages. The main advantage
is size of the PG4UWCMD, which result the calling of PG4UWCMD results a much faster
response than calling of PG4UW directly.
Program pg4uwcmd.exe can be used to:
1. start PG4UW application with specified command line parameters
2. force command line parameters to PG4UW that is already running
Very good feature of pg4uwcmd.exe is its return code according to command line parameters
operation result in PG4UW.
Return values of pg4uwcmd.exe
If the command line parameters processed in PG4UW were successful, the ExitCode (or
ErrorLevel) of pg4uwcmd.exe is zero. Otherwise the ExitCode value is number 1 or more.
Return value of program pg4uwcmd.exe can be tested in batch files.
Following executive command line parameters are available to use with pg4uwcmd.exe
/Prj:<file_name>
Loads project file. Parameter <file_name> means full or relative project file path and name.
/Loadfile:<file_name>
Loads file. Parameter <file_name> means full or relative path to file that has to be loaded. File
format is detected automatically
/Program[:switch]
Forces start of "Program device" operation automatically when program is starting, or even if
program is already running. Also one of following optional switches can be used:
switch 'noquest'
switch 'noanyquest'
Examples:
/Program
/Program:noquest
/Program:noanyquest
/Close
This parameter has sense together with /Program parameter only, and makes program
PG4UW to close automatically after device programming is finished (no matter if operation was
successful or not).
/Saveproject:<file_name>
The command is used to save currently selected device type, buffer contents and configuration
to project file. Command /Saveproject is equivalent to user selected command Save project in
PG4UW control program.
forces start of device programming without question
forces start of device programming without question and after
operation on device is completed, program doesn't show "Repeat"
operation dialog and goes directly into main program window
136

Advertisement

Table of Contents
loading

This manual is also suitable for:

48pro2ap

Table of Contents