
chazzie
Members-
Posts
1,589 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Downloads
Everything posted by chazzie
-
Multimonitor using FSUIPS/WideFS over LAN
chazzie replied to karstenschwegmann's topic in FSUIPC Support Pete Dowson Modules
Write your own software :) -
Help with CFS2 data aquisition...
chazzie replied to Overwhelmed's topic in FSUIPC Support Pete Dowson Modules
That's what it's for basically. You can only write a few values, such as coordinates and some other variables. Other than that it's just reading from FS-memory space. If you want to make a program, you will need to contact Pete Dowson for a key to use FSUIPC. It is free if you will be releasing your software as freeware, otherwise you must pay a license fee. Have a look in his forum here on simflight for information. -
FS2004 Will Not Run with FSUIPC Installed
chazzie replied to egbrugel's topic in FSUIPC Support Pete Dowson Modules
You should ask this question in Pete Dowson's FSUIPC forum here. He's the author of the brilliant piece of software. -
VB or C programmer searched for a FSUIPC function
chazzie replied to hm's topic in FSUIPC Support Pete Dowson Modules
I suggest you learn VB :lol: -
Getting the amount of fuel loaded in the Aircraft
chazzie replied to chazzie's topic in FSUIPC Support Pete Dowson Modules
I guess I stared myself blind in agony over seeing the % chars above :P Thanks, I'll get it working now. -
Tried another (stock) aircraft and it worked. Tried another add-on aircraft and it worked. Tried the first aircraft again and it worked for some reason. Re-started and tried with the first aircraft and it didn't work. Tried the add-on aircraft again and it worked. Switched back and it didn't work. I found that the main power switch was turned off in the first A/C, which seem to have caused the problem. Regards, Patrik
-
Hi All! I'm trying to get the gear position from FS to make a co-pilot say "Gear going down" - "Gear down - locked" etc. My problem is that I cannot seem to get any values inbetween 0 and 16383. The next reading after pressing the gear down button is 16383, just as it's 0 when retracting the gear. The code is as follows if anyone can see any problems: If FSUIPC_Read(&HBEC, 4, VarPtr(Tmp), dwResult) Then If FSUIPC_Process(dwResult) Then Nose_Gear_Pos = Tmp End If End If all according to the SDK.. Regards, Patrik
-
I've had similar experiences in VB6, which I traced back to either wrong declarations (ie. Integer instead of Long) or erroneous processing of the returned value. Might not be your problem, but every thought could be the key, no :D
-
Converting FS units to Decimal Lat/long
chazzie replied to chazzie's topic in FSUIPC Support Pete Dowson Modules
Forget it, I had a look in the SDK and saw that I was formatting the data erroneously, it should be 65536# * 65536# * 65536# * 65536# instead of 10001750# * 65536# * 65536#. Also, it should be divided by 360 and not 90. Regards and a lot of thanks for the help! Patrik -
Converting FS units to Decimal Lat/long
chazzie replied to chazzie's topic in FSUIPC Support Pete Dowson Modules
I got the latitude to work, however, I can't seem to get a decent value for the Longitude... I get a value at 12345,000000 something instead of -124,4323 which is the correct one. I just modified the code from Lat... If FSUIPC_Read(&H568, 8, VarPtr(Fake64Bit), dwResult) Then If FSUIPC_Process(dwResult) Then CurLong = Fake64Bit * 10000# CurLong = CurLong * 90# / (10001750# * 65536# * 65536#) End If End If Any Ideas? -
I've soloved this another way, I did not need to get the ICAO from FS at this moment, but I'll see if I'll use it later. Thanks anyways! Patrik
-
Converting FS units to Decimal Lat/long
chazzie replied to chazzie's topic in FSUIPC Support Pete Dowson Modules
I saw that, however I was uncertain wether it would provide me with decimal values or not. Regards, Patrik -
Converting FS units to Decimal Lat/long
chazzie posted a topic in FSUIPC Support Pete Dowson Modules
Well, the topic says it all :) I want to take the units provided by FS and convert them into decimal Latitude and Longitude. I'm working in VB6, so if anyone has an idea, please share. Patrik -
Thanks a bunch rickalty! Seems like the only difference was to dim the value as Byte rather than Integer. My project moves on :D Patrik
-
I'm trying to get local time (hours and minutes), but I sometimes get a very high number, like 14453. Sometimes I get the correct hour and minute, like Hr=14 Min=22 Here's how I read FSUIPC: If FSUIPC_Read(&H238, 1, VarPtr(Tmp), dwResult) Then If FSUIPC_Process(dwResult) Then LocHr = Tmp End If End If Any thoughts?
-
I have ArrICAO dim'd as a string, but when I use a string instead of Tmp (i.e. TmpStr) I get a program error and the program shuts down.
-
I'm trying to get the final destination (airport) out of FSUIPC so I do not have to use the next waypoint ID, plus I'd like to get the distance to the final destination...
-
I'm trying to get the GPS name string from FS, it says the length is 6 and the type is a string, however the program tends to hang and produce an error that asks me to send information to Microsoft. I'm programming in VB and it seems like I can only get numreric variables from FSUIPC but not strings. Here's a code-sample: If FSUIPC_Read(&H60A4, 6, VarPtr(Tmp), dwResult) Then If FSUIPC_Process(dwResult) Then ArrICAO = Tmp End If End If Text1.Text = ArrICAO This only produce a value around 20000, and not the ICAO which currently should be KPHX.
-
Can't set FF2 up. Irregular controls.
chazzie replied to Ravenblack's topic in FSUIPC Support Pete Dowson Modules
Are you using both GamePort and USB joysticks (or other input devices)? Doing that will cause a problem, so unfortunatly you're forced to choose either USB or GamePort devices. Using an USB device that connects gameports is not an option, since the device will register as an actual gameport and hence not solving the problem. My vote would be for the USB sollution, if that is the case. If you only have one of them, I don't know what is wrong. -
I see... :P Well, I don't think there's one hard-core flightsimmer that don't know what FSUIPC is :D
-
Hm Pete.. As I'm being heavily inspired by the Linux-world :) I came up with a small suggestion. Why not create a small logo that people can include in their programs, saying "Powered by FSUIPC" ? Forgive me if it already exists and I've missed it :D