Direct to serial or parallell port?

G

Guest

I have written an application that sends a command to play a wav file when a
certain condition occurs. Now I would be able to to send a signal direct to a
serial- or printer port to close a small relay contact at the same time. Does
anyone know how to adress any of the ports with VBA code?

Or if not possible, I would be grateful for help with small exe files that
closes and opens a relay. Then I could run them according to the right
condition.
/ Rolf
 
M

Matthias Klaey

Rolf Rosenquist said:
I have written an application that sends a command to play a wav file when a
certain condition occurs. Now I would be able to to send a signal direct to a
serial- or printer port to close a small relay contact at the same time. Does
anyone know how to adress any of the ports with VBA code?

Or if not possible, I would be grateful for help with small exe files that
closes and opens a relay. Then I could run them according to the right
condition.
/ Rolf

A starting point to do this is

http://www.lvr.com/quicklinks.htm

(Click on "Serial Ports", respectively on "Parallel Port", on the menu
on the left side).

HTH
Matthias Kläy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top