TRelais for Delphi
Why?
When I was working on my TMultiMeter component, I was about
to start with a project in which I would also be controlling a relais card, connected to
the printer port. The unit which was used for that until then was written by some one
else, and originally inteded for use with pascal. It was a bit of buggy and didn't work
quite nice. I thought I might be able to make something better. This is the result
Features
The component is non visible. It uses Win32 API, so it works with all 32bit Windows
versions. With the property relais[index] you can read and set the relais. The timeout
property is used to prevent the component for waiting forever when there's nothing
connected to the port.
Download
You can download the component here (updated 15/01/2008 - 2 kB). It only contains the source
code, so you can rebuild it for your Delphi version(s). Note that the comment is dutch,
and there's no manual included yet.
Questions or problems?
If you have any questions about the component, you may refer to me for any help.
You can e-mail me at webmaster@adlentis.net.
|