Jump to content
The simFlight Network Forums

GPSout Problem on FS2004


Recommended Posts

Dear Pete,

I got your excellent module running on FS2002 with a Moving Terrain Vision Air which just runs great. Now I have bought FS2004 and encountered that the Magnetic Track on the Vision Air is only changing from 0° to 9°.

I checked out the datastrings coming from FS2002 and FS2004 an found following:

$GPRMC,xxxxxx.xx;A,xxxx.xxxx,N,xxxxx.xxxx,E,0,1,299,8,xxxxxx,1,2,

W*4B

correct should be ,E,0.1,299.8,xxxxxx,1.2,W*4B

$PGRMZ,410,9,f,2*0A

correct should be ,410.9,f,2*0A

Is there a way to get rid of that problem ?

Looking forward hearing from you

Oh, regarding TCAS Out for external purposes like Vision Air or MX20 I can get you the string format-it is not NMEA. It is a special format that contains the target data.

Regards,

Finn

Link to comment
Share on other sites

I got your excellent module running on FS2002 with a Moving Terrain Vision Air which just runs great. Now I have bought FS2004 and encountered that the Magnetic Track on the Vision Air is only changing from 0° to 9°.

But there's no difference in GPSout between FS2002 and FS2004.

I checked out the datastrings coming from FS2002 and FS2004 an found following:

$GPRMC,xxxxxx.xx;A,xxxx.xxxx,N,xxxxx.xxxx,E,0,1,299,8,xxxxxx,1,2,

W*4B

correct should be ,E,0.1,299.8,xxxxxx,1.2,W*4B

$PGRMZ,410,9,f,2*0A

correct should be ,410.9,f,2*0A

These sentences haven't been changed since GPSout was first written, several years ago. The track has been shown correctly on many applications for those years.

Maybe it is to do with your computer settings? The only thing I can think of is that you have your PC set to use "," for decimal points instead of '.'. Though if that is the case I would have thought someone would have noticed this in the last 5 years of so?

Can you check, please. The formatting is definitely correct here, but it does use the MSVC run-time library. I've not known that to change formatting before, but it may well do.

Oh, regarding TCAS Out for external purposes like Vision Air or MX20 I can get you the string format-it is not NMEA. It is a special format that contains the target data.

And what does it expect? Surely it doesn't expect to receive details of up to 96 targets (FSUIPC's airborne table capacity) over a 4800 bps serial line? I don't know what you are after here. Can you explain more? You might be better writing a separate program to read the TCAS data from FSUIPC and sending it direct. It doesn't sound like anything GPSout should be doing, even if I had the time to fit it in.

Regards,

Pete

Link to comment
Share on other sites

Dear Pete,

thank you very much for your reply.

The thing is that the computer setting haven´t been changed. The only thing that changed is the new installation of FS2004.

The Vision Air still runs fine on FS2002 which is on the same computer.

When I run FS2004 the mentioned problem occurs.

I appreciate all your help in this matter

Cheers

Finn

Link to comment
Share on other sites

The thing is that the computer setting haven´t been changed. The only thing that changed is the new installation of FS2004.

The Vision Air still runs fine on FS2002 which is on the same computer.

When I run FS2004 the mentioned problem occurs.

It is most definitely okay here, both on FS2002 and FS2004. I can only think that FS2004 is loading a different run-time library that includes this quirk.

Naturally, the standard NMEA sentences should not be "distorted" merely by having difference locale settings, and I should be able to program around this (computing the decimal fractions separately from the units, as I have to already for the Lat/Long figures). But before I make any such changes I'd like to be sure that it is indeed the locale problem which is doing this.

So, could you please, temporarily perhaps, set your locale preferences to standard English/American, i.e. numbers using . for decimal point, and then let me know? I'm sure you can change back if you wish afterwards.

Thanks,

Pete

Link to comment
Share on other sites

Dear Pete, :D :D

you are on the right path! I have changed the local settings to

English(US) and the Vision Air runs great just like on FS2002.

Here is the link to Moving Terrain in case you wanna see how the Vision Air looks like- http://www.moving-terrain.de

Thank you very very much for your help Pete

Cheers

Finn

Link to comment
Share on other sites

I have changed the local settings to

English(US) and the Vision Air runs great just like on FS2002.

Okay, that's good!

But I will change the coding in GPSout so this shouldn't be necessary in future. I have it on my list. I have a lot of other things too, but I should be able to fit it in before Christmas.

Here is the link to Moving Terrain in case you wanna see how the Vision Air looks like- http://www.moving-terrain.de

Thanks! I'll take a look.

Regards,

Pete

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.