Results 1 to 7 of 7
  1. #1
    Our new friend needs to reach 10 posts to get to the next flight level
    Join Date
    Feb 2011
    Location
    Lagny-sur-Marne 5Km near Disneyland Paris
    Posts
    6
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    programming in Linda LUA IPC code with a pokey56U

    I bought a Pokey 56U and i try to pilot a single switch with a Script given on Polabs Web Site (written by Terry Hall)

    but the script doesn't work at all
    if i open it with the "Linda Editor", a error is shown at the begining of the script on a "end" in line 11 and the line 6 (creating the pockey Dll object) is hightlighted in Red

    is somebody know how interact pokey with Linda IPC or have you a small piece of code to show how i could manage switch as the battery ON/OFF

    Syntax error!

    Line: 11: attempt to index global 'luacom' (a nil value)
    stack traceback: \linda\lua\tmp.lua:11: in main chunk

    1 | -- =================================================================================
    2 | -- Initial Setup
    3 | -- =================================================================================
    4 |
    5 | require "luacom"
    6 | poKeys = luacom.CreateObject("PoKeysDevice_DLL.PoKeysDevice")
    7 |
    8 | if poKeys == nil then
    9 | ipc.log("Error: Unable to create PoKeysDevice_DLL object")
    10 | ipc.exit()
    11 | end
    12 |
    13 | connect_usb = true -- true = USB / false = ethernet

    thanks for your help
    thierry
    newbie in home cockpit

  2. #2
    150+ Forum Groupie
    Join Date
    Jul 2008
    Location
    Belgium
    Posts
    279
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: programming in Linda LUA IPC code with a pokey56U

    You have off course installed the PoKeys libraries which can be found on the very same website ?
    If not you should first install the PoKeys software.

    Regards, Wendy
    http://www.flightsimparts.eu
    PoKeys interface cards

  3. #3
    Our new friend needs to reach 10 posts to get to the next flight level
    Join Date
    Feb 2011
    Location
    Lagny-sur-Marne 5Km near Disneyland Paris
    Posts
    6
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: programming in Linda LUA IPC code with a pokey56U

    Hi Wendy
    Do you speak about this one ??
    PoKeysLib - Cross-platform C++ library for PoKeys

    i have also installed the may pokey software V3.0.650
    Regards Thierry

  4. #4
    150+ Forum Groupie
    Join Date
    Jul 2008
    Location
    Belgium
    Posts
    279
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: programming in Linda LUA IPC code with a pokey56U

    Yes that is the one

    Regards, Wendy
    http://www.flightsimparts.eu
    PoKeys interface cards

  5. #5
    Our new friend needs to reach 10 posts to get to the next flight level
    Join Date
    Feb 2011
    Location
    venice italy
    Posts
    5
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: programming in Linda LUA IPC code with a pokey56U

    Quote Originally Posted by Wendy View Post
    Yes that is the one

    Regards, Wendy
    sorry can you please indicate me where the library C++ of pokeys must to be put (in the modules of FSX?)

  6. #6
    150+ Forum Groupie
    Join Date
    Jul 2008
    Location
    Belgium
    Posts
    279
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: programming in Linda LUA IPC code with a pokey56U

    Just install in to the default location. The location where the setup op PoScope installs.
    Pokeys libraries have nothing to do with FSX directly

    Regards, Wendy
    http://www.flightsimparts.eu
    PoKeys interface cards

  7. #7
    Our new friend needs to reach 10 posts to get to the next flight level
    Join Date
    Feb 2011
    Location
    venice italy
    Posts
    5
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: programming in Linda LUA IPC code with a pokey56U

    Quote Originally Posted by Wendy View Post
    Just install in to the default location. The location where the setup op PoScope installs.
    Pokeys libraries have nothing to do with FSX directly

    Regards, Wendy
    thanks for the reply,
    the folder mbosnak-pokeyslib-0c79170734d5
    must to be put in the main root where pokeys is install?
    there are others folder like Development Examples platforms etc...

    Simone