monithi Posted July 25, 2019 Report Posted July 25, 2019 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
Pete Dowson Posted July 25, 2019 Report Posted July 25, 2019 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
monithi Posted July 29, 2019 Author Report Posted July 29, 2019 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
John Dowson Posted July 30, 2019 Report Posted July 30, 2019 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
monithi Posted July 30, 2019 Author Report Posted July 30, 2019 i see so that is the mistake i am not a programmer so it i could not figure it out anyway thanks a lots for your help
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now