Jump to content
The simFlight Network Forums

Recommended Posts

Posted
How can i read out the excact voltage on the battery bus via FSUIPC?

There's some electrical stuff in the "usupported" variables, listed in the second table in the Programmer's Guide. Check those in the 28XX range. Some of those are getting to be quite important (2834 in particular), so I may see about promoting them to "supported" status (i.e. move them to the first table).

if i understand this rigt i cant use the TOKVAR 2834?.....can someone explain why?

What do you mean by "TOKVAR" here? Token variables are things you use in FSUIPC gauges and are documented in Microsoft's own Panels SDK. I think the correct token name will be one of:

  • BATTERY_VOLTAGE,
    HOT_BATTERY_BUS_VOLTAGE,
    BATTERY_BUS_VOLTAGE,

The FSUIPC offset 2834 provides the same as the first one I think. The other two are at 2860 and 2870.

I don't know why you say you can't use these things. Can you explain that?

Regards,

Pete

Posted

Hello Peter.

Thank you for the swift answer.

What i ment was that the Token variable 2834 was not supported,yet, by the FSUIPC "Main list"....? So I could not use this to get the voltage of the battery or battery bus. i can only use the the offset 281C ( MASTER BATtERY SWITCH)

which is ON/OFF.

Good news that you are thinking of incorporating this soon. Do you think you will do this in the next version?

Best regards

Jens

Posted

What i ment was that the Token variable 2834 was not supported,yet, by the FSUIPC "Main list"....? So I could not use this to get the voltage of the battery or battery bus.

Why can't you use it? It is there, it works -- use FSInterrogate and see!

All "not supported" means is that I cannot guarantee to provide it in the next version of FS. Mind you, since I cannot actually guarantee even an FSUIPC for the next version of FS, this doesn't mean so much. I suppose what I really mean is that it wouldn't be on my main priority list to find, but if I came across it I'd map it to the same place.

Please please use FSInterrogate to check things out. You'll know what you can and can't get then. The utility is provided for such purposes.

Good news that you are thinking of incorporating this soon. Do you think you will do this in the next version?

The next version of the SDK documentation? It is NOT a change to FSUIPC, only a change in where the offset is listed -- in the first table or the second!

What DO you really think the second table is a list of, if not FSUIPC offsets? I'm evidently completely misunderstanding you here somehow. :-(

Regards,

Pete

Posted
How can i read out the excact voltage on the battery bus via FSUIPC?

There's some electrical stuff in the "usupported" variables, listed in the second table in the Programmer's Guide. Check those in the 28XX range. Some of those are getting to be quite important (2834 in particular), so I may see about promoting them to "supported" status (i.e. move them to the first table).

if i understand this rigt i cant use the TOKVAR 2834?.....can someone explain why?

What do you mean by "TOKVAR" here? Token variables are things you use in FSUIPC gauges and are documented in Microsoft's own Panels SDK. I think the correct token name will be one of:

  • BATTERY_VOLTAGE,
    HOT_BATTERY_BUS_VOLTAGE,
    BATTERY_BUS_VOLTAGE,

The FSUIPC offset 2834 provides the same as the first one I think. The other two are at 2860 and 2870.

I don't know why you say you can't use these things. Can you explain that?

Regards,

Pete

I'll put my vote in for getting these values into the supported listed, I'm trying to get the boys from Simkits to add them to the MC controller supported values.

Thanks

Peter

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.