Page 2 of 7 FirstFirst 123456 ... LastLast
Results 11 to 20 of 65
  1. #11
    500+ This must be a daytime job Boeing 747 Flyer's Avatar
    Join Date
    Nov 2009
    Location
    England
    Posts
    635
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: "Inner Circle" HSI - SIOC DC Motors Card Script

    Any ideas? I still cannot get the potentiometers recognised by SIOC, despite the fact that they are fully working in Controlador.exe?

  2. #12
    500+ This must be a daytime job



    Join Date
    Jul 2013
    Posts
    917
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: "Inner Circle" HSI - SIOC DC Motors Card Script

    Jack

    Try reading the last few lines on page 4 of the installation manual for this card. Also, I would strip out the many references to other cards in your .ini file to reduce it down to only what you currently need

    David

  3. #13
    500+ This must be a daytime job Boeing 747 Flyer's Avatar
    Join Date
    Nov 2009
    Location
    England
    Posts
    635
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: "Inner Circle" HSI - SIOC DC Motors Card Script

    Hi David,

    I will look at the manual.

    The references like USBServos, etc... Are all needed. I have 7 seperate Opencockpit Cards + one ATC module.

    EDIT: David, which manual is this? I see no reference to Potentiometers in both the USBExpansion or Master manual lifted from the OC shop page.

    Jack

  4. #14
    500+ This must be a daytime job



    Join Date
    Jul 2013
    Posts
    917
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: "Inner Circle" HSI - SIOC DC Motors Card Script

    Quote Originally Posted by Boeing 747 Flyer View Post
    Hi David,

    The references like USBServos, etc... Are all needed. I have 7 seperate Opencockpit Cards + one ATC module.

    Jack
    I only meant for the troubleshooting stage

    David

  5. #15
    500+ This must be a daytime job



    Join Date
    Jul 2013
    Posts
    917
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: "Inner Circle" HSI - SIOC DC Motors Card Script

    Quote Originally Posted by fordgt40 View Post
    Jack

    Try reading the last few lines on page 4 of the installation manual for this card.

    David

    The card you are trying to make work - the USBDCMotors card. I am assuming that you are using the A/D inputs from that card

    David

  6. #16
    500+ This must be a daytime job Boeing 747 Flyer's Avatar
    Join Date
    Nov 2009
    Location
    England
    Posts
    635
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: "Inner Circle" HSI - SIOC DC Motors Card Script

    Hi David,

    The Pots are now completely recognised, but Var 25 refuses to execute when the pot changes from 150 and vice-versa.

    Why does this script not work?

    Code:
    Var 0, Value 0
    {
     &Motor_2 = 120
     &Motor_3 = 120
     &Motor_4 = 120
     &Motor_6 = 120
    }
    
    Var 0001, name Motor_1, Link USB_DCMOTOR, Output 1
    
    Var 0002, name Motor_2, Link USB_DCMOTOR, Output 2
    
    Var 0003, name Motor_3, Link USB_DCMOTOR, Output 3
    
    Var 0004, name Motor_4, Link USB_DCMOTOR, Output 4
    
    Var 0005, name Motor_5, Link USB_DCMOTOR, Output 5
    
    Var 0006, name Motor_6, Link USB_DCMOTOR, Output 6
    
    Var 0010, name A1, Link USB_ANALOGIC, Input 1, PosL 0, PosC 127, PosR 255
    
    Var 0011, name A2, Link USB_ANALOGIC, Input 2, PosL 0, PosC 127, PosR 255
    
    Var 0012, name A3, Link USB_ANALOGIC, Input 3, PosL 0, PosC 127, PosR 255
    
    Var 0013, name A4, Link USB_ANALOGIC, Input 4, PosL 0, PosC 127, PosR 255
    
    Var 25, name Bar_GS
    {
     IF &A3 <= 150
     {
      &Motor_1 = 120
      &Motor_5 = 250
     }
      ELSE
      {
       &Motor_1 = 250
       &Motor_5 = 120
      }
    }

  7. #17
    500+ This must be a daytime job



    Join Date
    Jul 2013
    Posts
    917
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: "Inner Circle" HSI - SIOC DC Motors Card Script

    Jack

    It is a basic principle of SIOC that scripts attached to a variable are only executed when the value of the variable changes. But in your coding variable 25 never changes value!! This is amply and clearly explained on Nico`s site, perhaps a bit more homework is required

    David

  8. #18
    500+ This must be a daytime job kiek's Avatar
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    698
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: "Inner Circle" HSI - SIOC DC Motors Card Script

    Quote Originally Posted by fordgt40 View Post
    This is amply and clearly explained on Nico`s site, perhaps a bit more homework is required
    SIOC - The golden rule

    Nico

  9. #19
    500+ This must be a daytime job Boeing 747 Flyer's Avatar
    Join Date
    Nov 2009
    Location
    England
    Posts
    635
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: "Inner Circle" HSI - SIOC DC Motors Card Script

    Thanks very, very much everybody. All works now!

    Onto the next task... Getting the Pots, Motor and Offset $04CE all interfaced together.

    I am trying trying to understand Gery's method from earlier. How can I interface all of them? I am comfortable with Servo gauges but not with these (?).

    Kindest regards,

    Jack

  10. #20
    500+ This must be a daytime job Boeing 747 Flyer's Avatar
    Join Date
    Nov 2009
    Location
    England
    Posts
    635
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: "Inner Circle" HSI - SIOC DC Motors Card Script

    Any ideas?

Page 2 of 7 FirstFirst 123456 ... LastLast

Similar Threads

  1. DC Motors Card - How to use in SIOC?
    By Boeing 747 Flyer in forum OpenCockpits General Discussion
    Replies: 4
    Last Post: 04-20-2017, 09:11 PM
  2. Expansion card buggy? Shows "ghost" inputs where there aren't...
    By Michael737NG in forum OpenCockpits General Discussion
    Replies: 0
    Last Post: 12-26-2010, 07:02 AM
  3. SIOC "IF" Question
    By Boeing 747 Flyer in forum OpenCockpits General Discussion
    Replies: 89
    Last Post: 08-29-2010, 05:34 PM
  4. FSX "This graphics card does not meet minimum ..." HELP !!!!
    By ibennett in forum Computer Hardware Setup
    Replies: 5
    Last Post: 04-12-2010, 09:46 PM
  5. Replies: 17
    Last Post: 03-05-2008, 12:39 PM