Jump to content

gunterat

Members
  • Content Count

    22
  • Donations

    $0.00 
  • Joined

  • Last visited

Community Reputation

2 Neutral

Flight Sim Profile

  • Commercial Member
    No
  • Online Flight Organization Membership
    Other
  • Virtual Airlines
    No

Recent Profile Visitors

538 profile views
  1. Hello, as you can see from the picture, the data in the "Map" are not syncronous with the "Flight Plan Elevation Profile", i.e. PEPIX in "FPEP" is GIANO in the "Map". And TORLI is PEPIX etc. I have reinstalled but no change, any help? Thanks Günter
  2. Great, I tried it out. It works really well, thank you very much! Günter
  3. Hello, I am also excited about such a function. Do you already know when it will be released? Best regards Günter
  4. Hi Al, I restarted it again and again and now it runs !! Perfect, thank you very much! I Wish you a Happy New Year! Guenter
  5. the offsets value remains always at "0", it does not change to"1" when I activate the appropriate LED in the PC-Aircraft (At least MOBIFLIGHT reports "0" as Offset-value) Any Idea?
  6. Hi Al, thank you for the detailed instructions. I hope you are patiently 🙂 Please be so kind and look at my example-code, based on your instructions! ----------------------------- function apu_master_light () apu_master_light = ipc.readLvar("L:AB_OVH_APU_MASTER_LIGHT_ON") ipc.writeUB(0x66C0, apu_master_light) return function bat_2_off () bat_2_off = ipc.readLvar("L:AB_OVH_ELEC_BAT2_LIGHT_OFF") ipc.writeUB(0x66C1, bat_2_off) return function gen_1_off () bat_2_off = ipc.readLvar("L:AB_OVH_ELEC_GEN1_LIGHT_OFF") ipc.writeUB(0x66C2, gen_1_off) return event.Lvar("L:AB_OVH_APU_MASTER_LIGHT_ON",100, "apu_master_light") event.Lvar("L:AB_OVH_ELEC_BAT2_LIGHT_OFF",100, "bat_2_off") event.Lvar("L:AB_OVH_ELEC_GEN1_LIGHT_OFF",100, "gen_1_off") end ______________________________________________ Best regards Guenter
  7. No, the button clicks, rotary switches ..... are absolutly independent of reading out the LED-State. These "Inputs" I have already realized with a macro-file and fsuipc (Mobiflight) control. In the last years I used "Wilco" and "Jeehell". Both have separate Offsets for Inputs and Outputs independently from each other - I think that this concept is very important. Otherwise its very difficult to keep the Hard- and Software simultaneously. I built a script as you suggested in your last post and it runs very well or in other words: it seems to be the solution that I looked for. Thank you very much! Al, may I ask for an example "code line" and what is meant with "Main Program"? Thank you!!
  8. I think I used the wrong phrase, you are right - just monitoring different offsets! Thank you for the script example. The description sounds very applicable for my project. I will try it out too, thank you. Happy holidays / Guenter
  9. YESSS, now it runs!! Let me ask one more question, before I begin to create a lot of single scripts. How must "my script" look like including not one, but several functions.
  10. Yes, I am using hardware switches, but unfortunately, the LED-State and Changes are very often not simultaneously with switch manipulating. And some are fully independent! So my plan is to build a script with a lot of functions in one (as Al described above) and set it to autorun. Hope it will work, thank you very much for your assistance! Guenter
  11. I will try: it is about the Flightsim "Prepar3D_V4 - 64 Bit" , "Aerosoft Airbus Pro" and the freewaretool "Mobiflight" as link between hard- and software. The Aerosoft Airbus is working with LVars, but Mobiflight works only with offsets (at least for outputs - Led's in my particular case). My hardware, e.g. pushbuttons, is connected via "Arduino 2560 Boards", controlled by "Mobiflight". Now I have to read out the state of the LVar and write this into an offset ("0" or "1"). "Mobiflight" is monitoring the state of the offsets permanently and switches the Leds "on" and "off" as soon as the State in the Offset changes from "1" to "0" or conversely. So I think I need a script that is: 1. monitoring the state of the Lvar (resp. recognizing changes) 2 and writing to the Offset as soon the state changes and both permanently ! Once more, the code above works, but it misses the "monitoring function". Sorry for my simple description, I hope it is understandable. Best regards Guenter
  12. Problem: the state of the LVAr is written to the Offset only once, namely with starting. At this time the (Hardware) LED's are "on" or "off" according to the state in the "Aircraft". But it does not update, the Offset shows always the same state (1 - if the state was 1 at beginning). As soon as the Illumination of the pushbutton goes "off", the state in the Offset would have to go to "0". But it does' nt. (and conversely too)
×
×
  • Create New...