Jump to content

stinger2k2

Members
  • Content Count

    176
  • Donations

    $0.00 
  • Joined

  • Last visited

Everything posted by stinger2k2

  1. Thanks for pointing me away from the Lvars. After spending best part of the day trying to get them to work I dug deeper into the xml gauge file and found a simple event that operated it.(BATTERY3_SET) 🙄 The only switch/button that I have left to assign is the Bus Tie and it looks as though that is unassignable at present. (B: variable?). Not too bothered about that one as it doesn't throw up a CAS warning message on the PFD. Regards Keith
  2. Ok, further info.... This is what should be happening and is what my function looks like. function standbybattON () ipc.writeLvar("XMLVAR_BatterySTBY_SwitchState", 0) ipc.writeLvar("XMLVAR_STBYBattery_IsHeld", 1) Pic.writeLvar("XMLVAR_STBYBattery_IsHeld, 0) end When I use the tracer to view the Lua being operated by my switch I never see all three lines run at once. Sometimes I see just the SwitchState line, then another time I will see the other two together, and sometimes nothing at all happens. Odd.
  3. No, not a spring loaded switch. It is the Standbay Battery Switch for the Longitude. I see 3 Lvars XMLVAR_BatterySTBY_SwitchState XMLVAR_STBYBattery_IsHeld XMLVAR_STBYBattery_Test When the switch in the VC is flicked up to the On position I see the "SwitchState" Lvar change from 1 to 0 (and stay at 0) . At the same time the "Is held" Lvar goes from 0 to 1 momentarily, then back to 0. Nothing happens to the third Lvar. I have tried various combinations in my function using the two Lvars without success. Cheers Keith
  4. Thanks. I have it partially working now. The switch moves to the On position in the virtual cockpit now. At the moment I can't get it to stay there though without it reverting to the off position. Using "On repeat" doesn't help. I will persevere.
  5. Would you mind having a look at this function code please @ScotFlieger ? I can see the Lvars operating in the tracer when I flick the switch in the virtual cockpit but not when I flick the external switch that I have assigned my function to. function standbybattON () ipc.writeLvar( "XMLVAR_STBYBattery_SwitchState", 0) end function standbybattOFF ipc.writeLvar("XMLVAR_STBYBattery_SwitchState", 1) end
  6. Ok, thanks for that info. I have just rebooted everything and I can now see Lvars listed so it may have needed a reboot after enabling the WASM. Regards Keith
  7. Hi, I have MSFS fully updated. I have download and installed LINDA v 4.1.2.140 I have the latest version of FSUIPC7 and the latest WASM module which is installed into my community folder. I have enabled the WASM in FSUIPC. In the LINDA tracer I do not see any L or H vars listed. Am I missing a step somewhere please? I have tried "Reload Lvars list" and "Reload Hvars list" in Linda. Thanks Keith
  8. Sorry for the confusion. By "trigger" I meant simply using an ipc.write lua function to operate the switch. I have since been reading the FSUIPC wasm thread and can see what I need is now possible in FSUIPC, so I assume would also be possible using the latest LINDA software. Thanks for the additional jnfo Stinger
  9. Hi Andrew, Many thanks for your reply and I appreciate the work you have done, and are doing with LINDA. I hadn't looked into this too much up until now as I have been busy with scenery design and on top of that my cockpit was based upon the FSX Carenado Phenom 300 and I have been hoping that Carenado would update it for MSFS. So the Asobo Longitude is my best fit at present so I have been researching that in the meantime. I have most of what I need working for the Longitude (plus WT G3000) using FSUIPC7 in combination with the Mobiflight WASM module. The only thing missing for me is the standby battery and bus tie switch. I have done a trace (which can be done, as I am sure that you are aware, using MSFS dev mode). From that trace I can seen that they are using Lvars and according to Mobiflight they can be referenced. As I am more au fait with LINDA my question is can we yet write Lvar triggers using Linda?
  10. Hi, I used Linda with FSX to great effect with my cockpit and wrote the Carenado Phenom 300 module. I have yet to use Linda for MSFS and have simply used FSUIPC7 on it's own. I now need to trace lvars in the Longitude and write Lua functions to operare them. Is Linda yet at a point where this is possible ? Regards Stinger
  11. I think perhaps the reason i have more in my community folder is because I have downloaded the liveries Megapack.
  12. Ok, got it now. I was looking in the Official folder instead of Community. 🙄
  13. I tried this but it didn't work. What is the correct location for the aircraft.cfg. i am wondering if there is more than one because where i was looking the Longitude didnt even have an aircraft.cfg. The C172 did have one but as i say, changing it and saving it made no difference. I was still was called ASXGS by atc?
  14. Hi, sorry for a very late reply but i have only just seen your question. As i developed the module with fsx the fpl input was pretty much impossible to do without mouse macros which fsuipc doesn't support in fsx. I did manage to get it partially working but it meant editing the xml gauge files of the aircraft and even then wasn't totally successful so i gave up in the end. Regards Stinger
  15. I have another option if i get desperate. Currently all 8 of my Bodnar boarrds are BBI32's (32 buttons). I could combine two of them into a BBI64 but as I understand it FSUIPC only sees 32 buttons on each joystick interface, although there is a workaround for that problem i believe. Never easy this cockpit building!
  16. Great news Andrew. Many thanks for your efforts and continued development of this great addon to FSUIPC. I shall be an early adopter! Cheers Stinger
  17. I turned off bloom but the sim still looks too bright for me, especially when looking down a bit, the clouds lose definition due to the brightness.
  18. There is a post in the tips and tricks forum about hardware accelerated GPU scheduling. I have Windows 10 update 2004 installed and checked but i dont see this setting when i follow the instructions on the forum post. My system has a i7 10700k and a Nvidia 2080ti. Would this setting change make any difference to my system anyway? Cheers Stinger
  19. They all showed up in MSFS as "Button Box Interface" with no way of differentiating between them. I contacted Leo who pointed me to a piece of software on their website that allows you to put a number to them. So now they are listed in the sim as "Button box interface 1" etc. Makes it a whole lot easier when assigning events. Windows sees them too.
  20. Yep, same graphics card, same temperature. I checked with my pc supplier who says dont worry, they can take it no trouble.😊
  21. I suppose it is when you consider that each Bodnar board has 32 switch/button outputs ! 🤪
  22. Is there a maximum number of peripherals because msfs is only seeing 12 of my 13? I have a home cockpit with 8 Bodnar cards, 1 throttle, 1 yoke, rudder pedals, keyboard and mouse. Msfs is only seeing 7 of the 8 Bodnar cards. If i unplug one and plug in the missing one instead It sees it ok then. Windows is seeing all of them but not msfs. Cheers Stinger
×
×
  • Create New...