Search found 39 matches

by Diego Decandia
Sat Jan 19, 2019 11:08 am
Forum: FiveWin for Harbour/xHarbour
Topic: xBase now unstable, slow, error Status_Lock_Not_Granted
Replies: 15
Views: 3212

Re: xBase now unstable, slow, error Status_Lock_Not_Granted

José,

I think you're using a recent version of Fivewin.

I suggest you try with a previous version, (17.04 or earlier), to check whether the problem is in Fivewin.
by Diego Decandia
Sat Sep 29, 2018 3:39 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Read Com port
Replies: 13
Views: 2238

Re: Read Com port

Hi Jack, I don't use the library you're using, so let's go for trial... The Readcomm function expects Cbuffer as: A string variable supplied by reference where ReadComm() will place the read bytes. The length of the initial supplied value specifies the wished number of bytes to be read.You may use, ...
by Diego Decandia
Fri Sep 28, 2018 1:02 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Read Com port
Replies: 13
Views: 2238

Re: Read Com port

>>ReadComm( nComm, @cBuffer ) // <<<<---- program will lock here
>>Msginfo( AllTrim( cBuffer ))

Excuse me, but I do not understand how from these lines, if you run only once, can result two msginfo...

In any way, what is the total string?
by Diego Decandia
Fri Sep 28, 2018 11:04 am
Forum: FiveWin for Harbour/xHarbour
Topic: Read Com port
Replies: 13
Views: 2238

Re: Read Com port

In the first post, you say that the example Testcom3 returns two msginfo, and it is just so: first the status, then the text received. If you don't need the status, delete it. >> What is the right way to read all the info from a COM port . It's difficult/simple to answer the question. In fact you re...
by Diego Decandia
Mon Aug 06, 2018 7:37 am
Forum: FiveWin for Harbour/xHarbour
Topic: Sistema muito lento quando executado por mais de um usuário
Replies: 4
Views: 709

Re: Sistema muito lento quando executado por mais de um usuário

Houve alguma mudança na sua rede?

Você está usando TData ou Tdatabase?

------------------
Have there been any changes in your network?

Are you using Tdata or Tdatabase?
by Diego Decandia
Thu Jul 12, 2018 12:28 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Latest FWH upgrade, performance issues, larger EXE
Replies: 27
Views: 4630

Re: Latest FWH upgrade, performance issues, larger EXE

I use xHarbour.com, before I used FWH 17.04 and now FWH 18.02
by Diego Decandia
Thu Jul 12, 2018 10:34 am
Forum: FiveWin for Harbour/xHarbour
Topic: Latest FWH upgrade, performance issues, larger EXE
Replies: 27
Views: 4630

Re: Latest FWH upgrade, performance issues, larger EXE

Unfortunately I do not have time to extrapolate a simple test, but, as I said, no changes in the procedure was made and until 17.04, ie before the update to 18.02, everything proceeded well and fast. I have reported this situation so that Darrell can find elements in common or not... I look forward ...
by Diego Decandia
Thu Jul 12, 2018 9:57 am
Forum: FiveWin for Harbour/xHarbour
Topic: Latest FWH upgrade, performance issues, larger EXE
Replies: 27
Views: 4630

Re: Latest FWH upgrade, performance issues, larger EXE

I may have the same problem as Darrell. After going from 17.04 to 18.02, I provided an update to a customer and reported a significant slowdown in the application. I do not have for now other info, nor ideas, since the update did not change any of the procedures that the customer has reported to me....
by Diego Decandia
Wed Feb 07, 2018 11:44 am
Forum: FiveWin for Harbour/xHarbour
Topic: Ports to 485 with converter USB, please help.
Replies: 7
Views: 1289

Re: Ports to 485 with converter USB, please help.

Oscar,

I do not think I understood the problem well, but reading the function Mandar_enq seems to try 10 times to send a string...

What I can tell you is that you do not have to send the string, but the sequence char (02) + char (30) + char (30) +....
by Diego Decandia
Sun Jan 21, 2018 8:16 am
Forum: FiveWin for Harbour/xHarbour
Topic: Direct IP Connection
Replies: 18
Views: 4328

Re: Direct IP Connection

Oscar, You do not want to use the factory counter application, but it is precisely that application that has been prepared to communicate as a server with clients. If you don't use it, how do you plan to converse with the counter? What do you think there is on the counter that you answer? As an exam...
by Diego Decandia
Sat Jan 20, 2018 7:40 am
Forum: FiveWin for Harbour/xHarbour
Topic: Direct IP Connection
Replies: 18
Views: 4328

Re: Direct IP Connection

First, your PC and the counter must be connected to your local network.
At that point, following the instructions of the counter, you can connect to the server using login and password, port and IP of the instrument.

Start doing this.
by Diego Decandia
Fri Dec 01, 2017 3:11 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Direct IP Connection
Replies: 18
Views: 4328

Re: Direct IP Connection

Jack,
You have to use a socket.
Typically, the instrument is the client, and your software is the server.
Then follow the instructions in the interface manual.
by Diego Decandia
Wed Sep 06, 2017 6:40 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Database - 17.07 - Problems
Replies: 84
Views: 14175

Re: Database - 17.07 - Problems

James,

I'm sorry but at the line
>> oStates:GoTop() // oStates is now using the workarea of oCust. No error.

I get an error DBCMD/2001 Workarea non in use: DBGOTOP

I'm using TDatabase 17.04 with old Close Method
by Diego Decandia
Wed Sep 06, 2017 5:17 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Database - 17.07 - Problems
Replies: 84
Views: 14175

Re: Database - 17.07 - Problems

James, I am trying only my test, which first opens a dialog with a single TDatabase object, closes it, opens a dialog with a dbf, then closes it. Trying several times, even at random, no error. Using MsgInfo msgInfo(oStates:nArea,"oStates:nArea"), adapted to my test, after closing the data...
by Diego Decandia
Wed Sep 06, 2017 4:53 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Database - 17.07 - Problems
Replies: 84
Views: 14175

Re: Database - 17.07 - Problems

Are you saying that you edited ver 17.04 TDatabase.prg and replaced the Close() method with the one from TDatabase 17.07? Yes. Also, remember that no error doesn't mean that something hasn't gone wrong. Note that if you are using TData then it overrides the Close() method of TDatabase. James I used...