Page 1 of 1

Touch screen Delphi example

Posted: Mon Nov 14, 2011 11:21 am
by tedcwagner
I don't have a GTT480272A in hand yet, so I'm flying a little blind here, but I was very pleased to see some Delphi examples on this forum.

Are any examples available for the touch screen interface in Delphi?

Would this occur by some asynchronous callback, or would I have to start a dedicated thread for reading from the comm port?

Posted: Mon Nov 14, 2011 12:11 pm
by Clark
Hi Ted,

Most of our code examples are published not only on the forums but in the application note section of the matrixorbital.ca site. Unfortunately, we don't have any Delphi examples specifically for the GTT.

For touch events in a C# environment you will see we have used a dedicated thread for reading as in the GLT240128 example. Using C# in the Visual Studio the data received event is run on a secondary string and a response is not guaranteed for every byte received, thus the dedicated thread.

Investigate your documentation to find the best read method, take a look at the examples provided, and if you have any questions don't hesitate to post.

Thanks,
~Troy