Jump to content
The simFlight Network Forums

Recommended Posts

Posted

does not matetr what language you are using:

Open FSUIPC

LOOP "ENDLESSLY"

READ data from FSUIPC;

USE data from FSUIPC

Sleep for a number of msec (say 50 if you want to sample 20 times/second)

END LOOP

Nico

Posted

Open FSUIPC

LOOP "ENDLESSLY"

READ data from FSUIPC;

USE data from FSUIPC

Sleep for a number of msec (say 50 if you want to sample 20 times/second)

END LOOP

Or, so you can process Widows messages too:

Open FSUIPC

Set a timer (SetTimer API) for 50 mSecs, say

On timer:

READ data from FSUIPC;

USE data from FSUIPC

EXIT.

On Quit:

KillTimer

Close FSUIPC link.

Regards,

Pete

Posted

Thank you for replying

However i does not know how to open the FSUIPC file cos its a .dll file formate and i never learn it before

This project that i working on was a school project and it require me to extract data from FS2004 to display out digital data on a LCD screen

Please help me because our group programming skill is not that strong

Thank You

Posted

However i does not know how to open the FSUIPC file cos its a .dll file formate and i never learn it before

You don't open FSUIPC's file. You don't deal with DLLs at all. The FSUIPC DLL is installed in and runs as part of Flight Sim.

You need to get the FSUIPC SDK and check the examples there for the language you are using. When we say "Open FSUIPC" we mean "open the link to FSUIPC" -- this uses a call to a procedure/function called FSUIPC_Open.

Regards,

Pete

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.