I have a need to collect some statistical data via a digital calliper connected somehow to a serial port. Anyone know of libraries that can be used with Clipper 5.2 to accomplish this?
You will require the CLIPPER TOOLS, and in this there is a callable function comrecv. This will allow you to specify things such as baud rate, parity, stop bits, etc.
Try obtaining "TELEPATHY" library from Extrasensory Software for excellent serial comms, or "FAST" lib for basic. One word of warning, CHECK THE SERIAL CABLE TO SEE WHETHER IHE SEND/RECEIVE LINES ARE CONNECTED DIRECT OR CROSSED OVER. This little trap cost me a 2,000 Km round trip (by plane) and about $1,000.oo in extra expenses a few years ago.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.