Notices

Overclockers Forums > Software > Programming Tips and Tricks
Programming Tips and Tricks
Forum Jump

parallel port coding

Post Reply New Thread Subscribe Search this Thread
 
 
Thread Tools
Old 01-25-02, 11:46 AM Thread Starter   #1
Monaco
Member

 
Monaco's Avatar 

Join Date: Jul 2001
Location: Denver, Colorado

 
parallel port coding


Looking for advice on how to code a program or two that will allow me to contol the outputs on my parallel port.

I need to be able to turn on and off certain pins on the port, and have duration and sequence contol over pins 2 thru 9.

Any ideas?
Monaco is offline   QUOTE Thanks
Old 01-28-02, 10:30 PM   #2
drunkmonkey
Member

 
drunkmonkey's Avatar 

Join Date: Nov 2001
Location: Blacksburg, Virginia, USA

 
You will have to use C++ probably or in VB6 find an ActiveX thingy 4 it. Most likely C++.
I only know VB6 though, so I'm not totally sure. My motto, "C++ = HARD" lol

Edit: I just had a brain spasm and actually thought for a second,. What if you were to hack some drivers that controlled a really old printer or scanner? It would be hard to do but it might work. Also, for $70-100 radioshack sells this wierd lil card that hooks up to ur printer port and has a bunch 'o' analog/digital outputs and a few inputs. I'll try to find it. BRB i hope.
drunkmonkey is offline   QUOTE Thanks
Old 01-28-02, 10:49 PM Thread Starter   #3
Monaco
Member

 
Monaco's Avatar 

Join Date: Jul 2001
Location: Denver, Colorado

 
hey thanks for the reply-

I know about that RadioShack doo-dad you mention- I used to be an RS store manager I suppose I could modify that with switches to work my creation, but it wouldn't help with a software solution I think.

The thing I am trying to control is here, at Pointofnoreturn.org. There is a program availible there that controls the meter, it is free and open source so maybe that is a good starting point.

I'd need a language that can easily access hardware directly, and then a bit of help finding the controls for the parallel port- a know it was easy enough in BASIC-era languages, but now I don;t know what is easiest. I'd rather avoid C of possible. I have the same motto as you
Monaco is offline   QUOTE Thanks
Old 01-28-02, 10:58 PM   #4
drunkmonkey
Member

 
drunkmonkey's Avatar 

Join Date: Nov 2001
Location: Blacksburg, Virginia, USA

 
ahh found it, whoops sorry it's $150, here it is: http://www.radioshack.com/product.as...Fid=990%2D0185
oohhh, aahhh, cool lookin du-hickey huh?
or if you hold on to a nickel so hard you squezze out Abe's buggers this looks hackable:
http://www.radioshack.com/product.as...Fid=990%2D0416

that's about all I can think(oww) of.
drunkmonkey is offline   QUOTE Thanks
Old 01-28-02, 11:02 PM   #5
trey_w
Member

 
trey_w's Avatar 

Join Date: Oct 2001
Location: Murphy, Texas

10 Year Badge
 
look into labview, also known as code G by National Instruments

this is an example of the kind of programs you can do

this program simply reads a thirmistor through a DAQ card, GPIB, Parallel port, or serial

the book tells you how to get what you want and what each pin can do look at this link

__________________
ESXi Server, AMD 8320 (8 Cores) w/ Corsair Hydro h80i, 32GB Kingston RAM, ASUS M5A97 Rev 2.0 Mobo w/ Quad Intel NIC's, EVGA 8800 GTS, CM Storm Trooper Case

HTPC, SilverStone LC10M Case,AMD Phenom II 550BE, MSI 785gtm-e45, 16GB Kingston Ram, ATI ASUS 5770

MacBook Pro 15, Intel Core i7, 16GB Ram, Dual Samsung 830 512GB SSD

MacBook Pro 13, Intel Core i5, 16GB Ram, Samsung 830 512GB SSD

Quantum FIOS - 155Mbps Down | 74Mbps Up
trey_w is offline   QUOTE Thanks
Old 01-28-02, 11:06 PM   #6
drunkmonkey
Member

 
drunkmonkey's Avatar 

Join Date: Nov 2001
Location: Blacksburg, Virginia, USA

 
I'm going on c-net to look for some activeX stuff now, I'll see if I can find one for u, here is where I'm going: http://download.cnet.com/downloads/0-10081.html?tag=dir
It is a great place 2 get activeX stuff. I luve everything about radioshack except 4 da prices.
Hacking is so wonderful, If we get dis working I might try some of this stuff.
drunkmonkey is offline   QUOTE Thanks
Old 01-28-02, 11:17 PM   #7
drunkmonkey
Member

 
drunkmonkey's Avatar 

Join Date: Nov 2001
Location: Blacksburg, Virginia, USA

 
Who's ur daddy? Who's da man? I am.
Just found something I think will work:
http://download.cnet.com/downloads/0...t-7-14.8205276
its an activeX component that will control ur parallel port pns individually. I'm downloading it now.
If u don't like that try this http://download.cnet.com/downloads/0...lst-7-5.908611

Last edited by drunkmonkey; 01-28-02 at 11:29 PM.
drunkmonkey is offline   QUOTE Thanks
Old 01-29-02, 01:11 PM Thread Starter   #8
Monaco
Member

 
Monaco's Avatar 

Join Date: Jul 2001
Location: Denver, Colorado

 
Quote:
Who's ur daddy? Who's da man?
You are!! You are!! LOL

thanks man, that is some good linkage there! I'm going to take a look at that stuff, see if I can piece something together.

trey_w that looks like a pretty cool logger. The device I built is one-way, it receives only but version 2 wil be bi-directional so I'll have to keep labview in mind. Thanks!
Monaco is offline   QUOTE Thanks

Post Reply New Thread Subscribe


Overclockers Forums > Software > Programming Tips and Tricks
Programming Tips and Tricks
Forum Jump

Thread Tools Search this Thread
Search this Thread:

Advanced Search


Mobile Skin
All times are GMT -5. The time now is 01:43 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
You can add these icons by updating your profile information to include your Heatware ID, Benching Profile ID or your Folding/SETI profile ID. Edit your profile!
X

Welcome to Overclockers.com

Create your username to jump into the discussion!

New members like you have made this the best community on the Internet since 1998!


(4 digit year)

Why Join Us?

  • Share experience
  • Max out your hardware
  • Best forum members anywhere
  • Customized forum experience

Already a member?