Results 1 to 5 of 5
  1. #1
    75+ Posting Member
    Join Date
    Jan 2009
    Location
    Austria
    Posts
    120
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Question trigger .cmd file with SIOC - is this possible?

    Hi,

    I have a queation if this is possible with SIOC if not, maybe another programm could solve this for me.

    If a certain FSUIPC offset is set to 1 an external .cmd file should be executed.
    If it is 0 another .cmd file sould be executed on a machine.

    Is this possible?
    Maybe someone can help me with that.

    Thanks alot,
    Markus
    best regards, Markus
    Boeing 737NG Home Cockpit: https://737cockpit.info

  2. #2
    500+ This must be a daytime job
    Join Date
    Jul 2013
    Posts
    948
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: trigger .cmd file with SIOC - is this possible?

    Markus

    I should check out the Luala plug-in programme within the FSUIPC documentation. Might be possible that way

    Regards

    David

  3. #3
    75+ Posting Member
    Join Date
    Jan 2009
    Location
    Austria
    Posts
    120
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: trigger .cmd file with SIOC - is this possible?

    Hello,

    as I am not an expert in programming, I may ask for a helping hand here.
    Does anyone has an idea how my problem can be resolved with LUA scripts or any other programming language and give me a helping hand?

    The .cmd file should be executed on another PC running WideFS.

    Any help is highly appreciated.
    Thanks,
    Markus
    best regards, Markus
    Boeing 737NG Home Cockpit: https://737cockpit.info

  4. #4
    75+ Posting Member
    Join Date
    Jan 2009
    Location
    Austria
    Posts
    120
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: trigger .cmd file with SIOC - is this possible?

    Got it working now.
    It's really simple. Once you know it
    No LUA or other scripts are required - just FSUIPC and WideFS.
    Thanks to Pete Downson for the help.

    I have added the following lines to my wideclient.ini

    RunKey5=path to the program to be executed on push of the button
    RunKey6=path to the program to be executed on release of the button
    KeySend5=Runkey5
    KeySend6=Runkey6

    In FSUIPC the option "Keysend 1-255 (WideFS)" was enabled to parameter 5 when pushed and 6 when released.

    Working perfect
    best regards, Markus
    Boeing 737NG Home Cockpit: https://737cockpit.info

  5. Thanks kiek thanked for this post
  6. #5
    500+ This must be a daytime job
    Join Date
    Jul 2013
    Posts
    948
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: trigger .cmd file with SIOC - is this possible?

    Markus

    Thanks, good to know, I must really read the FSUIPC documentation more thoroughly

    David

Similar Threads

  1. SIOC configuration file for PMSystems
    By MortenHa in forum PMSystems
    Replies: 2
    Last Post: 12-08-2008, 07:12 AM
  2. Sioc file for 737 pic by wilco/feelthere
    By dedalo70 in forum OpenCockpits General Discussion
    Replies: 1
    Last Post: 11-02-2008, 09:02 AM
  3. Replies: 3
    Last Post: 08-15-2008, 04:29 AM
  4. Question for Alan re: offset trigger ranges
    By rangepig in forum FS2Phidget Users
    Replies: 3
    Last Post: 11-22-2004, 10:46 AM