Announcement

Collapse
No announcement yet.

troubleshooting touchscreen gen4-uLCD-50DCT-CLB

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • troubleshooting touchscreen gen4-uLCD-50DCT-CLB

    I have a brand new gen4-uLCD-50DCT-CLB display with some touchscreen issues.
    It wont show a touch graphically, ie changing the colour of a button, or report any touch over serial on any area of the screen.
    Have done the basic troubleshooting, i can quite happily use the GTX tool over serial, it seems to have the correct version of PMMC on the display,
    i forced an update anyway, just in case, and it wrote that on fine, but still have the same issue.for reference, it reports

    theCurrent PmmC 'Diablo16' version '20'
    Current Driver 'Gen4-uLCD-50DCT-CLB-A' dated '16/06/09'
    Driver is up to date
    PmmC is up to date


    i reseated all the flex cables on the display, doesnt appear to be any board damage or dry joints that are obvious?
    At a bit of a loss as to what to look for next, or if this display is defective?

  • #2
    Hello,

    Welcome to the forum.

    I am sorry to hear you are having touch issues with your display.
    Thank you for carrying out basic checks and ensuring all flex cables are seated correctly. Also confirm that you have nothing connected to pins PA12 & PA13 as these pins are used by the touch controller.

    You can also try this ViSi / Designer code to test for touch functionality.

    var state, n;
    var x, y;

    func main()

    touch_Set(TOUCH_ENABLE); // enable the touch screen

    print("ready..");

    gfx_RectangleFilled(0, 100, 100, 200, 0x556A) ;

    repeat

    state := touch_Get(TOUCH_STATUS); // get touchscreen status
    n := img_Touched(hndl,-1) ;

    //-----------------------------------------------------------------------------------------
    if(state == TOUCH_PRESSED) // if there's a press
    x := touch_Get(TOUCH_GETX);
    y := touch_Get(TOUCH_GETY);

    gfx_MoveTo(0, 50); // set glb_X1 and glb_Y1 to required co-ordinate
    print("x: ", x, " \n");
    print("y: ", y, " \n");

    if ((x>0)&&(x<100)&&(y>100)&&(y<200))
    gfx_MoveTo(0, 200);
    print("area is pressed");
    else
    gfx_MoveTo(0, 200);
    print(" ");
    endif
    endif


    //-----------------------------------------------------------------------------------------
    if(state == TOUCH_RELEASED) // if there's a release


    endif

    //-----------------------------------------------------------------------------------------
    if(state == TOUCH_MOVING) // if it's moving
    x := touch_Get(TOUCH_GETX);
    y := touch_Get(TOUCH_GETY);
    endif

    forever
    endfunc


    Best regards

    Paul

    Comment


    • #3
      just trying that now, i am not really familiar with 4dgl language,
      i have a compiler error in the statement - n := img_Touched(hndl,-1) ;

      Error: 'hndl' not found (line 20 file:NoName1.4dg)
      Error: context error for unknown 'hndl' (line 20 file:NoName1.4dg)

      cheers for the quick reply
      Ryan

      Comment


      • #4
        Hi Ryan,

        Sorry about that, you can just comment that line out.

        // n := img_Touched(hndl,-1) ;

        Best regards

        Paul

        Comment


        • #5
          i did comment it out, but i was unsure of how that would affect things.
          compiled and ran fine, but unfortunately, still no touchscreen.
          any other ideas or things i can try? or is it looking like a warranty return?

          either way, thanks heaps for your help
          Ryan

          Comment


          • #6
            Hi Ryan,

            Thanks for getting back to me so quickly. Would you like to open a support ticket by visiting http://www.4dsystems.com.au/support

            Best regards

            Paul

            Comment


            • #7
              Done. Thanks for all your help!
              Ryan

              Comment


              • #8
                Greeting

                I meet same issue with a new GEN4-43DT, but mine only not showing x axis while y axis working fine. I clear this problem by pressing some kind of connector hidden inside the plastic body. I remember hearing some click sound when i randomly pressing the body and then its working.

                Comment


                • #9
                  Good day wisnuhidayatmail,

                  The connector we call the flex cable may not be seated properly.
                  This maybe a simple defect on the assembly of the units.
                  I hope your display module is working perfectly now.

                  Comment

                  Working...
                  X