Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

call cometmp in foxpro26/dos appl generates extreme networktraffic

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Dear fox-collegues,
We work with barcodescanners on serial ports. To handle the data fast enough we read the ports with a lowlevel-routine, the serial input buffer cometmp.bin (written for clipper and foxpro). It is loaded by foxpro once(load cometmp.bin) and called many times per second in a loop to prevent for overrun of incoming data.
This solution generated networkcollisions, it seemed that foxpro sends a request to the network every time it executes a call cometmp . After putting
set defa to c:
call cometmp
set defa to
the extreme networkcollisions stopped. So the default path is involved.
We are puzzled, what can be the cause of this, why does foxpro have to look on his default network-disc (with cometmp.bin) when this routine was already loaded in the first line of the program?
Kind Regards,
Paul Jansen
Netherlands
 
Since Foxpro itself does not issue a network request on executing other "calls", then I would look for the problem elsewhere.

Does the company still exist who created your lowlevel-routine - cometmp.bin? If so, then I'd contact them. If not, then I might suggest considering using other methods to gain control of the serial port input.

Not being aware of your barcode reader use (e.g. hand-held readers, conveyor belt readers, etc.?) I would not be prepared to offer you a suggestion at this time. But I have interfaced quite a few barcode readers into applications with no difficulty and their operation did not present any problems.

Good Luck,
jrbbldr
jrbbldr@yahoo.com
 
Fox may be looking on the network path (or whatever your SET PATH or default path is) for 'cometmp.fxp' first. Try setting your SET PATH statement to something like:

SET PATH TO C:\;F:\DATA\; etc.,

or in CONFIG.FP:
PATH = C:\;F:\DATA\; etc.,

or whatever your network drive is.

Dave S.
 
Hi Paul,

Sorry to worry you with this but I have the following problem:

I purchased CometMP years ago and backed up to CD at one point but - as luck would have it - that old CD has been damaged and I cannot find the original distribution diskette. I desperately need to make a small change to one of my old FoxPro 2.6 applications for a customer that reads data from a scale via the comm port.

I cannot locate Compusolve Inc. on the internet to ask them for a copy - The CompuSolve Inc. that is on the web is not the same company.

I gather from my source code a file called CometMP.BIN was loaded and called.

If you don't mind and it is not too much trouble please could you send me the file.

Regards,

Dale Paterson.
Email: dpaterso@fleetfocus.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top