Jump to content
The simFlight Network Forums

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

Link to comment
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

 

Link to comment
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

Link to comment
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

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.