Search found 37 matches: testcomm

Return to advanced search

Re: Tickets por puerto serie

Gracias karinha los ejemplos de samples\testcomm me compilan bien y funcionan pero no se como crear la impresora serie y escribir en ella. Muchas gracias. No entendí bien, pero no veo ninguna razón para que uses los PUERTOS COM para imprimir. ...
by karinha
Fri Mar 17, 2023 4:48 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tickets por puerto serie
Replies: 8
Views: 797

Re: Tickets por puerto serie

Gracias karinha los ejemplos de samples\testcomm me compilan bien y funcionan pero no se como crear la impresora serie y escribir en ella.
Muchas gracias.
by Julio Cepeda
Fri Mar 17, 2023 4:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tickets por puerto serie
Replies: 8
Views: 797

Re: Sample Code that reads com port

Yes, we are fine thanks God. Wishing you are all fine too.

You may review FWH\samples\testcomm.prg

but it seems to me as Harbour's contribs hbcomm is more complete
by Antonio Linares
Tue Feb 01, 2022 7:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sample Code that reads com port
Replies: 5
Views: 387

Re: Consulta sobre OpenComm()

... are not interrupt driven--for these ports, the cbInQueue and cbOutQueue parameters are ignored and the queue size is set to zero. Sample: SAMPLES\\TestComm.prg Source Code: SOURCE\\WINAPI\\Comm.c See also: CloseComm() WriteComm() ReadComm() BuildCommDcb() SetCommState() FlushComm() GetCommError()
by carlos vargas
Thu Jun 15, 2017 10:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta sobre OpenComm()
Replies: 5
Views: 1070

Re: Communication with ARM9

For SetComm.prg output display .f. in msginfo() For original TestComm.prg nothing display but after I insert /////////////////////////// function main local nComm nComm=OpenCom() msginfo(str(nComm)) return nil /////////////////////////// the output is ...
by Surasak
Sat Jul 02, 2011 10:27 am
 
Forum: FiveWin for Pocket PC
Topic: Communication with ARM9
Replies: 6
Views: 1868

Re: Communication with ARM9

When you run TestComm.prg, what msg do you see on the screen ?

Msginfo("Fallo al abrir "+ cComm)

Msginfo( "Fallo al iniciar RAWIR")

MsgInfo("Fallo al configurar "+ cComm)

(these msgs are inside TestComm.prg)
by Antonio Linares
Sat Jul 02, 2011 6:03 am
 
Forum: FiveWin for Pocket PC
Topic: Communication with ARM9
Replies: 6
Views: 1868

Communication with ARM9

I just order FWPPC for running on S3C2440 Friendly ARM9 with Windows CE 5.0-6.0, When test the samples SetComm.prg return is .f. and TestComm.prg notthing happen. I try to use this code for capture the result but function OpenCom return value of hComm more than 9 and alway change. #include ...
by Surasak
Thu Jun 30, 2011 9:36 am
 
Forum: FiveWin for Pocket PC
Topic: Communication with ARM9
Replies: 6
Views: 1868

Re: para Antonio

Victor,

Puedes revisar el ejemplo phone.prg en la carpeta samples, ó el ejemplo TestComm.prg.

Cualquiera de esos dos te servirá :-)
by Antonio Linares
Tue Jun 15, 2010 11:54 am
 
Forum: Off Topic / Otros temas
Topic: para Antonio
Replies: 4
Views: 1369

Re: Ayuda Con Puertos COMM

Carlos,

Como estas haciendo para enviarle los datos al puerto com ? Muestranos el código y lo revisamos.

Tambien puedes revisar ejemplos en FWH\samples\TestComm.prg y Phone.prg
by Antonio Linares
Sun Feb 07, 2010 8:50 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda Con Puertos COMM
Replies: 7
Views: 1392

Re: Conexiones Con puerto Serie

Antonio, yo tengo la FiveLinux v.906 y en esta version en linux no está el ejemplo testComm.prg ni phone.prg, ¿sirve el mismo ejemplo del Windows en Linux?

Un Saludo.
by softruz
Tue Dec 22, 2009 8:19 am
 
Forum: FiveLinux / FiveDroid (Android)
Topic: Conexiones Con puerto Serie
Replies: 5
Views: 1045

Re: Conexiones Con puerto Serie

Juan,

Tienes ejemplos en FWH\samples\TestComm.prg, phone.prg
by Antonio Linares
Tue Dec 22, 2009 7:30 am
 
Forum: FiveLinux / FiveDroid (Android)
Topic: Conexiones Con puerto Serie
Replies: 5
Views: 1045

Re: First FWPPC App - Help :-)

... on a Dell Axim X50 running Windows Mobile 2003 Second Edition. I was really hoping that the FWPPC commands would be the same as in FWH. Other than TestComm.prg which seems to only have the functions but no real working sample, is there a sample file that actually takes control and sends/receives ...
by Jeff Barnes
Sun Jan 11, 2009 7:55 pm
 
Forum: FiveWin for Pocket PC
Topic: First FWPPC App - Help :-)
Replies: 31
Views: 5282

Re: First FWPPC App - Help :-)

Antonio,

Please take a look at the code in my last post ... I do not make any calls to BuildCommDCB().
This is why I am confused.

I only used the functions that were used in TestComm.prg

If I compile TestComm.prg I do not get the BuildCommDBC or GetOverLappedResult errors.
by Jeff Barnes
Sat Jan 10, 2009 9:28 pm
 
Forum: FiveWin for Pocket PC
Topic: First FWPPC App - Help :-)
Replies: 31
Views: 5282

Re: First FWPPC App - Help :-)

I have made some changes in the test app to use the connection functions in TestComm.prg (code below). The strange thing is I still get the error for BuildCommDbc and GetOverLappedResult. Here is the error I get now when I try to build the file... Compiling... ...
by Jeff Barnes
Sat Jan 10, 2009 2:59 am
 
Forum: FiveWin for Pocket PC
Topic: First FWPPC App - Help :-)
Replies: 31
Views: 5282

Re: First FWPPC App - Help :-)

... this weekend. I will let you know how it goes. All I really need to do is open the com port, send and read data strings. After a quick look at the TestComm.prg sample ... it looks like it has the functions I need. An initial question about TestComm.prg: In OpenCom() there is a setting or "liRMode" ...
by Jeff Barnes
Fri Jan 09, 2009 2:23 am
 
Forum: FiveWin for Pocket PC
Topic: First FWPPC App - Help :-)
Replies: 31
Views: 5282
Next

Return to advanced search