• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

C# reading and setting data

Messages
1
Hi,
i got asked by friend if i can develop something for him, but i dont undestand how the sdk works, let me explain what do i need.

The idea was to connect f.s. to some real hardware custom made (i dont mean to buy any software or any hardware, i want to develop all by myself, or i loose my fun part :D:D ).

i wanna start to interface f.s. to a C# proxy that than will dispatch comand to my hardware. i dont have problem interfacing C# and hardware(i did this for work), but problem with f.s. and C#.

how the hell do i ask to f.s. to give me a specified "virtual hardware" value ? i mean, i need for example to connect a led from the virtual cockpit to the real hardware, how do i ask to f.s. to give me the value of this led ? i mean theres some reference ? like FS.PANEL1.LIGHT1.value ? how can i know what name have this control in the game ?

step two, i wanna interface a hardware button to a virtual button on f.s. cockpit, than i need to set state from C# to F.S. , and i'm back with the problem again, how can i identify virtual controll ? and then send a value to it ?

when i'll solve this than i could start looking for something more complicated, like reading virtual lcd data from F.S. and writing to a real LCD, but i think that i will solve this fast if i can have some data handler from F.S. SDK

i took a look into msdn ... but microsoft documentation is kinda shit as always


i would be very grateful for any lil help that you can give me :)
 
i took a look into msdn ... but microsoft documentation is kinda shit as always
:rotfl:

I know the feeling, this helps...

  • Find a XPlane player, and beat them to death.
  • Find GreenSPAMS car, and blow it to hell.
  • Find a peaceful country and attack it... yes George Bush may have just been frustrated with the MS SDK as well ;)

Find the FSUIPC SDK because these guys are into what you doing, they have real joysticks ;)

And understand that until X... the good SDK stuff was and still is very much in the public domain... made by Joe Soap... for fun... so the info is in strange places... its out there, somewhere... soldier... and remember... we now have gay rights... Gee thank-you Queen Bernanke... yipee!
Yes, it might actually be worse, Celine Dion could have bigger balls than Obama... ha ha
 
Back
Top