Jump to content
The simFlight Network Forums

New user basic question.


Recommended Posts

Hello everyone,

As a new FSUIPC user, I ask very basic questions. Sorry

I downloaded the FSUIPC_SDK.zip and found an example in UIPC_SDK_C.zip showing FS and FSUIPC version as well as FS time.

Everything is running fine (using Visual C++ 6.0 and FS2002) but the example interrogate offset 0238 for time and the response in the dialog box is alway zero.

" Request for time ok: FS clock = 00h:00m:00s "

I tried other offset but always with the same result.

Can someone help me ?

How can I for example read and write the bank and pitch angle of the aircraft ?

Than you everybody.

Link to comment
Share on other sites

Everything is running fine (using Visual C++ 6.0 and FS2002) but the example interrogate offset 0238 for time and the response in the dialog box is alway zero.

" Request for time ok: FS clock = 00h:00m:00s "

I tried other offset but always with the same result.

What does the FSUIPC LOG (in the FS modules folder) show? Are you using a user-registered copy of FSUIPC? Possibly you are not getting a proper connection because the example program is not getting access.

Please try using FSInterrogate and examining its results.

How can I for example read and write the bank and pitch angle of the aircraft ?

Look up the offset and size and units of those in the Programmer's Guide, and read them following the methods shown and documented.

But don't expect to be able to read much at all with an unregistered copy of FSUIPC. Until an unregistered FSUIPC sees a correct Access key it will only supply its version number and the FS version number.

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.