783620H / 1013 11. UTILITIES
11.1.5. Command Line Interface
The GVPlot command line interface supports options available in the interactive mode as shown below:
GvPlot <spectrum> -U <ufofile> -R <roifile> -S <setfile> -P
where:
<spectrum>
-U <ufofile>
-R <roifile>
-S <setfile>
-P
Specifies the spectral data file (
.SPC
,
.An1
, or
.CHN
). The extension must be included.
Specifies the
.UFO
file. The extension must be included.
Specifies the
.ROI
file. The extension must be included.
Specifies the settings file. The extension must be included.
Print the plot to the PC’s Windows default printer and exit automatically.
Used mainly in
.JOB
files and File/Export....
11.2. TRANSLT
The TRANSLT program ( under
TRANSLT.EXE
, located in your operating system’s program files folder
\GammaVision
) translates several different text files to and from
.SPC
or
.CHN
files. All operation is controlled from the command line. The command line is:
TRANSLT [-type] inname [[-type] outname] [-w] [-nc] [-col n] [-ni] [-nh] [-i]
where:
type inname chn
The
The
inname
file is in CHN format.
file is in SPC format.
txt
The
inname
file is in ASCII text format.
The default is based on the filename extension and the
i
switch. Both
chn
and
spc
cannot be used together.
The input spectrum file, no default; default extension is
.TXT
SPC
. If the input file is a
file, it must contain the live and real time in this format:
Real Time: 240.
Live Time: 120
435
GammaVision
®
v7 (A66-BW) 783620H / 1013
i nh w nc
Both values are in seconds.
type
The header information in the
.TXT
file will be converted and stored in the file if it is in the correct format. The correct format for the
.TXT
.SPC
input file is the same as the
.TXT
format created as the output file.
chn
The
The
outname
file is in CHN format.
file is in SPC format.
txt
The
outname
file is in ASCII text format.
outname
The output spectrum file. The default is the the
outname inname
with the extension changed. If
is not given, the spectrum file will not be overwritten by the default name. The length of the spectrum file converted from text will be the next higher power of two with the surplus channels set to 0.
Set the format output to 128 characters per line; default is 70 characters per line.
col n
Do not print channel as first number in line; default is to print the channel number.
The channel number is followed by a colon (
:
) to separate it from the data.
Number of data columns is
n
; default is 5. Error returned if line width will exceed available space.
ni
Do not write acquisition or analysis information in output file; default is to write this information.
Do not write header information in output file; default is to write this information.
Import a text file and save as
.SPC
(or
.CHN
) file. If one filename is given, default is to convert that file to the other format, i.e., for
AAA.SPC
; the output will be
AAA.TXT
The
. If two filenames are given, the default is to convert the spectrum to text.
file will be overwritten even if the
.SPC
file is not located.
Example:
TRANSLT -SPC GOODSPEC -TXT TEXTSPEC -ni -nh -col 1
This will make a text file of one column with no header, no analysis information, and one channel per line.
436