April 29, 20206 yr Would be great if you could support the buttons in the Audio Panel so it was posible to select Mic for VHF and buttons for listen into VHF1-3 It will be great having these when flying Vatsim etc... Regards Claus System : Varjo Aero, Intel i9 14900K 5,1 Ghz OC, RTX4090 24 GB, 64 GB RAM, 2 X M2 1TB, FS2020 https://claus34.wixsite.com/737sim https://flightsim.to/profile/chansen
May 5, 20206 yr Author Trying to make it my self using this code, don't work probaly doing some thing wrong function QW_ACP_AUDIO_1_on () local lvar = 'QW_ACP_AUDIO_1_Switch' local lval = ipc.readLvar(lvar) if lval ~= 1 then ipc.writeLvar(lvar, '1') DspShow('STRB', 'on') (STRB was copied from other code should probaly be some else) QW_Switch_Large() end end the LVar is QW_ACP_AUDIO_1 according to their manual, anyone who can help ? Regards Claus System : Varjo Aero, Intel i9 14900K 5,1 Ghz OC, RTX4090 24 GB, 64 GB RAM, 2 X M2 1TB, FS2020 https://claus34.wixsite.com/737sim https://flightsim.to/profile/chansen
May 5, 20206 yr Although I provided the initial QW787 module it is not an aircraft I use or am familiar with. You can confirm that you have the correct Lvar by using the LINDA Tracer. You can monitor, read and set values and see what the resulting switch response is. This is essential information before you start writing any cold. You can quickly test any new or modified function by saving the module and then right clicking on the function name in the LINDA Editor. Make sure you place any new or modified code in the aircraft’s user.lua file not the actions.lua file. The DspShow function is used to give users a visual indication on the VRi Combo panels. The text is the short message. Andrew Gransden Scotland, UK LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew
May 6, 20206 yr Author Hi Andrew Thanks for reaching out. I hae paced it in user.lua Trying to make Audio buttons to work and a toggle. function QW_ACP_AUDIO_1_on () local lvar = 'QW_ACP_AUDIO_1' local lval = ipc.readLvar(lvar) if lval ~= 1 then ipc.writeLvar(lvar, '1') DspShow('AUDIOI1', 'on') QW_Switch_Large() end end function QW_ACP_AUDIO_1_off () local lvar = 'QW_ACP_AUDIO_1' local lval = ipc.readLvar(lvar) if lval ~= 1 then ipc.writeLvar(lvar, '0') DspShow('AUDIOI1 off', 'on') QW_Switch_Large() end end function QW_ACP_AUDIO_1_toggle () local lvar = 'QW_ACP_AUDIO_1' local lval = ipc.readLvar(lvar) if lval ~= 0 then QW_ACP_AUDIO_1_off() else QW_ACP_AUDIO_1_on() end end But it don't seem to work. I can see there is defined two types of switches Small and large what is the difference ? Thanks Regards Claus System : Varjo Aero, Intel i9 14900K 5,1 Ghz OC, RTX4090 24 GB, 64 GB RAM, 2 X M2 1TB, FS2020 https://claus34.wixsite.com/737sim https://flightsim.to/profile/chansen
May 6, 20206 yr I don't know what buttons/switches in the QW787 cockpit you are trying to use. Is it the Comms Audio panel on the centre pedestal? I have checked the available QW_ACP_AUDIO_ Lvars and only 2, 5 and 9 are available. There is no QW_ACP_AUDIO_1. The QW_Switch_Large/_Small functions simply make a switch sound (click). The DspShow text is limited to 4 characters eachqw - the first is the function label and the second the on/off action. Finally, the last additions I made to the QW787 module (1.1) had to make use of mouse macros (QW787.MCRO) because not all virtual cockpit buttons/switches were available. The use of macros is a completely different story and I am unable to educate you on their use. It would take too much time. Andrew Gransden Scotland, UK LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew
May 6, 20206 yr Author Thakns for your answer. Thought I could use QW_ACP_AUDIO_1, 2, &3 according to their document Active VHF QW_ACP_AUDIO_1 0=Off, 1=On Active VHF QW_ACP_AUDIO_2 0=Off, 1=On Active VHF QW_ACP_AUDIO_3 0=Off, 1=On Regards Claus System : Varjo Aero, Intel i9 14900K 5,1 Ghz OC, RTX4090 24 GB, 64 GB RAM, 2 X M2 1TB, FS2020 https://claus34.wixsite.com/737sim https://flightsim.to/profile/chansen
May 6, 20206 yr QW has stated that these Lvars are defined as you say but they are not made available to LINDA (or other software) until the buttons/switch is operated manually with the mouse. They acknowledge this on their forum. That is why I had to look at using mouse macros. Andrew Gransden Scotland, UK LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew
May 6, 20206 yr Author Thanks Andrew Saw some tutorials about macros have made som for many years ago.... 😉 Regards Claus System : Varjo Aero, Intel i9 14900K 5,1 Ghz OC, RTX4090 24 GB, 64 GB RAM, 2 X M2 1TB, FS2020 https://claus34.wixsite.com/737sim https://flightsim.to/profile/chansen
May 6, 20206 yr Author Just an update. You got me hooked there went into FSUIPC and made 10 Macros, no need for code them into LINDA just assigned them in FSUIPC and now my Aduio Panel work in QW and in VR as well Thanks ! Regards Claus System : Varjo Aero, Intel i9 14900K 5,1 Ghz OC, RTX4090 24 GB, 64 GB RAM, 2 X M2 1TB, FS2020 https://claus34.wixsite.com/737sim https://flightsim.to/profile/chansen
May 6, 20206 yr Well done. Andrew Gransden Scotland, UK LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew
Archived
This topic is now archived and is closed to further replies.