ATLAS North America Proprietary
Sea Scan ARC Scout MKII Operations Manual
1 of 1
Page: 32
Issue: 1.2.4
SCTM2-OPS
Operations Manual
In the event of a problem attempt the upload and update process again. If the process is successful and the
system is rebooted the web page footer will reflect the new version and build date.
`
5.6
Setting The Time
Setting the Scout MkII's real time can be done using a HTTP Request for the
sonar.html
page or
sonar.json
file or one of the other methods (referenced in the Time Synchronization section). The
time
parameter
(URL encoded) is passed to the Scout MkII through the HTTP request URL. The
time
parameter starts after
"sonar.html?".
An example is provided on the sonar.html web page hosted by the Scout MkII. The request uses the
time
parameter. The time is encoded as the number of decimal seconds since the EPOCH (January 1st 1970).
This time (down to 1 second resolution) is commonly returned by the time( ) function available on most
computing systems. Time down to 2 or more decimal seconds can be calculated using operating system
specific function calls. Time in this format can be retrieved using Javascript using the following function
call:
Math.floor(Date.now() / 1000)
This is used in the example provided in the source code of the sonar.html page. Below is an example
request URL for setting the Scout MkII's time to Wed Apr 13 21:23:10 2016.
http://169.254.86.213/sonar.html?time=1460582590
The sonar time can also be set from the Sonar Control Panel, accessible from the Main Page. Selecting the
"Set Sonar Time" button will synchronize the system's time with the connected computer.