Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  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: MasterCard/USBExpansion detection

    Okay, that's good. I was more worried about the SIOC.ini being wrong. I will re-test with something much simpler like an AP switch.

  2. #12
    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: MasterCard/USBExpansion detection

    Quote Originally Posted by Boeing 747 Flyer View Post
    I will re-test with something much simpler like an AP switch.
    An AP switch? Why so complicated? Test it like this:
    Code:
    Var 10, Name LED1, Link IOCARD_OUT, Output 11 // LED1
    Var 11, Name LED2, Link IOCARD_OUT, Output 13 // LED2
    Var 12, Name LED3, Link IOCARD_OUT, Output 15 // LED3
    Var 13, Name LED4, Link IOCARD_OUT, Output 17 // LED4
    Var 14, Name LED5, Link IOCARD_OUT, Output 19 // LED5
    Var 15, Name LED6, Link IOCARD_OUT, Output 23 // LED6
    
    Var 0 Value 0
    {
      &LED1 = 1
      &LED2 = 1
      &LED3 = 1
      &LED4 = 1
      &LED5 = 1
      &LED6 = 1
    }

  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: MasterCard/USBExpansion detection

    Hi Nico,

    I have tried your script and unfortunately, the LEDs still do not light. The master card definitely works, I have tested in Controlador.exe. It seems like SIOC is not talking to the master card (in fact, when I tested the AP script, IOCPConsole Log said that LEDs 11, 13, and 15 should be =1; they weren't).

    I definitely have the outputs declared right in SIOC.

  4. #14
    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: MasterCard/USBExpansion detection

    You miss a MASTER statement in your sioc.ini (that's why...)

    I thought you would know that by now ...

  5. #15
    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: MasterCard/USBExpansion detection

    Hi Nico,

    This isn't mentioned in the USBExpansion Documentation. I filled in the SIOC.ini according to the manual. Where is this statement? The only entries that you are told to apply by the manual are:

    - USB=Yes
    - Musb=Yes
    - USB_AD=4
    - NCards=1

  6. #16
    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: MasterCard/USBExpansion detection

    Don't know which documentation you are looking into, but that is certainly not correct.
    You should look into the SIOC documentation, not the USB expansion card....

    Look here.

    This is how your sioc.ini should be like:
    Code:
    [SIOC]
    IOCP_port=8092
    IOCP_timeout=4000
    Minimized=Yes
    toggle_delay=20
    CONFIG_FILE=ttt.ssi
    
    [IOCARDS MODULE]
    IOCard_disable=No
    IOCard_LPT=No
    
    [MASTERS]
    MASTER=0,4,1,1001
    
    [FSUIPC MODULE]
    FSUipcdisable=No
    FSUipcRefresh=50
    
    [IOCP CLIENTS MODULES]
    IOCPini_delay=3000
    IOCPclient0_disable=Yes
    IOCPclient0_host=localhost
    IOCPclient0_port=8090
    IOCPclient1_disable=Yes
    IOCPclient1_host=localhost
    IOCPclient1_port=8099
    
    [SOUND MODULE]
    Sound_disable=Yes
    Volume=100
    Change the number 1001 in the MASTER statement into the Devicenumber of your USB expansion card that is shown in the SIOC main window.

    Nico

  7. Thanks colt45, Boeing 747 Flyer thanked for this post
  8. #17
    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: MasterCard/USBExpansion detection

    Thanks very much Nico, that SIOC.ini works great.

    Also, thanks a bunch for that PDF Document. I have been looking for soemthing exactly like that. Rest assured it has been saved and copied to my Hard-Drive.

  9. #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: MasterCard/USBExpansion detection

    Quote Originally Posted by Boeing 747 Flyer View Post
    Rest assured it has been saved and copied to my Hard-Drive.
    You better burn a copy to a CD/DVD as well, hard disks may crash

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Connecting Mastercard to USB Expansion
    By colt45 in forum OpenCockpits General Discussion
    Replies: 3
    Last Post: 08-10-2010, 04:57 PM
  2. OC MasterCard Help.
    By CessnaGuy in forum General Builder Questions All Aircraft Types
    Replies: 15
    Last Post: 04-05-2010, 09:45 AM
  3. Mastercard OC
    By 150245 in forum OpenCockpits General Discussion
    Replies: 4
    Last Post: 03-09-2010, 02:02 PM
  4. Switch on Mastercard
    By Biting Bee in forum OpenCockpits General Discussion
    Replies: 1
    Last Post: 10-14-2009, 01:25 AM
  5. USBExpansion troubles.
    By poonta in forum OpenCockpits General Discussion
    Replies: 15
    Last Post: 04-17-2008, 12:47 PM