That's assembly, you'd need to type 'debug' in dos first.
Hola
I've been reading a little on the net on how to read values from the parallel port. Basically I want to be able to read voltages from the parallel port. Lets say I apply 5V to pin 1 and 0V to pin 2 and 5V to pin 3 etc, I want to be able to get something like "000101"
The only thing I've come across is:
http://www.zpeng.com/projects_tcl_page.htm
I downloaded the zip file, and copied the .sys file into the /system32 directory as per instructions. But then I dont know where should I type these commands:
Do I open an ms-dos prompt and type these? I tried but it doesnt understand what "load" means. (I have emailed the writer but till today - no response)load lpttcl
puts [format "Current LPT is at base address 0x%X" [lpt_getba]]
Perhaps some of the gurus here know more about .sys and .dll files that can give me a head start?
New Lilliput EBY701 For Sale http://www.nusantech.com/index.asp?c...at=TOUCHSCREEN
SiRF3 Bluetooth GPS http://www.nusantech.com/index.asp?cat=GPS
Looks like tcl to me.
Old Systems retired due to new car
New system at design/prototype stage on BeagleBoard.
assembly? tcl? is that english? =)
what do I need to install first before i can install the prog above? (I cant even get past the installation and I still think I can do this reading from the lpt port - such ambition =P)
New Lilliput EBY701 For Sale http://www.nusantech.com/index.asp?c...at=TOUCHSCREEN
SiRF3 Bluetooth GPS http://www.nusantech.com/index.asp?cat=GPS
TCL Tutorial
Another One
Otherwise, check out this site for more parallel port FAQ's and information.
Gogle's got lots of information on parallel ports. There might even be something that's already been made for your application.
Do you have any specifics? Is this data acquisition?
Good luck,
Kris
Nope. If you wanna program your computer in English, I'm afraid you're outta luck.Originally Posted by masch
Stop trying to use tcl commands to install stuff...! Install tcl, learn to program in tcl, then try again.Originally Posted by masch
Even better, get a book called PC Intern. It tells you how to read from the parallel port without needing to go through the hassle of learning tcl (which is like cracking a nut with a sledgehammer).
Old Systems retired due to new car
New system at design/prototype stage on BeagleBoard.
I havent visited superducks site yet, although by skimming it looks liek its not windows, but its UNIX? ack
I did look at the links for M$ windows users, but are there any free ones there? Most are only shareware. I havent really explored it yet, mainly because of rob withey's comment: cracking a nut with a sledgehammer.
All I want to do is have lets say 6 wires. Each wire can either be 0V or 12V. The parallel port should be able to listen to the 6 wires.. wire1, wire2, wire3, wire4 wire5 and wire6. If there's 12V on wire4, then i want the parallel port to return a value to the computer: 000100, and if theres 12V on wire4 and wire6, then the value should be 000101. I hope you get the idea.
I dont know if this is even possible
New Lilliput EBY701 For Sale http://www.nusantech.com/index.asp?c...at=TOUCHSCREEN
SiRF3 Bluetooth GPS http://www.nusantech.com/index.asp?cat=GPS
[H]4 Life
My next generation Front End is right on schedule.
It will be done sometime in the next generation.
I'm a lesbian too.
I am for hire!
Hehe, thanks Frodo, great links. Too advanced for me really. The first one actually just tells me what I need to isntall to get port access from WinXP. The second would have been a great link, provided any of the links to the diy projects worked.
This is actually harder than I thought? I first need to get an analog-digital converter?
New Lilliput EBY701 For Sale http://www.nusantech.com/index.asp?c...at=TOUCHSCREEN
SiRF3 Bluetooth GPS http://www.nusantech.com/index.asp?cat=GPS
btw, this schematic found on this page is how I got the idea I could use the parallel port to detect events and run different functions depending on which switch was flipped:
http://www.fortunecity.com/bally/wex.../ximppar1.html
There was no need for an analogue-digital converter for this no?
New Lilliput EBY701 For Sale http://www.nusantech.com/index.asp?c...at=TOUCHSCREEN
SiRF3 Bluetooth GPS http://www.nusantech.com/index.asp?cat=GPS
Bookmarks