home *** CD-ROM | disk | FTP | other *** search
- @echo off
- rem Heath GC-1000 Most Accurate Clock
- rem Interface Software V0.2
- rem Copyright (c) S.K. Consultants, 1990
- echo Heath GC-1000 PC/CLOCK Interface Software attempting to read clock...
- setclock %1
- if errorlevel 7 goto E7
- if errorlevel 6 goto E6
- if errorlevel 5 goto E5
- if errorlevel 4 goto E4
- if errorlevel 3 goto E3
- if errorlevel 2 goto E2
- if errorlevel 1 goto E1
- goto EXIT
-
- :E1
- echo No response; RS-232 Communications error!
- goto EXIT
-
- :E2
- echo Clock synchronized to WWV time signal and accurate to 10ms.
- echo PC's date and time have not been set.
- goto EXIT
-
- :E3
- echo Clock not receiving WWV time signal - not guaranteed to be accurate.
- echo PC's date and time have not been set.
- goto EXIT
-
- :E4
- echo Clock has not yet received WWV time signal!
- goto EXIT
-
- :E5
- echo Failure to read configuration file!
- goto EXIT
-
- :E6
- echo Clock synchronized to WWV time signal and accurate to 10ms.
- echo PC's date and time have been set!
- goto EXIT
-
- :E7
- echo Clock not receiving WWV time signal - not guaranteed to be accurate.
- echo PC's date and time have been set!
- goto EXIT
-
- :EXIT
-