Results 1 to 1 of 1
-
01-29-2015, 09:47 AM #1
small SIOC script help for latitude/longitude text
Hello,
can someone with some SIOC knowledge help me on my idea.
I want to display on an LCD Display, driven by Opencockpits USB LCD Card, the leading letters N or S and E or W from my current position.
So far I found out the following:
FS Offsets are not available for those text output. They must be calculated with SIOC.
There are the following offsets available for the position:
- 0560, latitude in FS units as a 64-bit integer
- 0568, longitude in FS units as a 64-bit integer
- 6010, latitude from GPS in 64-bit floating point format.
- 6018, longitude from GPS in 64-bit floating point format.
It will be required to inerpret the sign if the floating point has a leading - its S or W. If not, than its N or E.
And those N or S and E or W need to be written to a separate variable, that I can read this again with the LCD config tool.
I don't have those much knowledge in SIOC to get this done.
I would appreciate any help.
Thanks a lot,
Markusbest regards, Markus
Boeing 737NG Home Cockpit: https://737cockpit.info