B-1
Appendix BAutomatic Project DownloadThe Phaser P470/P370 RF scanner is shipped from the factory with a pre-installed default
application. This fully functional application allows the scanner to be used “o ut of the box”.
If you need to load your own application into the scanner, the “Automatic Project Download”
feature will simplify the process.
When the default application is running, and the scanner is placed into its paired cradle, the
scanner will query the MCL-Link host for data in a file named “PHASER.CFG”. The scanner
will use the information in this file to find the project directory which the user wi shes to have
loaded into the scanner, and will then execute the PROJECT.CMD” script which exists in
the directory. This script will automatically download all program and data files releva nt to
the project to the scanner and will reset the scanne r making i t ready to r u n the user’s
application.
In order to utilize this mechanism, the user needs o nly generate the PHASER.CFG file and
place it in the directory specified in the MCL-Link setup screen as the “General path for data
files”. Any text editor may be used to create this file; the contents of the file are as follows:
X|<path name to the user’s project >
The X| at the beginning of the line are required for the MCL-Net CR command to recognize
this file and read the data. The path name should include the entire path hierarchy. Also, all
backslashes (\) in the path name should be replaced with the string “\5C”, so that t he MCL
code running on the scanner does not inadvertently convert part of th e path name to the
equivalent Hex Character.
An example PHASER.CFG file is shown below:
x|c:\5Cmcl-p460\5Cdesigner\5Csample1.prj