Jump to content
The simFlight Network Forums

Starken

new Members
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Earth

Starken's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. hello,Pete Although I don't know exactly which step I write wrong,I finally find a way,let pmdg do the right things,via fsuipc.(btw,sorry about my english) I have tried these lua things you taught me,like ipc.writeUD or ipc.control or keypress section's [custom control] way.If I send a control event and a parameter 1,All these methods show me the same situation like we talked before,it's just show '1' one times and no response any more. Then I go back to read the pmdgsdk PDF again,find out there is another way to control.Not write 1 or 0 to the parameter offset3114,but write 0x20000000 or 0x40000000 (etc)to 3114,these numbers mean some mouse operations ,like left click and so on. So,finally,let the pmdg to do the right things. Thank you Pete,just want to say thank you again.Thanks for writing such a great software! Best Regards
  2. Hi,pete When I put 1 to offset3114 and 70193(EVT_CDU_L_1 , 69632 + 561,e.g.) to 3110,then white FSUIPCConnection.Process();(I use C# and FSUIPC Client DLL for .NET of course),the pmdg CDU just show me "1" once,and then I push the button again,no response.Here s the program: ... ... private Offset<int> test1 = new Offset<int>(0x3110); private Offset<int> test2 = new Offset<int>(0x3114); ... ... private void button1_Click(object sender, EventArgs e) {test2.Value=1; test1.Value=70193; FSUIPCConnection.Process();} ... ... But,when I write the program like below,the CDU can display the number every time I press the button,BUT,the number isn t "1",it becomes "11",every time show me twice ! private void button1_Click(object sender, EventArgs e) {test2.Value=1; test1.Value=70193; FSUIPCConnection.Process(); test2.Value=0; test1.Value=70193; FSUIPCConnection.Process();} Please,help me to solve this problem.pmdg,fsuipc,c#client,which one I used in a wrong way,Thanks! Best regards from far east
×
×
  • 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.