Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    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

    Big Problems - OC LCD Card

    Hi everyone,

    I am having trouble getting this card to work correctly. I am using a 20x2 LCD Display, HD44780 Standard (http://www.maplin.co.uk/media/pdfs/N29AZ.pdf).

    Basically, when I plug the card into the USB (with LCD attatched), it is recognised by the PC. The Opencockpits USBLCD Check application sucessfully indentifies the LCD Card, so there is no USB problem.

    The LCD screen itself lights up its backlighting. Also, the top line of the LCD display is filled with black squares (not random squares, they occupy the correct LCD locations).

    I designed a very simple IOCLcd Display:



    And this SIOC script:

    Code:
    Var 0004, name LCD
    
    Var 0 Value 0
    {
    &LCD = 0
    }
    I start IOCLCD.exe, import the virtual display made above, and then run SIOC. Nothing whatosever displays on the LCD screen.

    Jack

  2. #2
    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: Big Problems - OC LCD Card

    Jack,
    I think that you miss a variable for virtual display selection (in your SIOC script). Something like this:
    Code:
    Var 4 Value 0 // virtual display selector
    Var 5 name LCD
    
    Var 6 Value 0
    {
      &LCD = 0
    }
    Please study carefully my working example (with all the nececssay files in a zip): http://www.lekseecon.nl/iocards.html#USBLCD


    Did you define a IOClcd.ini?

    regards,
    Nico

  3. #3
    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: Big Problems - OC LCD Card

    Hi Nico,

    I will post my SIOC.ini later today. Many thanks for your information.

    Jack

  4. #4
    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: Big Problems - OC LCD Card

    yes, and your IOCLCD.INI

  5. #5
    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: Big Problems - OC LCD Card

    Hi Nico,

    This is my IOCLCD.ini:

    Code:
    [ fichero de configuracion para IOClcd ]
    [ Configuration file for IOClcd ]
    
    [ Arranque minimizado en la barra ]
    [ Start minimized in tray ] 
    Minimized=No
    
    [ Múltiples USBs ]
    [ Non unique USB ]
    MUSB=No
    
    [ Número de periférico para el USB ]
    [ USB Device number ]
    deviceUSB=95
    
    [ IP del HOST del servidor ]
    [ IOCP server host name ]
    IOCP_host=localhost
    
    [ Puerto de envio del protocolo IOCP ]
    [ IOCP port ]
    IOCP_port=8092
    
    [ Tiempo de respuesta máximo de los paquetes IOCP ]
    [ IOCP Timeout ]
    IOCP_timeout=4000
    
    [ Tiempo en refresco de las pantallas LCD (ms)]
    [ Time refresh for LCD (ms) ]
    refresh=80
    
    [ Fichero de configuracion ]
    [ Configuration File ]
    CONFIG_FILE=IOCLcd.lcd
    
    
    [ End of File ]
    SIOC.ini:

    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
    
    [DEVICE INFORMATION]
    USBSERVOS=0,77
    deviceUSB=2132
    
    [USBEXPANSION]
    USB=Yes
    
    [MULTIPLE]
    MUSB=Yes
    
    [USBKEYS]
    USBKeys=0,67
    
    [MASTERS]
    MASTER=0,4,1,91
    
    [NUMBER MASTERS]
    NCards=1
    
    [A/D USED MASTER]
    USB_AD=4
    
    [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

  6. #6
    500+ This must be a daytime job



    Join Date
    Jan 2007
    Location
    NEW ZEALAND
    Posts
    908
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Big Problems - OC LCD Card

    Hi Jack,
    Few pointers to follow;
    1.Hardware can be checked by setting up text(via IOLCDconfig) and IOlcd.ini is correct. Run iolcd.exe (dont need sioc) and what text you have configured
    should appear on your lcd. May have to adjust contrast. If you can't get this then your hardware is not right.
    2. IOLCD card has 4 pins to connect to 4 physical LCD modules. If you configured for Display 0 the there is one pin from the IOLCD card that has been
    designated for display 0. Make sure you have the correct one and only one. Ive seen people connect all 4 to one module and others have selected another
    display other than what they defined in IOLCDconfig program.
    Hope this helps.
    Les

  7. #7
    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: Big Problems - OC LCD Card

    Hi Les,

    This is how my Display is wired:



    Nico's file do not work for me either so I think something is wrong. However! Earlier today, I fired up IOLCD and SIOC, and all the black squares cleared... Apart from threee very small dots on the first character. Surely this is soemthing?

  8. #8
    500+ This must be a daytime job



    Join Date
    Jan 2007
    Location
    NEW ZEALAND
    Posts
    908
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Big Problems - OC LCD Card

    Jack,
    Got to go to work now, its wed morn. Will get back to u later if others havnt helped.
    Les

  9. #9
    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: Big Problems - OC LCD Card

    FANTASTIC NEWS!!!!!!

    After some fiddling around, doing random stuff with IOLCD.exe, SIOC, etc, randomly, three letters appeared on the LCD Display. L, C and R, just like Nico's script dictated!!! This definitely proves SIOC is communciating with the Display!!!

    The only problem is, is that I don't know how I did this! I just changed the USB number in the Config file from 33 to 95 (95 is what it should be), and it worked! But now, I do the exact same thing... And nothing happens? There is communication... But it is very strange!

  10. #10
    500+ This must be a daytime job



    Join Date
    Jan 2007
    Location
    NEW ZEALAND
    Posts
    908
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Big Problems - OC LCD Card

    Jack,
    You seem to be nearly there. If you have been able to get the letters L C R up then its basically working. Why you cant repeat it is puzzling. Sure you dont have any funny connections, id recheck these. Make sure youre not trying to run too much off your usb power connections. I would leave backlighting
    disconnected till you get reliable operation. This maybe dragging down your voltage. As i said in my last post, SIOC does not need to be running to get the
    text up on the display.
    Les
    Your wiring seems to be correct if its wired as per your diagram.

Page 1 of 2 12 LastLast

Similar Threads

  1. IO Cards Problem setting up Display Card on Master Card
    By Barrykensett in forum OpenCockpits General Discussion
    Replies: 1
    Last Post: 05-02-2009, 01:30 PM
  2. Problems with Install of Second Video Card
    By colt45 in forum Computer Hardware Setup
    Replies: 15
    Last Post: 03-11-2009, 08:57 AM
  3. New input card disconnecting the other card
    By Michael Carter in forum Computer Hardware Setup
    Replies: 7
    Last Post: 01-23-2009, 12:01 PM
  4. USBkeys card problems
    By Georg Schneider in forum OpenCockpits General Discussion
    Replies: 1
    Last Post: 06-28-2008, 01:55 PM
  5. Potential buyer: VNAV problems, A/P problems?
    By 737aqua in forum PM General Q & A
    Replies: 13
    Last Post: 04-26-2008, 09:21 PM