beautypg.com

Command format, Comments – Spectra Precision ProFlex 800 Reference Manual User Manual

Page 351

background image

337

Set Command Library

This implies that the file (in text editable format) should have
first been saved to that key before connecting the key to the
receiver’s USB port.

Command Format

Syntax

$PASHS,CMD,LOD[,s][*cc]

Parameters

Examples

Running the serial commands in autoconfig.cmd:

$PASHS,CMD,LOD*54

Running the serial commands in a file named
“myconfig.cmd”:

$PASHS,CMD,LOD,myconfig.cmd*02

Comments

• The file can contain any $PASHS or $PAHSQ commands.

• If the file contains the $PASHS,REC or $PASHS,INI

command, this command will always be run last, whatever
its position in the file.

• All data lines returned by the receiver in response to the

executed commands are written to a log file named as
follows:

.log

• To insert an idle wait time of several seconds between any

two $PASH commands, you can insert a specific
command named $PASHS,CMD,WTI between these two
commands. The $PASHS,CMD,WTI command may be
inserted as many times as necessary in the file.

• Naming the command file “autoconfig.cmd” or

“uploadconfig.cmd” on the USB key will allow the
receiver to automatically start the execution of all the
commands stored in the file when you plug the USB key
to the receiver. 6A6EC3667E000The difference between
the two file names is in the need for a user confirmation
before running the file: “autoconfig.cmd” will require user
confirmation, not “uploadconfig.cmd”.

Parameter

Description

Range

Default

s

File name. If s is omitted, it is
assumed that the file to be run
is “autoconfig.cmd”.

255 characters
max.

autoconfig.cmd

*cc

Optional checksum

*00-*FF