 |
| View previous topic :: View next topic |
| Author |
Message |
drprinter Newbie
Joined: 01 Aug 2005 Posts: 2
|
Posted: Aug 1st, 2005 03:33 PM Post subject: Parallel port programming - HELP!!!!!!! |
|
|
Hi,
I am a newbe to VB and using MS - VB6. I need alittle help (LOTS OF HELP).
I am trying to desiging a interface program that when I click on a box it will turn on a light or motor from my computer (eg. house lights, fan, A/C, etc..)
I am trying to get help from other code examples but all I am learning from that is that I need help.
I know that there is a X10 system but I need to do this from my computer and the parallel port.
This is what I need if possable is to click on a box and the light attached to that box will turn on, click on another button and the light will go off and a indicator light will go on and off on the screen.
Also I need to make a "Chase" patten with 4 lights that will flash on and off as per the program.
Thank You
Joe |
|
| Back to top |
|
RoofRabbit Regular

Joined: 06 Jul 2005 Posts: 95 Location: Lenoir, NC USA
|
Posted: Aug 14th, 2005 08:50 PM Post subject: |
|
|
It can be done but with a parallel printer port, it's not that simple. Any bits you send to the port are only there for an instant, you would need to "latch" the desired bits before using them.
JDR has some boards for I/O. I've used a couple of them for jobs where I needed 32 bits in/out and larger. I couldn't find the particular board I used on their website (don't know where the catalog is right now) but I did find this if you're electronically minded.
Don't get ISA cards, almost no pcs running today can use then (8 bit cards), the PCI model can be used in modern pcs though.
[link] _________________ Website - [link] |
|
| Back to top |
|
drprinter Newbie
Joined: 01 Aug 2005 Posts: 2
|
Posted: Aug 17th, 2005 11:15 PM Post subject: |
|
|
I looked at the JDR board that you suggested. It will not do the job for what I need it for.
I found a .DLL that allows
me to output to the parallel ports and the dll latches the outputs.
found it at [link]
after a few nights for learning VB, I have the Parallel port connected to solid state relays and the project I am working on is running (good-not great but I am a beginner)
Thanks Joe
| RoofRabbit wrote: | It can be done but with a parallel printer port, it's not that simple. Any bits you send to the port are only there for an instant, you would need to "latch" the desired bits before using them.
JDR has some boards for I/O. I've used a couple of them for jobs where I needed 32 bits in/out and larger. I couldn't find the particular board I used on their website (don't know where the catalog is right now) but I did find this if you're electronically minded.
Don't get ISA cards, almost no pcs running today can use then (8 bit cards), the PCI model can be used in modern pcs though.
[link] |
|
|
| Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|