![Elnec DATAMAN-40PRO User Manual Download Page 152](http://html1.mh-extra.com/html/elnec/dataman-40pro/dataman-40pro_user-manual_2395135152.webp)
5.
Close of control program (/Close only together with parameter /Program)
Available command line parameters:
/Axxx
check programmer present on LPT port with address xxx only
example:
/A3bc
/SPP
force PC <-> programmer communication in unidirectional mode
Available command line parameters for starting program PG4UW in demo mode
Demo mode is useful in situations, when no programmer device is available. Demo mode can
be used by clicking button Demo in dialog Find programmer or by command line parameter
/demo. Recommended usage of the parameter is:
pg4uw.exe /demo /<programmer name>
where <programmer name> has to be replaced by name of wished programmer as it is used
in PG4UW control program.
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'
forces start of device programming without question
switch 'noanyquest' 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
Examples:
4. /Program
5. /Program:noquest
6. /Program:noanyquest
152
Summary of Contents for DATAMAN-40PRO
Page 7: ...Quick Start Introduction 7...
Page 12: ...Quick Start 12...
Page 15: ...Detailed description Detailed description 15...
Page 16: ...DATAMAN 448PRO2 16...
Page 29: ...DATAMAN 48PRO2 DATAMAN 48PRO2C DATAMAN 48PRO2 DATAMAN 48PRO2C 29...
Page 44: ...DATAMAN 40PRO 44...
Page 53: ...DATAMAN MEMPRO DATAMAN MEMPRO 53...
Page 60: ...Setup 60...
Page 71: ...PG4UW PG4UW 71...
Page 138: ...PG4UWMC 138...
Page 148: ...Common notes 148...
Page 159: ...Troubleshooting and warranty Troubleshooting and warranty 159...