Jump to content
The simFlight Network Forums

Fritz

Members
  • Posts

    28
  • Joined

  • Last visited

Fritz's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I installed the new FSUIPC Version 4.84 . What tells me the log? 498096 Exception 20 "DATA_ERROR", Ref 2672, Index param 1 on write SetData for "ADF SOUND" 3585028 **** WARNING! Free memory is very low! 3595074 **** WARNING! Free memory is very low! Should I increase my virtual memory? Best regards Fritz
  2. At the cruising altitude the mod was disabled and on the ground enabled. Seems to work. Thanks for the help. Kind regards
  3. The log-file says: 176359 *** LUA Error: C:\Microsoft Flight Simulator X\Modules\SetEmb.lua:4: attempt to index field 'readSD' (a function value) 177389 *** LUA Error: C:\Microsoft Flight Simulator X\Modules\SetEmb.lua:4: attempt to index field 'readSD' (a function value) 178372 *** LUA Error: C:\Microsoft Flight Simulator X\Modules\SetEmb.lua:4: attempt to index field 'readSD' (a function value) Regards
  4. Had made ​​a mistake. :oops: Have now corrected the entry. It still does not work. Too bad.
  5. In FSUIPC I entered: [Auto] 1=SetEmb I named the small program "SetEmb.lua" and placed it in the module directory. I have monitored the offset 0574 . Unfortunately, the ENB Mod do not switched off or or if I passed 4000 Feet.
  6. I have assigned a joystick button to the keystroke Shift+F9 in FSUIPC. Now I can enable or disable the ENB Mod with this joystick button. The mod must be inside FS.
  7. I already thought that this is an important point, however, difficult for me to answer. The ENB mod changes the display in FSX. There is a dll file must be copied together with an ini file into the FSX root directory. This Mod is frequently used in promotional videos for Scenerys which makes the presentation more realistic. On the ground this looks well but in the air, this seems too much bright, particularly when using a Beamer. For this reason I want to disable this mod in the air. Whether altimeter, or true altitude AMSL or AGL is the same. Which is best suited for it. Would be great if we could manage it. Regards
  8. Hello, with Shift + F9, you can enable or disable an ENB Mod.I want to send this keystroke with Lua to this ENB mod when the hight of 4000ft is passed by. I want to ensure that the ENB mod is activated below 4000ft and above disabled. When the hight reaches 4000ft send Shift+F9 to the ENB Mod Is that even possible? If so, how do I program it? have no programming skills. Cheers Fritz
  9. I mean the Master Warning which should flash 3 times when the autopilot is switched off in the A320. Please have a look at this video, you can see it at 1:21. http://www.youtube.com/watch?v=YR5-AWcZEWY In my system, the LED is connected to a FDS Interface Card. I could assign a free offset to the LED but I have no idea how I need to write the LUA-code to make it switch on and off three times. I hope you can give me some advice on that. Regards Fritz
  10. Hi Pete, if I turn the autopilot off, the Caution LED should flash three times. Is it possible to realize this with Lua? If so, would you give me a hint how the code-line should look like? Regards Fritz
  11. That does not sound bad but how does FSUIPC distinguishes between the rudder and tiller?
  12. But you always controls nose wheel and rudder together. Not separated.
  13. Yes, I mean nothing and it is also true that I have the internal variable from the log lvars.lua. I replaced ipc.writeLvar with ipc.macro. The Name of the Macro is IgnitionSwitch.MCRO. Now the Lua script looks like this: - Ignition Switch IgnitionSwitch function (offset, val) ipc.macro("L:IgnitionSwitch") end event.offset (0x66C0, "UD", "IgnitionSwitch) I see In the log that the value of offset 66C0 is set from 0 to 1 by operate the switch. The macro is not able to run. Is the ipc.macro line not correct?
  14. First of all thank you for your help and for your patience. What I intend to do does not work because the internal variable triggers anything. So then I tried it with a mouse macro. With this I can trigger the Ignitionswitch, but must use an offset whitch I have to mapped to the macro. Now then if for example Offset 66C0 == 1 then execute the macro "Ignitionswitch". Is that also possible in Lua by event?
  15. Yes, I mean L:FT_IgnitionSwitch. Thanks for the quick help but unfortunately I fail at the correct syntax. What is wrong here? -- Ignition Switch function IgnitionSwitch(offset, val) if ipc.readUD(0x66C0) == 1 then ipc.writeLvar("L:FT_IgnitionSwitch", 1) else if ipc.readUD(0x66C0) == 0 then ipc.writeLvar("L:FT_IgnitionSwitch", 0) end end event.offset(0x66C0, "UD", "L:FT_IgnitionSwitch")
×
×
  • 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.