Jump to content
The simFlight Network Forums

level7

Members
  • Posts

    10
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling
  • Location
    Flight Simulator

level7's Achievements

Rookie

Rookie (2/14)

  • Collaborator Rare
  • First Post Rare
  • Conversation Starter Rare
  • Week One Done
  • One Month Later Rare

Recent Badges

0

Reputation

  1. No problem, appreciate the feedback John. Learned a lot more about FSUIPIC through our exchange!
  2. Thanks for the suggestions. The Q400 is for FSX/P3D but MobiFlight only writes to MSFS LVARs for some reason. When I have some time I'll check the offset approach.
  3. The main issue is the weird way Majestic did their Q400 variable interface. So as you saw before in order to execute certain commands you need to make 2 writes to an LVAR, one for the the "value" and the other for the "key". The miniFCU device that I am using has a MobiFlight interface. There doesn't seem to be a good way for hardware inputs to make FSX/P3D LVAR changes without Lua. So what I think I'm left with is the MobiFlight's ability to call a Lua script to make the 2 LVAR writes. I could try some alternatives like 1) using MobiFlight's Keyboard or vJoy input as an interface to make the FSUIPC calls 2) having the encoder make calls to an offset and observing those offsets to make make the LVAR writes.
  4. Thanks John, I tried using the function but MobiFlight doesn't seem to be able to call the script with the function. It seems there is inherently going to be some lag in using lua scripts with encoders 😞.
  5. Thanks John! That is actually the entirety of the script that is run to change the pitch bug by 1. It is run once each notch of the encoder (yes sounds very inefficient). How can I "make sure the lua is always running"? It didn't seem appropriate to include this in the [Auto] section since I don't need it to run on the airplane load.
  6. I'm trying to setup my miniFCU unit with the Majestic Q400 on FSX + FSUIPC 4.977. In order to communicate with the autopilot commands I've written small lua scripts and assigned them using MobiFlight. When I rotate any of the encoders, it sends many Lua scripts calls at once and Flight Simulator freezes a bit while processing the commands. It works ok if the encoder is turned slowly one notch at a time. But if turned quickly, likely only a single command is registered. Any thoughts on how I can improve the performance? Here is an example of the code used to change the pitch bug. ipc.writeLvar("MJC_VAR_WRITE_VALUE", ipcPARAM) ipc.writeLvar("MJC_VAR_WRITE_CODE", 46987)
  7. No problem thanks John!
  8. I noticed in some other forum posts about a setting LuaPath that is available in FSUIPC6 and FSUIPC7. Is it also present in FSUIPC4? It is not referenced in the manuals and when I tried that setting not sure if it worked. Thanks!
  9. Thanks John, worked perfectly for me! Happy now to have removed all assignments from P3D :D
  10. Hi Pete and John, Really appreciate your hard work on FSUIPC! I just recently discovered that Axes could be mapped to "Pan View" in Axis Assignment. However I noticed that option is no longer in FSUIPC6. Is there a suitable alternative? Right now I am have allowed only the Hat Switch be the only operational Joystick mapping in P3D but I would ideally like all commands to be mapped via FSUIPC. "Axis Pan ..." do not seem to work either. If I individually map the Pan commands to the 8 directions of the hat switch, the panning is much slower and choppy.
×
×
  • 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.