Jump to content
The simFlight Network Forums
monithi

Help with ipc.control please

Recommended Posts

Hi Pete i have been using fsuipc and Lua for quite sometime alredy and now i am trying VB and Java too i can read the offset status but wanted to know how can i use VB or Java to send ipc.control to fsx like in lua file. Thank you in advance for your help

Share this post


Link to post
Share on other sites
2 hours ago, monithi said:

Hi Pete i have been using fsuipc and Lua for quite sometime alredy and now i am trying VB and Java too i can read the offset status but wanted to know how can i use VB or Java to send ipc.control to fsx like in lua file. Thank you in advance for your help

You can send controls by writing the parameter to offset 3114 then the control number to 3110. (Or write both together in one 8-byte write).

Pete

 

Share this post


Link to post
Share on other sites
On 7/26/2019 at 3:53 AM, Pete Dowson said:

You can send controls by writing the parameter to offset 3114 then the control number to 3110. (Or write both together in one 8-byte write).

Pete

 

Dear Pete i have another problem needed help i am trying to read offset  0x654C FPA on MCP of PMDG777 how do i convert them to decimal like it is display on the panel i am getting a lots of number below are my code and log
 

monitor_offset.lua

monitor_offset.log

Share this post


Link to post
Share on other sites

0x654c is a 4-byte float32, so you need to use ipc.readFLT and not ipc.readSD.

Presumably you have enabled these offsets as described in the offset mapping document for the PMDG 777X? That document also contains the size and type of each offset, which will help you to determine which ipc.read function to use.

John

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • 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.