Direct to serial or parallell port?

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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
 
Back
Top