Search found 602 matches: serial

Return to advanced search

Re: How to read data from a serial port ?

Hola Vilian: I have a very old code that communicated with some registers. They had a round trip communication with the PC. They expected that after an operation, an end-of-block code would be sent to send another. I'll give you the code, it can help you there. FUNCTION  creanom(xnombre)...
by cmsoft
Tue Jul 20, 2021 8:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to read data from a serial port ?
Replies: 10
Views: 962

Re: How to read data from a serial port ?

Thank you Marc,
I have tested with your code, but the problem happened again - Only the begin of the data is read !!
by vilian
Tue Jul 20, 2021 7:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to read data from a serial port ?
Replies: 10
Views: 962

Re: How to read data from a serial port ?

... gnComm )      nError = GetCommError( gnComm )      Msgwait( 'CloseComm Error: ' ,'',.01 )   endifRETURN( .t. )function Serial(x0,x1,x2,x3,x4,x5)   local cDcb, nBytes   local nComm := OpenComm( alltrim(x1),x2, 128 )   local nError   x3=padl(left(x3,20),20,' ...
by Marc Venken
Tue Jul 20, 2021 7:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to read data from a serial port ?
Replies: 10
Views: 962

How to read data from a serial port ?

Hi Guys, I'm trying to read data from a serial port using this code bellow: hb_comOpen(4)        hb_comInit( 4, 9600, "N", 8, 1,132  ) nLen := hb_comInputCount(4)cRet  := Space(nLen)hb_comRecv(4, ...
by vilian
Tue Jul 20, 2021 5:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to read data from a serial port ?
Replies: 10
Views: 962

Re: edit a record with tdatabase - I am in trouble

... cItemFlds := "ICO,TIPO,DESC,QTA,PREUNI,TOTQTA,DATAINI,DATAFIN,GIORNI,SCONTO,TOTALE,INVOICE,PRINTA4,PRINTPOS,STRUCTURE,BREVEDESC,PREZZOBASE,SERIAL,RECNO()"            if ! Empty( oBrowse:aDeleted )                   AEval( oBrowse:aDeleted, { |a| a[ 19 ] := ...
by Silvio.Falconi
Tue Jun 22, 2021 10:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: edit a record with tdatabase - I am in trouble
Replies: 8
Views: 1304

Re: edit a record with tdatabase - I am in trouble

... this aItems := IIT->( FW_DbfToArray( cItemFlds, { || IIT->INVNUM == oRec:InvNum } ) ) I changed this line static cItemFlds := "INVNUM,SERIAL,ITEMCODE,ITEMNAME,QUANTITY,UNIT,PRICE,DISCOUNT,RECNO()" into static cItemFlds := "ICO,TIPO,DESC,QTA,PREUNI,TOTQTA,DATAINI,DATAFIN,GIORNI,SCONTO,TOTALE,INVOICE,PRINTA4,PRINTPOS,STRUCTURE,BREVEDESC,PREZZOBASE,SERIAL,RECNO()" ...
by Silvio.Falconi
Tue Jun 22, 2021 7:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: edit a record with tdatabase - I am in trouble
Replies: 8
Views: 1304

Re: ¿ Serial del Board Solucionado

... := NetName()msginfo(cUsuarioRed)uMac := GetNetCardID()xbrowse(uMac)cIP := GetHostByName( GetHostName() ) msginfo(cIP)MsgInfo( nSerialHD() ) // Check default driveMsgInfo( nSerialHD( "C:" ) ) // Serial number on HardDisk*/Return nil//=============================================================================FUNCTION ...
by leandro
Sun Jun 20, 2021 12:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ¿ Serial del Board Solucionado
Replies: 7
Views: 3634

Problem to save record from array (ArrayToDBF)

... .T. ) oPartres:setorder(1) oPartres:gotop() at the beginning I declare all the fields of my detail archive static cItemFlds := "INVNUM,SERIAL,ITEMIMG,ITEMCODE,ITEMNAME,QUANTITY,PRICE,TOTALQ,CHECK_IN,CHECK_OUT,DAYS,DISCOUNT,TOTAL,ITEMSTRUCT,ITEMMULTI,ITEMPRNA4,ITEMPRNPOS,recno()" ...
by Silvio.Falconi
Thu Apr 29, 2021 8:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem to save record from array (ArrayToDBF)
Replies: 0
Views: 343

Re: Nro. serial de la tarjeta de red.

hola empecé a usar Tarjeta_Madre() y todo bien pero después de unos días me da un numero de serie diferente de la mima Pc
sera cosa de mi compu ? :shock:


Saluditos :wink:
by AIDA
Fri Apr 09, 2021 12:16 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Nro. serial de la tarjeta de red.
Replies: 6
Views: 1630

Re: nserialhd() vs serialnumber

Yes now I see. :D

It's NUMTOHEX( NSERIALHD() ) that give the same result as the VOL command.

So NSERIALHD() is not the real serial-number. After re-formating it, it will be different then.

There are also utilities to change it :cry:
by Marc Vanzegbroeck
Thu Mar 11, 2021 10:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: nserialhd() vs serialnumber
Replies: 8
Views: 948

Re: nserialhd() vs serialnumber

Can I see a sample of such serial?

EMG
by Enrico Maria Giordano
Thu Mar 11, 2021 6:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: nserialhd() vs serialnumber
Replies: 8
Views: 948

Errors with test.mak, FW 32 bit, bcc582

... [C:\fwh\makes\Borland]@ECHO %INCLUDE% c:\bcc582\include [C:\fwh\makes\Borland]DIR %INCLUDE%\stdarg.h Volume in drive C is unlabeled Serial number is c6ea:9093 Directory of C:\bcc582\include\stdarg.h 9/08/2006 11:50 1,373 stdarg.h 1,373 bytes in 1 file and 0 dirs 4,096 bytes allocated ...
by FWExplorer
Fri Nov 27, 2020 2:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Errors with test.mak, FW 32 bit, bcc582
Replies: 4
Views: 569

New FTDN June 2020 (FWH 20.06)

... file name or connection object obtained using the previous function. 2. Sheet: (Optional: defaults to the first sheet) If provided it can be the serial number of a sheet or name of a sheet or named table. Invalid values result in failure of the function. - This can also be an Sql statement like ...
by Antonio Linares
Thu Jul 09, 2020 9:37 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN June 2020 (FWH 20.06)
Replies: 1
Views: 1340

Re: how to ?

Dear mr. Antonio, dear all friends in my little tests i found that is possible to use the printer and serial port of the server but is possible to use serial or print directaly to the serial/printer of the pc client ? in other words, print or otherwise by skipping the browser's ...
by fdaniele
Wed Jul 08, 2020 12:55 pm
 
Forum: mod_harbour
Topic: how to ?
Replies: 9
Views: 1566
PreviousNext

Return to advanced search