bertrandpsi / minisimconnect

A minimal code to demonstrate SimConnect (for FS2020)
Creative Commons Zero v1.0 Universal
13 stars 5 forks source link

No new Simvars #3

Closed FGET487 closed 3 years ago

FGET487 commented 3 years ago

Hi,

I hope I can reach out to you with that. I just found your awesom git repo and the example you provided just works like a charm, but when I try to add more reqested variables (see screenshots), the values are just empty. I tried to query G Force from the Sim, but it keeps being empty...

I also added you on steam, maybe we can discuss about it a bit better over discord or something.

Many thanks in advance!

Greetings,

Tobias Unbenannt Unbenannt2

bertrandpsi commented 3 years ago

The "G Force" requires most likely the unit "G Force" and not just "G" so your row should look like {6,"G FORCE,G force"} Those units are defined for example in the units.cs found in "Samples\SimvarWatcher" Hopefully that helps you ;)

FGET487 commented 3 years ago

The "G Force" requires most likely the unit "G Force" and not just "G" so your row should look like {6,"G FORCE,G force"} Those units are defined for example in the units.cs found in "Samples\SimvarWatcher" Hopefully that helps you ;)

That did the trick. Many thanks, and sorry for bothering :)