EasyManua.ls Logo

Svantek SVAN 979 - Date and Time ( Example Decoding Procedure )

Svantek SVAN 979
377 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
257
SVAN 979 User Manual - Appendixes
Word
number
Name
Comment
6+i*9+8
N_RT30[i]
in the instantaneous results block:
reserved value
in the averaged results block:
number of averaged RT30 results for the next frequency
6+i*9+9
N_RTuser[i]
in the instantaneous results block:
reserved value
in the averaged results block:
number of averaged RTuser results for the next frequency
reserved
B.4. DATE AND TIME (EXAMPLE DECODING PROCEDURE)
Following function written in C explain how the date and time are coded:
void ExtractDateTime(int date, unsigned int time, int dt[])
{
dt[0] = time % 30; /* sec */
dt[1] = (time/30) % 60; /* min */
dt[2] = time/1800; /* hour */
dt[3] = date & 0x001F; /* day */
dt[4] = (date>>5) & 0x000F; /* month */
dt[5] = ((date>>9) & 0x007F) + 2000; /* year */
}

Table of Contents

Related product manuals