-
Name of the MSFS 2020 Cessna Longitude Sped Selectir in MCP
Hi all i find a way to have it
-
Name of the MSFS 2020 Cessna Longitude Sped Selectir in MCP
Hi everybody, Does somebody know the event name of the Speed Selector of the Cessna C700 Longitude to manage speed beetwen FMS or MAN mode ? i don't find it in SpadNext or with the event's log of FSUIPC Regards Thierry
-
Pilatus PC-24
and the unique SID of the airport is reserved for the PILATUS manufacturer pilots
- librairy not used
-
librairy not used
Hi I see in the libs in linda\libs that some libs are made for some software like EFB of aivlasoft (lib-aivlasoft.lua) Is it possible to replace the root of the name " lib-" by something else to avoid their load by the libs subroutine or thèse libs are mandatory Even you do not use thèse softthaA Thanks Thierry
-
button change not detected
After a battle with initializing the Pokey Dll device on which i made a post, i found the solution now the lua script loading the dll card seems working the script stored in path .\\modules\linda\libs is called lib-Zpokey56U01 and is loaded with standard libs of Linda here the log 2055204 LUA.1: POKEY56U01 Able to create PoKeys Device object 2055220 LUA.1: POKEY56U01 Start connection in USB mode 2055251 LUA.1: POKEY56U01 Device number is 2055282 LUA.1: 1 2055314 LUA.1: POKEY56U01 mounted and ready to use 2055360 LUA.1: POKEY56U01 Panel_P5601U Lua Script Called 2055392 LUA.1: POKEY56U01 Panel_P5601U Script started 2055438 LUA.1: POKEY56U01 End of Panel_P5601U Main Program i associated Pin 10 of the card to the Battery Switch but nothing change to P3D plane battery Status moving my toggle switch OFF to ON or ON to OFF has no impact on the aircraft itself i made a check with the Pokey 56U Software to see if toggle switch react when i move it from OFF to ON and ON to OFF (to verify Cabling connection) and it is the case the software detect OFF/ON position of the switch the Fuction section Panel_P5601U_Script is executed , but the If Test_button did not detect anything did somebody used Pokey card with lua associated script as this and could help me to understand what are my errors or what i am missing ? below my simple script thanks for your help and/or ideas Thierry -- ================================================================================= -- Initial Setup -- ================================================================================= require "luacom" poKeys = luacom.CreateObject('PoKeysDevice_DLL.PoKeysDevice') if poKeys == nil then ipc.log("POKEY56U01 Unable to create PoKeys Device object") ipc.display("POKEY56U01 Unable to create PoKeys Device object") ipc.exit() else ipc.log("POKEY56U01 Able to create PoKeys Device object") ipc.display("POKEY56U01 Able to create PoKeys Device object") end -- ================================================================================= -- check current physical switch setting and update FSX software switch to match -- ================================================================================= function Panel_P5601U_Script() ipc.log("POKEY56U01 Panel_P5601U Script started") ipc.display("POKEY56U01 Panel_P5601U Script started") -- Check pin 10---------------------------------------------------------------------- if ipc.testbutton(1,10) == true then ipc.log("POKEY56U01 Button 10 Battery ON !!") ipc.display("POKEY56U01 Button 10 Battery ON !!") ipc.writeUD(0x281C, 1) -- toggle switch Battery is ON end if ipc.testbutton(1,10) == true then -- physical switch in ON if ipc.readUD(0x281C) == 1 then -- toggle switch Battery is ON ipc.control(66241) -- toggle switch Battery is ON ipc.log("POKEY56U01 Button 10 Switch Battery is ON") ipc.display("POKEY56U01 Button 10 Switch Battery is ON") end end chk_pin_10 = false chk_pin_10, onoff_pin_10 = poKeys:GetInput(10) if (chk_pin_10 == false) then -- GetInput Failed... Most likely not configured properly -- Put code here to perform for failure else -- We got results from the switch GetInput Function if (onoff_pin_10 == true) then -- Switch at Pin 10 is ON -- Put code here you wish FSX to perform ipc.writeUD(0x281C, 1) -- set Battery to ON ipc.log("POKEY56U01 Button 10 Battery ON !!") ipc.display("POKEY56U01 Button 10 Battery ON !!") else if (onoff_pin_10 == false) then -- Switch at Pin 10 is OFF -- Put code here you wish FSX to perform ipc.writeUD(0x281C, 0) -- set Battery OFF ipc.log("POKEY56U01 Button 10 Battery OFF !!") ipc.display("POKEY56U01 Button 10 Battery OFF !!") else -- Could not determine status of Switch at Pin 10 -- Put code here you wish FSX to perform end end end -- chk_pin_10 ipc.log("POKEY56U01 End of Panel_P5601U Main Program") ipc.display("POKEY56U01 End of Panel_P5601U Main Program") end -- check_switches -- ================================================================================= -- Initial Script Startup -- ================================================================================= connect_usb = true -- true = USB / false = ethernet if (connect_usb == true) then -- Get Number of poKeys Devices Found ipc.log("POKEY56U01 Start connection in USB mode") ipc.Display("POKEY56U01 Start connection in USB mode") no_devices = poKeys:EnumerateDevices() ipc.log("POKEY56U01 Device number is") ipc.Display("POKEY56U01 Device number is") ipc.log(no_devices) ipc.display(no_devices) -- Connect to Device if (no_devices ~= 0) then connect_flag = poKeys:ConnectToDevice(0) -- ipc.log(connect_flag) -- ipc.display(connect_flag) if (connect_flag == true) then ipc.log("POKEY56U01 mounted and ready to use") ipc.display("POKEY56U01 mounted and ready to use") else -- code to perform if ConnectToDevice fails ipc.log("POKEY56U01 Unable to connect poKeys USB Device 1") ipc.Display("POKEY56U01 Unable to connect poKeys USB Device 1") ipc.exit() end else ipc.log("POKEY56U01 Device not enumerated") ipc.Display("POKEY56U01 Device not enumerated") ipc.exit() end else connect_to_ethernet() ipc.log("POKEY56U01 Connected in ethernet") ipc.Display("POKEY56U01 Connected in ethernet") ipc.exit() end ipc.log("POKEY56U01 Panel_P5601U Lua Script Called") ipc.display("POKEY56U01 Panel_P5601U Lua Script Called") Panel_P5601U_Script() -- check physical switch and configure fsx software switch -- ================================================================================= -- Event Section -- =================================================================================
-
Luacom.dll & pokey 56U card
Hello Artem It is not a issue on the path because "Require" command search the Luacom.dll in the good folder , Night sleeping was benefit , and this morning i try something i downloaded from Lua.org website the last 5.1.43 Lua package version for windows and installed it the error disappeared , now i have a error with the "Luacom.createobject" object pokeysdevice_dll.dll and i think now it is just a path issue thanks to take time to answer i forgot to give the solution i copied from Lua folders (in Program Files (X86)\Lua\5.1) the Lua51.dll & Lua5.1.dll and replaced them in Prepar3d v2 root folder, i also copied from Lua folders (in Program Files (X86)\Lua\5.1\clibs) luacom.dll and replace it in Prepar3d v2\modules\lua folder i saw in the same time that my Luacom.dll changed of size (164 Kb to 168 kb) maybe the install adapted the dll to my windows 8 pro 64bit version i closed the post
-
Luacom.dll & pokey 56U card
Hi i am a bit disapointed because i am fully stopped in Home cockpit advancement due to an error i can't explain i made the choice to use Linda & Lua script for with Fsuipc for 3 reasons first i already use Linda programming tools for my Saitek and Vrinsight MCP and i am clearly happy with the result secundly ; i discovered with standard Linda Script the capabilities of Lua programming third , i want to use a pokey56u card instead of using OC cards & IOCP/SIOC programming solution because the pokey card could be used by Linda and Lua as i understand , the pokey 56U could be interfaced with Linda Lua truth 3 Dll , the Lua5.1.dll in the P3d Root folder, the Luacom.dll in Modules\Lua folder and it pokeysdevice_dll.dll in Lua folder too i resused a part of a Lua script (written iniatially by Terry Hall who seems 3 years ago satisfied with this solution) , named it Lib-Zpokey56u01, stored in the Modues\linda\libs folder to be called by the lua script opening in sequence all lib-*.lua files no issue on that except that the lib-zpokey56u01.lua script generate an error LUA.1: [iNIT] Loading... LUA.1: Aircraft: Carenado A36 Bonanza 60th Anniversa LUA.1: Aircraft module detected: FSX Default LUA.0: AivlaSoft library loaded... LUA.0: FSX standard library loaded... LUA.0: IVAO library loaded... LUA.0: RealityXP library loaded... LUA.0: Weather library loaded... [E] *** LUA Error: error loading module 'luacom' from file 'D:\Prepar3d V2\modules\lua\luacom.dll': Le module spécifié est introuvable. (required module not found) Advanced Weather Interface Enabled the script start by a require "luacom" (to load the luacom.dll) which seems generating the error , i don't know why because "require" command search the dll file in the appropriate folder as you could see in error message i thank that i had not the security rights to read or open the luacom.dll or Prepar3d V2 Folder under my Login but security properties show me that i have the Full security control of Dll file and all p3d folder so i am very perplex about the cause of issue i post the script below THierry I7-950 3.07Ghz OC 3.71Ghz on a MB Asus Rampage Extreme II /12 Gb mem / Nvidia 660 TI 2 Gb / OS Windows 8 Pro 64 bit & P3D V2 on SSD disk / 2 monitor 26" -- ================================================================================= -- Initial Setup -- ================================================================================= require "luacom" poKeys = luacom.CreateObject("PoKeysDevice_DLL.PoKeysDevice") ipc.runlua('Linda\\lua\\ipcDebug') if poKeys == nil then ipc.log("Error: Unable to create PoKeysDevice_DLL object") ipc.display("Error: Unable to create PoKeysDevice_DLL object") ipc.exit() end if poKeys ~= nil then ipc.log("Success: Able to create PoKeysDevice_DLL object") ipc.display("Success: Able to create PoKeysDevice_DLL object") end -- ================================================================================= -- check current physical switch setting and update FSX software switch to match -- ================================================================================= function fsx_setup() ipc.log("FSX_Setup Script started") ipc.display("FSX_Setup Script started") if ipc.testbutton(10,0) == true then ipc.writeUD(0x281C, 1) -- set FSX battery switch ON else ipc.writeUD(0x281C, 0) -- set FSX battery switch OFF end if ipc.testbutton(10,0) == true then -- physical switch in ON if ipc.readUD(0x281C) == 0 then -- FSX switch is Off ipc.control(66241) -- toggle FSX switch to ON end else -- physical switch in OFF if ipc.readUD(0x281C) == 1 then -- FSX switch is On ipc.control(66241) -- toggle FSX switch to OFF end end chk_pin_10 = false chk_pin_10, onoff_pin_10 = poKeys:GetInput(10) if (chk_pin_10 == false) then -- GetInput Failed... Most likely not configured properly -- Put code here to perform for failure else -- We got results from the switch GetInput Function if (onoff_pin_10 == true) then -- Switch at Pin 10 is ON -- Put code here you wish FSX to perform ipc.writeUD(0x281C, 1) -- set FSX battery switch ON else if (onoff_pin_10 == false) then -- Switch at Pin 10 is OFF -- Put code here you wish FSX to perform ipc.writeUD(0x281C, 0) -- set FSX battery switch OFF else -- Could not determine status of Switch at Pin 10 -- Put code here you wish FSX to perform end end end -- chk_pin_10 -- ======================================= -- Check Switch Position Connect to Pin 10 -- ======================================= chk_pin_10 = false chk_pin_10, onoff_pin_10 = poKeys:GetInput(9) if (chk_pin_10 == false) then -- GetInput Failed... Most likely not configured properly -- Put code here to perform for failure else -- We got results from the switch GetInput Function if (onoff_pin_10 == true) then -- Switch at Pin 10 is ON -- Put code here you wish FSX to perform ipc.writeUD(0x281C, 1) -- set FSX battery switch ON else if (onoff_pin_10 == false) then -- Switch at Pin 10 is OFF -- Put code here you wish FSX to perform ipc.writeUD(0x281C, 0) -- set FSX battery switch OFF else -- Could not determine status of Switch at Pin 10 -- Put code here you wish FSX to perform end end end -- chk_pin_10 end -- check_switches -- ================================================================================= -- Initial Script Startup -- ================================================================================= connect_usb = true -- true = USB / false = ethernet if (connect_usb == true) then -- Get Number of poKeys Devices Found no_devices = poKeys:EnumerateDevices() -- Connect to Device if (num_devices ~= 0) then connect_flag = poKeys:ConnectToDevice(0) if(connect_flag == false)then -- code to perform if ConnectToDevice fails ipc.log("Error connecting to poKeys USB Device 1") ipc.Display("Error connecting to poKeys USB Device 1") ipc.exit() end if(connect_flag == true)then ipc.log("Pokey56U01 mounted") ipc.display("Pokey56U01 mounted") end end else connect_to_ethernet() end ipc.log("FSX_Setup Lua Script Called") ipc.display("FSX_Setup Lua Script Called") fsx_setup() -- check physical switch and configure fsx software switch -- ================================================================================= -- Event Section -- ================================================================================= -- Gear up / down event event.timer(100,"check_switches") sorry everybody , i forgot Thanks for your idea or help
-
Linda Pokey & FSUIPC
hi all i bought a Linda 56U card and i have 2 questions one is Concerning FSUIPC (i know that it is not here the Forum of FSUIPC , but may be somebody use already this card and could tell me if it is logic or not): the pokey is not detected at all in FSUIPC but it is present as a Joystick in Peripheric panel (my Windows is a version 8 64bit Pro) the second one is : Linda discover well the pokey as a Joystick but the switch ON/OFF/ON i connect on the pokey does not activate detection in the joystick setting when i move it from OFF to ON , is it normal ?? the switch and the card work correctly because if i use the Pokey software i could set a "G" to activate the Gear and this works in Prepar3d thanks for your help Sikorsky77 Thierry Georgelin Windows 8 64 Bits Pro FSUIPC 4.92 Licenced Prepar3d 1.4
-
Did anyone setup DA Fokker 100 with VRInsight MCP II successfully?
Hi Kiko , you are true about LInda Profile i confuse in fact with old VRInsight software version which provided a Setting for the first generation of MCP ( i have and i used for the Fokker 100under FSX) and their actual Version for the new Boeing or Airbus Mcp that have no Profile for this good add-on (it was middle of night when i wrote my answer) may be a mail to VRInsight support (xxxx@xxxxxx) to ask them if their old Fokker 100 profile could be used with their current software & harware All my excuses for these confusion // e-mail address censored
-
Linda with Pokeys E
Hi Evangelos continuing to search why my Linda 1.13 does not detect the Event button , i discover this software that could be help you to program your Pokey56E it is not Linda but seems, after a first quick read, interesting in term of button and electronic component setting for fsx http://www.flightsimparts.eu/Simulator_PoKeys_Symphony.html may be do you know this , but in case of Thierry Paris
- Did anyone setup DA Fokker 100 with VRInsight MCP II successfully?
-
Linda with Pokeys E
Hi Evangelos i bought a Pokey56U which seems a starter IO card before going to Open Cockpit IOCP Solutions (more comple to afirst solution) the card is nice, seems good quality , the soft delivered with is interesting, but i prefer using Linda because i have some VRInsight Module as MCP after pluging the card, it is recognized in Linda V1-13 , i set it as a joystick, and Linda returns me "Status OK" happy it works , so i add a ON/OFF/ON button on pin 7 & 14 + GND (to affect to Gear for up & down via the FSX offset ) to the card ,and, surprise no effect in "joystick" section when i move button OFF to ON Linda event does not discovered the input change , i think it is card problem , run their "Pokey" software and when i move the button from OFF to ON, their soft react detecting the Change status i affect "G" , update the card , and when i move the button , the G simulation touch move the gear in P3D so not a Pokey56U problem it is where i am today,so i can't help you for the moment , expérience is stopped could you describe your problem , may be working together , we could advance Thierry Paris