Send data through parallel port - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Closed Thread
Thread Tools Display Modes
Old 08-01-2007, 08:43 AM   #1 (permalink)
Super Techie
Join Date: Aug 2004
Posts: 277
Send a message via Yahoo to real_in
Default Send data through parallel port

hi guys,

i have made a simple circuit to switch on/off devices using relay, but I am unable to send a signal from computer to the device.

As i am on WIndows XP, i cannot use a simple function of C outportb(), they winXP wont allow, and certainly it does not

well then i tried connection USB wire to the circuit and it works the same as parallel port, i mean it also gives +5v. I just want a simple program which can send +5v and 0 to the USB or parallel port, but with XP i am unable to do that

Is there a way out ? i mean with C# or C++, while i was googling i found a DLL "inpout32.dll" and a sample code, but it doesnt seem to be working.

just give me advice, no matter whatever language it is, may be its java,python,perl.. but do it..thanks

Please help me.. thanks a lot
thanks for ur time

Realin Wuz here ...

real_in is offline  
Old 08-01-2007, 02:30 PM   #2 (permalink)
CECS Major
Chase's Avatar
Join Date: Jul 2005
Location: Louisville, KY
Posts: 387
Send a message via MSN to Chase Send a message via Yahoo to Chase
Default Re: Send data through parallel port

This is a very interesting post and I am positive you can do this in C++ but I am not so sure about how you would do it. The best advice I can give you is to visit the CodeGuru forums, as it is a huge database for any sort of programming and I can guarantee you will find help there.


Chase is offline  
Old 08-01-2007, 02:39 PM   #3 (permalink)
Super Techie
Join Date: Aug 2004
Posts: 277
Send a message via Yahoo to real_in
Default Re: Send data through parallel port


thanks for yuour concern and time..

I am able to do it through parallel port, but now i am starving to do it thru USB..cause most of the these days, parallel port is kinda outdated, no laptop got 'em.

Its just that i want to stop the +5v from the USB and start when i click into program.. this has been done in parallel though
Realin Wuz here ...

real_in is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
microsoft data acces, remote data svcs, active x wettie_21 Internet Software and Browsers 0 06-15-2007 01:26 AM
Conecting a USB printer to a Parallel port machbrown4 Monitors, Printers and Peripherals 4 05-28-2007 06:01 PM
Virus Steals Data Via SSL Streams Osiris Viruses, Spyware and Malware 0 05-20-2007 03:50 PM
VGA Port vs. DVI->VGA Connector Port Crazydog115 Monitors, Printers and Peripherals 3 04-16-2007 03:56 PM

Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities

Copyright 2002-2015 Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 07:22 AM.

Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2016, vBulletin Solutions, Inc.