beautypg.com

Running serial commands from a usb key – Spectra Precision ProFlex 800 Reference Manual User Manual

Page 312

background image

298

Using Serial Commands

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”:

• Connect the USB key to the receiver.

USB Port

Receiver

Cable P/N 702103

USB Key