Go to Post I wonder how many games we could come up with that are not the one for FRC 2008. - AndrewN [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-03-2004, 19:32
Venkatesh Venkatesh is offline
Registered User
FRC #0030
 
Join Date: Jan 2003
Rookie Year: 2002
Location: USA
Posts: 260
Venkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to behold
QBASIC, Parallel Ports, and Windows XP

For a little piece of technology I am building, I am having a computer control a motor assembly. The computer, running Windows XP, is using the parallel port and QBASIC to control a buffer (7407), which is controlling a transistor. Under Windows XP, the parallel port takes several seconds to change the status of the parallel port, if it even successfully changes it at all. Many attempts fail with no reason given, and those which do succeed take up to 20 seconds to change the parallel port's output.

Does anybody know why this is happening and how I might be able to overcome this problem? Allocating an IRQ to the parallel port has not fixed anything.

As a side note, the parallel port on my machine outputs 3.2 Volts when it is high, and roughly a .5 volts when low. I have checked other computers, many of which output roughly 5 volts on high and ~0.1 volts at low. I would try another machine, but this one is a laptop.
__________________
-- vs, me@acm.jhu.edu
Mentor, Team 1719, 2007
Team 30, 2002-2005
  #2   Spotlight this post!  
Unread 21-03-2004, 19:07
kid robusto kid robusto is offline
Registered User
AKA: Roger aka:"Jesus" Hubeny
#0195 (cyberknights)
Team Role: Programmer
 
Join Date: Mar 2004
Location: Southington
Posts: 18
kid robusto is on a distinguished road
Send a message via AIM to kid robusto
Re: QBASIC, Parallel Ports, and Windows XP

i would try to use win98 or even win95. You could use a disk partition tool and free up like 500 meg of your hard drive, and multiboot to 95/98. Also it sounds like your laptop may be giving low voltages when your on battery packs, did you try when your plugged into the wall?

if all else fails find an old p1 box( many can be found on sides of roads) and use that to test your stuff.

Do you have any schematicsand/or code you could post? I have wanted to interface my PC and servo/motors but i dont know how to use qbasic to well.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:11.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi