Results 1 to 4 of 4
Thread: Fs2phidgets & textlcd
-
01-18-2009, 03:24 PM #1
- Join Date
- Apr 2008
- Location
- eham
- Posts
- 4
Fs2phidgets & textlcd
Hello, I have installed a textlcd in my aft-overhead functioning as the IRS display.
I cannot figure out how to convert the 0560 (lat. offset in fsx) and the 0568 (lon. offset) for displaying right numbers in degrees on my phidgets textlcd.
Is there anybody who can help me and give me a push in the right direction ?
thanks
André
-
01-23-2009, 11:11 PM #2
- Join Date
- Dec 2007
- Location
- North Bay, Canada
- Posts
- 21
Andre
According to the FSUIPC4 Offset Status document that comes with the FSUIPC_SDK you should try reading the 6010 and 6018 offsets to get an easier conversion of Latitude and Longitude.
These are for the GPS and output is in degrees.
When I tried reading the 0560 or 0568 with FSVariable it resulted in a overflow error.
6010 GPS: aircraft latitude, floating point double, in degrees (+ve = N, –ve = S).
6018 GPS: aircraft longitude, floating point double, in degrees (+ve = E, –ve = W).
Rick
-
Post Thanks / Like - 1 Thanks, 0 Likes, 0 Dislikes
adebruijn thanked for this post
-
01-25-2009, 12:47 AM #3
- Join Date
- Jan 2007
- Location
- Texas
- Posts
- 582
Andre,
You are in luck. The temperature today was 1deg Centigrade.
Too cold to work in my unheated hanger.
I upgraded FSVariable editor and FS2Phidget.
to work with offsets 0560 and 0568.
Sent you an email.
Attached zip contains:
(a) FSVariables4315.ini
Ini file contains two FSVariables:
LATITUDE_IRS and LONGITUDE_IRS
(b) FSVariable207.exe
The Editor has a new check box in the Conversion frame.
i.e. dddmm.m - this will convert a decimal expression to degrees and minutes in DDDMM.M format.
(c) FS2Phidget4316.exe
Assign the FsVariable to TextLCD as usual.
However, with standard formatting will display sign as "+" or "-".
Not to worry - there is a new formatting option:
Precede formatting with a "~" and then either a "N" or "S" for latitude.
Choose either character - does not matter - the program will sort it out.
or
Precede formatting with a "~" and then either a "E" or "W" for longitude.
Choose either character - does not matter - the program will sort it out.
(d) PhidgetTextLCDEmulation4.ini
A working example of above already configured.
Install these files in same folders as your current installation.
Regards,
AlanLast edited by CocnutAir; 01-25-2009 at 12:52 AM.
-
02-10-2009, 05:35 PM #4
- Join Date
- Apr 2008
- Location
- eham
- Posts
- 4
Great !!!
hello Alan,
After switching the driver PC to US language/keyboard like you
suggested the altered version works like a charm.
Thank you, I have now the long/lat running in the IRS on my AFT.
Similar Threads
-
Mutiple assignments on TextLCD
By cpeckinpaugh in forum FS2Phidget UsersReplies: 9Last Post: 04-27-2008, 09:42 PM -
TextLCD digital outputs question
By JBaymore in forum Phidgets & Cockpit Simulator BuilderReplies: 1Last Post: 07-13-2007, 01:48 AM -
TextLCD not getting detected
By JBaymore in forum FS2Phidget UsersReplies: 4Last Post: 04-17-2006, 03:50 PM -
TextLcd questions
By Andras in forum FS2Phidget UsersReplies: 15Last Post: 07-05-2005, 09:28 AM -
TextLCD, encoders and radios
By RobertoR in forum FS2Phidget UsersReplies: 4Last Post: 03-29-2005, 05:09 AM