PhaseStation 53100A User’s Manual V1.04 25-Apr-2022
192
/update
The
/update
function is useful in scenarios where
TSERVE[64].EXE
may need to be recompiled,
upgraded, or otherwise replaced over a network without manual intervention at the server
console. When
/update
is present on the command line, TSERVE will periodically check for the
presence of a file called
TSERVE[64].EX1
in the same directory as the executable. If
TSERVE[64].EX1
is ever found, the program will terminate with exit(2), reporting the message
“Server terminated due to release of new version.”
This feature depends on the use of a batch file or script to launch
TSERVE[64].EXE
. Upon
detecting exit code 2, the batch file or script should overwrite the program executable with a
copy of
TSERVE[64].EX1
, then delete the
TSERVE[64].EX1
file and relaunch the new
TSERVE[64].EXE
process with the same set of command-line parameters. When any other exit
code is returned by the program, the batch file or script can exit normally or take other actions.
As an example,
TSC.BAT
is provided in the TimeLab installation directory to demonstrate the use
of the
/update
and
/model
options. Any additional command-line options specified by the user
are passed along to the program as well.
TSC.BAT
appears below in its entirety.
@echo off
rem
rem Batch file to emulate a Symmetricom 5125A with the PhaseStation 53100A
rem
:start
rem
rem If tserve64.ex1 exists in the directory, rename it to tserve64.exe and run it
rem (passing any command-line arguments that were originally used with tsc.bat)
rem
if not exist tserve64.ex1 goto serve
copy tserve64.ex1 tserve64.exe >nul
del tserve64.ex1
:serve
if not exist tserve64.exe goto bail
tserve64 /model:"Symmetricom 5125A" /update %*
rem
rem If stream server exits with code 2, it means that the /autoupdate option
rem detected a new copy of tserve64.ex1 in the directory. Go back and launch
rem the new version without any manual intervention
rem
if errorlevel 2 goto start
:bail
/wait
If the
/wait
option is specified on the TSERVE command line, the program will prompt for a
keypress before terminating, except when the
/update
mechanism has been triggered by the
appearance of a newer executable version. See the description of the
/update
option below for
more information.
Содержание PHASE STATION 53100A
Страница 1: ...TM 53100A Phase Noise Test Set User s Manual Revision 1 04 April 25 2022...
Страница 16: ...PhaseStation 53100A User s Manual V1 04 25 Apr 2022 16...
Страница 18: ...PhaseStation 53100A User s Manual V1 04 25 Apr 2022 18...
Страница 20: ...PhaseStation 53100A User s Manual V1 04 25 Apr 2022 20...
Страница 30: ...PhaseStation 53100A User s Manual V1 04 25 Apr 2022 30...
Страница 36: ...PhaseStation 53100A User s Manual V1 04 25 Apr 2022 36...
Страница 42: ...PhaseStation 53100A User s Manual V1 04 25 Apr 2022 42...
Страница 64: ...PhaseStation 53100A User s Manual V1 04 25 Apr 2022 64...
Страница 74: ...PhaseStation 53100A User s Manual V1 04 25 Apr 2022 74...
Страница 104: ...PhaseStation 53100A User s Manual V1 04 25 Apr 2022 104...
Страница 116: ...PhaseStation 53100A User s Manual V1 04 25 Apr 2022 116...
Страница 122: ...PhaseStation 53100A User s Manual V1 04 25 Apr 2022 122...
Страница 130: ...PhaseStation 53100A User s Manual V1 04 25 Apr 2022 130...
Страница 140: ...PhaseStation 53100A User s Manual V1 04 25 Apr 2022 140...
Страница 143: ...PhaseStation 53100A User s Manual V1 04 25 Apr 2022 143 Figure 66 5 MHz residual phase noise and AM noise...
Страница 214: ...PhaseStation 53100A User s Manual V1 04 25 Apr 2022 214...
Страница 215: ...PhaseStation 53100A User s Manual V1 04 25 Apr 2022 215 Appendix Legal and regulatory notices...