Board index » delphi » Parallel port for data capture

Parallel port for data capture

Hello

We have a machine that analyse stuf and then print the result of the
analysis to printer. I would like to know if it is possible to use a
modern parallel port on a PC to capture the data.

Bear in mind that the machine does not have a modern EPP type parallel
port and no serial port.

 

Re:Parallel port for data capture


In article <34C4E5E3.2...@karoo3.agric.za>, Pierre Joubert

Quote
<pie...@karoo3.agric.za> writes:
>We have a machine that analyse stuf and then print the result of the
>analysis to printer. I would like to know if it is possible to use a
>modern parallel port on a PC to capture the data.

>Bear in mind that the machine does not have a modern EPP type parallel
>port and no serial port.

Yes / No - Easy with D1/Win3, easybut  occasional problems with D1/Win95, more
difficult with D2/Win, so difficult as to be hardly possible with D2/NT and
with D3.

Alan Lloyd
alangll...@aol.com

Re:Parallel port for data capture


On 23 Jan 1998 09:10:20 GMT, alangll...@aol.com (AlanGLLoyd) wrote:

Quote
>In article <34C4E5E3.2...@karoo3.agric.za>, Pierre Joubert
><pie...@karoo3.agric.za> writes:

>>We have a machine that analyse stuf and then print the result of the
>>analysis to printer. I would like to know if it is possible to use a
>>modern parallel port on a PC to capture the data.

>>Bear in mind that the machine does not have a modern EPP type parallel
>>port and no serial port.

>Yes / No - Easy with D1/Win3, easybut  occasional problems with D1/Win95, more
>difficult with D2/Win, so difficult as to be hardly possible with D2/NT and
>with D3.

What he means that he'd use old DOS interrupt calls and port
commando's in asm (correct me if i'm wrong alan). These are very
simple, fast, etc.
The correct way to do it in win95/NT is via API. But since 95 still
has a lot of dos/win3 compatibility code in it, it'll allow direct
port xs. I wrote a program that does serial comm via API (got a
component which did it for me actually) and coded some small parallel
stuff in asm mostly. It worked for me.

Coding it via the API is a lot of hassle if you have to learn it, but
hey. So is asm :)

Other Threads