Jump to content
The simFlight Network Forums

sikorsky77

Members
  • Posts

    36
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by sikorsky77

  1. Hi all who know in which manual of Pete i could find how to run an LUA Script on pc Client connected to my P3D V2.1 PC with Wideclient.exe ? thanks for your help and ideas friendly of frenchy Thierry
  2. Hi Paul You are the best , i assign from my saitek Throttle 2 buttons to start and stop my Pokey56u01 Lua script with your help , i win time to test script avoiding restart of P3D V2.1 after each modification have a very good weekend my dear
  3. Hi everybody i have a script managing a Pokey56u01 card this script is ran by the ipcready.lua how i can run it again without restarting p3d (for example if i make a modification inside) i search in the advanced manuel of Pete about LUA command and automation page 41, but i don't see something helping me if you have a solution, an idea or trick to give me, you will be welcome Thierry
  4. hi Paul if i understand well when i look at list box button , it show only the lua script starting with "lib-" located (as i see) in folder Modules\linda\libs so i have to move my script in this folder and rename it starting "lib-" as "lib-pokey56u01.lua" for the moment no impact about my initial error which was that it did not find the Luacom.dll in the function Require but your help is interesting , with "lib-" root name attachable to a button, i could re-run pokey script every time i need Thanks Paul for this precious help about testing have a good end of weekend
  5. Hi everybody a stupid question : shall i have the possibility to restart ipcready.lua script (launched by fsuipc at P3D start) without restarting P3D ? why : i add the pokey56U.lua script in ipcready.lua (as described in Terry Hall doc) and i make change for testing in pokey script , i lost time because, to take effect of the change, i have to close & restart p3D after each change thanks for helping a stupid Linda Lua beginner Thierry
  6. Hi Pete Just for information After the setting of flatdog, and after plug out/plug in of the pokey, a restart of my pc and p3d , the phokey was integrated as a joystick in position 0 in section joyname I have to use your letter asignment functionality to fix the order of the usb joystick I think that the fact pokey is assigned as a joystick a keyboard and a usb comm emulator maybe disturb the hid management Therry Have a good day
  7. Hi Pete Sorry , i use only P3D and nomore FSX but good news, the point advance for Linda side: in an old post you had with "Flatdog" in 2011 about the previous generation of pokey55U, i known now how to activate signal of button to be detected in Linda in the pokey Software, you have to activate a "Digital Input" in main setting of pin connected , then, in the "Joystick Settings" in "Device" menu, associate the pin to a joystick button sorry to have abused of your sunday time, but i don't know why, when i made a search in your full forum i didn't find these topic (i find it via a home cockpit builder site) http://forum.simflight.com/topic/69391-pokeys55-card/ for FSUIPC , my list of Hid Joystick range from 0 to 7 and from P3D side , the virtual joystick pokey in the list of joystick have a good end of day and thanks for your today support thierry
  8. and i discover that Prepar3d has the Virtual Joystick in his list
  9. Hi Pete thanks for your very quick answer i run HidScanner v2 and select Polabs Pokey Status in the log here that the HIDscanner tools discover about Pokey 2 status i see in the peripheric control panel (win 8 tell me that it is a Keyboard and a joystick) 1 status as comm (it is surely because, in the Pokey Lua script i add to your ipcready.lua , a link thuth Luacom.dll is launched) Device at "\\?\hid#vid_1dc3&pid_1001&mi_02#7&36392d2e&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" Vendor=1DC3, Product=1001 (Version 16.0) Manufacturer= PoLabs Product= Virtual keyboard Serial Number= 2.32502 Device is a keyboard Usage Page: 1 Input Report Byte Length: 35 Output Report Byte Length: 0 Feature Report Byte Length: 0 Number of Link Collection Nodes: 1 Number of Input Button Caps: 2 Number of InputValue Caps: 0 Number of InputData Indices: 110 Number of Output Button Caps: 0 Number of Output Value Caps: 0 Number of Output Data Indices: 0 Number of Feature Button Caps: 0 Number of Feature Value Caps: 0 Number of Feature Data Indices: 0 ************************************************************************** Device at "\\?\hid#vid_1dc3&pid_1001&mi_01#7&230910f0&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" Vendor=1DC3, Product=1001 (Version 16.0) Manufacturer= PoLabs Product= Communication Interface Serial Number= 2.32502 Usage Page: FF00 Input Report Byte Length: 65 Output Report Byte Length: 65 Feature Report Byte Length: 0 Number of Link Collection Nodes: 1 Number of Input Button Caps: 0 Number of InputValue Caps: 1 Number of InputData Indices: 1 Number of Output Button Caps: 0 Number of Output Value Caps: 1 Number of Output Data Indices: 8 Number of Feature Button Caps: 0 Number of Feature Value Caps: 0 Number of Feature Data Indices: 0 Value 0x01 at index 0, range 0 -> 255, using 8 bits ************************************************************************** Device at "\\?\hid#vid_1dc3&pid_1001&mi_00#7&fd8f4b2&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" Vendor=1DC3, Product=1001 (Version 16.0) Manufacturer= PoLabs Product= Virtual Joystick Serial Number= 2.32502 Usage Page: 1 Input Report Byte Length: 18 Output Report Byte Length: 0 Feature Report Byte Length: 0 Number of Link Collection Nodes: 2 Number of Input Button Caps: 1 Number of InputValue Caps: 7 Number of InputData Indices: 39 Number of Output Button Caps: 0 Number of Output Value Caps: 0 Number of Output Data Indices: 0 Number of Feature Button Caps: 0 Number of Feature Value Caps: 0 Number of Feature Data Indices: 0 Buttons range 1 -> 32 at indices 6 -> 37 Value U/RX at index 0, range 0 -> 4095, using 16 bits Value V/RY at index 1, range 0 -> 4095, using 16 bits Value Z at index 2, range 0 -> 4095, using 16 bits Value Y at index 3, range 0 -> 4095, using 16 bits Value X at index 4, range 0 -> 4095, using 16 bits Value Thr at index 5, range 0 -> 4095, using 16 bits Value POV at index 38, range 0 -> 7, using 8 bits
  10. Hi Pete Starting a Generic Home cockpit , i made the choice to use a Pokey56U Card for it simplicity before going to most complex Card as OC I have a look to Pokey Software , but it is not so powerfull to build some evoluated action for Prepar3D i saw in their package that they have a sample piece of code of LUA IPC language written by artem so i installed it as they described with the Appropriate required dll, add in ipcready.lua the pokey lua script i plugged a toggle switch in Pin 10 & 11 wich associated to their example code the Battery ON & OFF nothing happend i look in Joystick Section of Linda , the Pokey is installed and validated as a virtual joystick, but if a move the switch from Off to On , no event is detected i made the same test with Fsuipc in "Button & switch" and no effect too i looked at the FSUIPC.INI and and saw that the virtual joystick (pokey) is not in the list of Joystick i have a doubt about card and/or switch , start the pokey software, set a "G" to the pin 10 & 11 , take off ,move switch and gear move up and down , so for me no electronic problem so i delete pokey config to avoid interact with LUA Script i have also a look to see if Luacom.dll and Lua5.1.dll are mounted in memory for communication and it is the case and at this point, i have an interrogation Does FSUIPC need to know the Pokey Card in his setting to work with Linda , IPC language and the 2 dll used in the Pokey.lua script ??? I know that you are not support of Linda / Lua but your experience , skill & knownledge about FS Comm is so large that maybe you have a beginning of answer i profit to thank you about your huge contribution to FS world have a good day Pete regards Thierry
  11. Hi Pete Newbie in home cockpit creation , i make the choice to start with a simple card , the Pokey 56U , before going to most complex OC card and programmation it software is very simple to use but seems not sufficiant to interface complex thing with P3D as checking status of an offset before doing an action, so i want to have something more powerfull and i have a look to IPC language poscope furnish a simple piece of code to try (a sample code made by artem for battery with off/on toggle switch), but no effect Linda 1.13 installed it as a joystick , but an OFF/ON toggle switch have no effect in Linda joystick Button section having a doubt, I verified the card and the toggle by using the pokey software (i set the "G" to gear UP & Down , and Prepar3d recognize the action) but before that i have a very simple stupid question FSUIC have to discover the Pokey card to be interfaced with Linda or is it not mandatory for using IPC language ?? the card driver which is installed in my windows 8-64bit-pro define the card as a dual joystick and keyboard ps : Sorry for Linda in my post ,i know that Linda is not one of your software , but your experience of com with Fsuipc is so large that maybe you have also a beginning of answer on this subject thanks for your largest contribution for FS World with your tools , skill & knownledge about FS Thierry
×
×
  • 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.