Running serial commands from a usb key – Spectra Precision ProMark 800 Reference Manual User Manual
Page 148

136
Using Serial Commands
Running a Series of Commands
First of all, you need to create a TXT file containing all the 
commands you want the receiver to run. Save the file to the 
“MyDevice/FAST Survey/Data/” folder. Then do the following:
• Use the
Send File button in the upper part of the window
to select the TXT file and send it to the receiver.
• Once the receiver has executed all the commands
included in the file, a new window is displayed listing 
each of the commands run in the receiver as well the 
resulting receiver response line(s).
• Tapping
will take you back to the command window.
Running Serial Commands from a USB Key
Serial commands can also be run from a USB key you 
connect to the receiver’s USB port through the dedicated 
cable.
What you have to do is create a text file containing the list of 
serial commands you would like the receiver to execute.
In this file can also be inserted the $PASHS,CMD,WTI 
command, which is used to introduce an idle time before the 
receiver is allowed to execute the command that comes after.
After typing the last command in the file, press the ENTER 
key to insert a carriage return + line feed as the last item in 
the file. This is mandatory.
Then you just have to copy the file to the USB key’s root 
directory.
The receiver will always execute the list of commands (the 
script) in the given order, except for some commands like 
$PASHS,REC and $PASHS,INI, which are necessarily run 
last.
Starting the execution of the script may be done in two 
different ways:
• Automatically: The receiver will automatically prompt you
to run the script when you connect the USB key to the 
receiver. This is achieved by simply naming the file 
“autoconfig.cmd”
• Manually: This is achieved by naming the file differently
and using the $PASHS,CMD,LOD command to initiate the 
execution of the script.
Described below is the typical procedure to make the receiver 
run automatically a series of commands stored on a USB key 
under a file named “autoconfig.cmd”:
