Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Mr. Peter Dowson

I hope you can help me in an application I am working on which uses your great FSUIPC packages.

I find that not all the token variables have listed offsets that may be accessed in FS. One in particular that I am interested in is the “Engine1 Torque”, ID Number 140. I wish to access these token variables if possible but do not know how. Are they accessed by name or by ID number and if not by the ID number what is the ID number for? The program FSLook accesses all of these variables with no problems but how is it done?

As you have been so outstandingly generous in offering all of your great work to the public I am in hopes that you can tell me how to access these token variables.

BudsBud

Posted

I find that not all the token variables have listed offsets that may be accessed in FS. One in particular that I am interested in is the “Engine1 Torque”, ID Number 140.

"token variables" are accessed by Gauges through the FS Gauge interface, not via FSUIPC. Most useful values are available through FSUIPC, but possibly under a different name. I think the torque ones are only applicable to helicopters in any case, but search the offsets list for the word "torque".

The program FSLook accesses all of these variables with no problems but how is it done?

It uses an ealry inefficient and unsupported interface into FSUIPC. You should be looking at FSLook2 (which uses FSUIPC offsets normally and works with all versions of FS), or, better, at the FSUIPC offsets list in the Programmers Guide.

Regards

Pete

Posted

Mr Dowson

Many thanks for your prompt response to my query.

As others have asked: Yes I have been through all the SDKs available so I do no think that I have missed much.

Let me restate the problem. I found the proper variables in the gauges & panels SDK

And in using them in BMEP gauges. BMEP = Torque * 0.7381835 The gauge

XML shows “Eng Toque:1” for Engine 1 torque. The BMEP readings are pretty much according to engine specs so I feel the Torque values are correct also, This TORQUE value only appears as such in FSLook and is indentified as ID Number 140. and is not in FSLook2. It is not in the Interrogator as an offset listed variable either.

As you state the FSUIPC offset torques listed are for helicopters and are not the same as the one in question there fore not the correct ones for my use.

If FSLook uses an old inefficient interface, could I possibly have a copy of that interface so that I might learn how to extract these token variable values. I know that I am asking for quite a lot but if this piece is no longer supported I hope you might let me have a copy.

Thanks again and I hope all the best for you and yours.

MERRY XMAS

Posted

... there fore not the correct ones for my use.

Okay. I assume you've checked the value in offset 08F4? It isn't in the same units of course.

In that case the values you require are ones I never found, or possibly did find but was never asked for before.

Considering FSUIPC has been without these offsets for all of its 8 year life, I am surprised that it is now requested, but I shall add it to my list and look to see if I can add it early in the New Year. It is too late this year now. I am away for Christmas and won't be starting new development now till January.

I'll only be doing it for FS9 and FSX.

If you don't see anything by mid-January, remind me -- if that happens then either I've not been able to find it, or I've lost the list.

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.