Search found 7 matches
- Fri Apr 22, 2011 9:49 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Read com port
- Replies: 25
- Views: 5639
Re: Read com port
With version FW1.92 everything works without problems! So the problem is FWH2.7 or xHarbour. Why? I don't know! I have another question. how do I make a simultaneous communication with multiple serial ports?
- Wed Apr 20, 2011 7:34 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Read com port
- Replies: 25
- Views: 5639
Re: Read com port
Everything I'd tried to solve the problem but to no avail! The only thing I said to use FWH2.7.
I only have a few questions:
- Do I need a library hbcomm.lib? If I need where I can find?
- If your example of you doing, what your opinion may be a reason for me not working?
I only have a few questions:
- Do I need a library hbcomm.lib? If I need where I can find?
- If your example of you doing, what your opinion may be a reason for me not working?
- Fri Apr 15, 2011 8:17 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Read com port
- Replies: 25
- Views: 5639
Re: Read com port
still does not work!
- Fri Apr 15, 2011 7:19 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Read com port
- Replies: 25
- Views: 5639
Re: Read com port
command BUILDCOMMDCB( "COM1:9600,N,8,1", @cDcb ) has no effect on the com port! :( ********************************************* function InitCOMM() local cDcb, nError, nBytes local nComm := OpenComm( "COM1", 1024 , 128) if ! BuildCommDcb( "COM1:9600,N,8,1", @c...
- Fri Apr 15, 2011 3:02 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Read com port
- Replies: 25
- Views: 5639
Re: Read com port
I am using Datalogic barcode scanner. If the DOS prompt and typing mode COM1: 9600, n, 8.1 everything is working properly, and you and my program. But the initialization with the command BUILDCOMMDCB ("COM1: 115200, N, 8.1", @ cDcb) can not do that. In setting the com port is not changing!...
- Sun Apr 10, 2011 7:04 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Read com port
- Replies: 25
- Views: 5639
Re: Read com port
I'm not sure what should be the result. How can conclude that the port is opened, read and write is OK but with no results. These are the values of variables: 04/10/2011 08:46:59: NCOM = 1 04/10/2011 08:46:59: CSTR = 04/10/2011 08:46:59: Nbytes = 0 04/10/2011 08:46:59: nkey = E 04/10/2011 08:46:59...
- Sat Apr 09, 2011 7:28 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Read com port
- Replies: 25
- Views: 5639
Read com port
I'm trying to read a data from the COM port: include "FiveWin.ch" function Comm() local oDlg, nComm := InitComm() DEFINE DIALOG oDlg TITLE "Testing Comm functions" *** timet *** * DEFINE TIMER oTmr INTERVAL 100 ACTION BytesAtPort( nComm, nStatus ) OF oWnd * ACTIVATE TIMER oTmr **...