Jump to content
The simFlight Network Forums

ChesserGuy

Members
  • Posts

    5
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Germany

ChesserGuy's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi, John, hi Pete I would like to give you my final feedback. You’ve helped me a lot and once again I’d like to thank you for your patience. Finally I succeeded and everything worked. But some remarks. My main problem was the assignment of the rotary buttons. It’s definitely not right that these are the numbers that FSUIPC shows in the buttons & switches tab. I use the bottons 1 and 2 of a Bodnar interface. FSUIPC sees them as 0 and 1. And it only works with rotaries={1,2} I experimented a little with both the FastTimeLimit and the PollRate and was disappointed. (Maybe due to my cheap rotary encoders?) I couldn’t manage to achieve a satisfying result. It is very difficult to exactly set a specific course, haeding or NAV frequency. If you get close to the desired value a fast impulse runs in and makes a subtle setting impossible. I think it is much better to use the compound function of programming the encoders. Mine have a push button which I use for setting a flag. With this flag I can toggle between fast and slow increment of altitude etc. This seems to be much better and easier. If you are airborne you don’t want to spend much time with handling the instruments, do you? Greetings, Frank
  2. You are right, I assigned the two bottoms of the rotary switch to the HEADING BUG Inc/ dec. Is this wrong?? I thought the different speed comes from the lua script. Do I need two other buttons for HEADING BUG FAST Inc/ dec ? This is confusing me.
  3. Hi, John, thanks to your hints the rotaries.lua seems to run now. But I don't see any effect on the speed. The only thing that accelerated the rotary was changing the Pollintervall in the ini-file from 25 to 10. I'm going to send you my log-file again. I turned the button HEADING_BUC_INC slowly and the HEADING_BUC_DEC fast. I logged the lua plugins and the buttons. I hope you can help me! Greetings, Frank FSUIPC.log FSUIPC7.ini
  4. Hi, John, thank you for answering my questions so quick. I freshly re-installed FSUIPC and started right from the beginning. To my big surprise HDGBUG.lua works fine!! But the rotaries.lua doesn't do anything. I'm going to attach the three files you asked for. Thank you so much: I tried hard but didn't can't see what's going wrong. Greetings, Frank Rotaries.lua FSUIPC7.ini FSUIPC7.log
  5. Hi, ANY HELP WOULD BE APPRECIATED! I tried hard but I don't succeed in starting any LUA-Script. I think I miss somethinng very elemantary... I use the MSFS 2020 and have a Bodnar card that works fine. I tried a couple of LUA-scripts but nothing happend. Let's take the rotaries.lua and let me show you what I did: I changed the rotaries.lua to .. Vendor = "Leo Bodnar Electronics" Product = "BU0836 Interface" Device = 0 -- Multiple devices of the same name need increasing Device numbers -- Use separate Lua plug-ins for separate cards! -- NOTE: this can handle up to 16 rotaries only, using the first 64 "virtual buttons" -- List the pairs here: Rotaries = { 0, 1 } .... because the fsuipc.ini showed: ... [JoyNames] A=T.Flight Hotas X A.GUID={3D8586D0-1093-11EB-8001-444553540000} B=BU0836 Interface B.GUID={D92BD810-A381-11EB-8001-444553540000} 1=T.Flight Hotas X 1.GUID={3D8586D0-1093-11EB-8001-444553540000} 0=BU0836 Interface 0.GUID={D92BD810-A381-11EB-8001-444553540000} ... FSUIPC gave me the number of the buttons: JOY# B, BTN 0 und 1 I put the rotaries.lua into the FSUIPC installation folder and the log file shows ... [LuaFiles] 1=ipcReady 2=Rotaries ... and nothing happens, not even some addional lines in the log file. Yes, I checked the Lua-plugins and Log-Lua-seperately buttons at the log tab. The ipc.Ready.log has this: ********* LUA: "ipcReady" Log [from FSUIPC version 7.0.9] ********* 15219 System time = 29/04/2021 14:03:49, Simulator time = 14:03:15 (12:03Z) 15219 LUA: beginning "C:\FSUIPC7\ipcReady.lua" 15219 LUA: C:\FSUIPC7\ipcReady.lua:1 15235 LUA: Global: ipcPARAM = 0 15328 >>> Thread forced exit (ipc.exit or os.exit) <<< 15328 System time = 29/04/2021 14:03:49, Simulator time = 14:03:15 (12:03Z) ********* LUA execution terminated: Log Closed ********* I also tried other lua files like the TripleUse.lua and a nice one I found at the MobiFlight site that should bring the heading bug to the actual direction and assigned a keypress to it. HDGBUD.lua hdg = ipc.readSW8(0x582) hdg = hdg - ipc.readSW(0x2A0) ipc.writeSW(0x7cc, hdg) Again, nothing happened. What do I overlook? I would be very happy if you can help me with these basic stuff! Greetings, Frank
×
×
  • 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.