Jump to content
The simFlight Network Forums


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About prius0304

  • Rank

Profile Information

  • Gender
  • Location
    Kunshan, Jiangsu, China
  1. Hello Peter! I'm still working on the MCP. There are some problems. I transfer data to PMDG 737NGX by FSUIPC. And the offset is 3110. 3110: Operates a facility to send any ‘controls’ to Flight simulator. This works with all versions of FS & CFS. Write all 8 bytes for controls which use a value (axes and all _SET controls), but just 4 will do for ‘button’ types. This is really two 32-bit integers. The first contains the Control number (normally 65536 upwards), as seen in my FS Controls lists. The second integer is used for the parameter, such as the scaled axis value, where this is appropriate. Always write all 8 bytes in one IPC block if a parameter is used, as FSUIPC will fire the control when you write to 3110. Since version 3.40, FSUIPC-added controls (other than the offset ones) can be used via these offsets too. See the Advanced User’s Guide for a current list. And I found the SDK about 737NGX. There are two ways to send MCP data. Texts in PMDG_NGX_SDK.h #define THIRD_PARTY_EVENT_ID_MIN 0x00011000 // equals to 69632 #define EVT_MCP_COURSE_SELECTOR_L (THIRD_PARTY_EVENT_ID_MIN + 376) //this is the first one #define EVT_MCP_CRS_L_SET (THIRD_PARTY_EVENT_ID_MIN + 14500) // Sets MCP course specified by the event parameter the second one Problem is I can add numbers to the MCP course selector But I can not minus it. My program is (VB.net) Dim senderfs As Offset(Of Int64) = New FSUIPC.Offset(Of Int64)(&H3110) senderfs.Value = &HFFFFFFFF00000000 + &H11000 + 376 FSUIPCConnection.Process() How can I minus or tranfer value directly to 737 ?
  2. Pete I figure this out, But there is a problem. Such as the selector(Course_Selector), How can I transport data to NGX?
  3. Oh, Thank you very much. But indeed the data sending is the biggest problem. Thank you again!
  4. Dear Pete I got a problem about PMDG 737NGX. Long time ago, I found a document called "Offset_Mapping_PMDG737NGX". It provides some ways to read data from FSUIPC. But now I'm making the MCP, I can't write data to NGX through the issue. Today, I heard a new way to send data to NGX and I took a try. Through FSUIPC's offset "3110", I can send data to NGX. For Example: The 737NGX's SDK defines EVT_MCP_AT_ARM_SWITCH (THIRD_PARTY_EVENT_ID_MIN + 380) So my program is(VB.net): Try FSUIPCConnection.Process() senderfs.Value = &H11000 + 380 '(THIRD_PARTY_EVENT_ID_MIN=0x000011000,senderfs is "offset 3110") Catch End Try It works, but I can turn the switch on, I can not turn the switch off. How can I return the value to 0? Can you show me the code? Thank you every much! Peter·Shen
  • 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.