EasyManuals Logo

Elo TouchSystems ET1229L Series User Manual

Elo TouchSystems ET1229L Series
249 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #170 background imageLoading...
Page #170 background image
Section 5. Example Applications
47
NULL, // address of thread security attributes
0L, // initial thread stack size, in bytes
(LPTHREAD_START_ROUTINE)input_thread,// addr of thread function
NULL, // argument for new thread
0L, // creation flags 0-run immediately
&retdw // address of returned thread identifier
),
"Can't Create input thread" );
in_threadh = ret_h;
Sleep(100);
printf("\nTest Console started. (press <^Z> to terminate).\n");
} while (0);
switch ( stage)
{
case 9:
WaitForSingleObject (in_threadh, INFINITE); printf ("\n");
case 8:
quit = TRUE;
ws = WaitForSingleObject ( out_threadh, 300);
if (ws != WAIT_OBJECT_0)
{
DWORD ret_len;
}
SetEvent (ov_r.hEvent); //@@out_ev);
ws = WaitForSingleObject ( out_threadh, INFINITE);
CloseHandle ( out_threadh );
CloseHandle ( in_threadh );
case 7: CloseHandle ( ov_w.hEvent );
case 6: CloseHandle ( ov_r.hEvent );
case 1: CloseHandle ( drv_h );
}
return (0);
}
/* --- Helpers -------------------------------------------------------------- */
#define SINGLE_CHARS
void input_thread (void *p)
{
int ch;
DWORD ws;
char str[100];
ch=0;
while(!quit)
{
#ifdef SINGLE_CHARS
ch = getch();
printf("%c", ch);
if(ch==13)
printf("\n");
if(ch==0)
{
if (kbhit())
{
ch = 0x100 + getch();
}

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Elo TouchSystems ET1229L Series and is the answer not in the manual?

Elo TouchSystems ET1229L Series Specifications

General IconGeneral
BrandElo TouchSystems
ModelET1229L Series
CategoryTouchscreen
LanguageEnglish

Related product manuals