Parallel Port Tester
To run this place both files in the same directory and open a terminal window and use the command
halrun -I -f ptest.hal
You can push the output buttons and change the state of each output. When you toggle an input it shows up on the screen.
Enjoy
John
Please Log in or Create an account to join the conversation.
- TarHeelTom
- Offline
- Premium Member
- Posts: 91
- Thank you received: 1
This is a little parallel port tester done with pyVCP.
To run this place both files in the same directory and open a terminal window and use the command
halrun -I -f ptest.hal
You can push the output buttons and change the state of each output. When you toggle an input it shows up on the screen.
<snip>
Enjoy
John
John,
What is the switch immediately following "halrun" in the above code sequence?
Thanks
Tom
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- TarHeelTom
- Offline
- Premium Member
- Posts: 91
- Thank you received: 1
Please Log in or Create an account to join the conversation.
When I run halrun -I -f ptest.hal I get " Waiting for component 'PortTest' to become ready" a bunch of dots and than halcmd: I also get a new blank window called PortTest., eventually every thing seems to time out and I get back the normal prompt and the blank window closes.
This may wll be something that I am doing wrong due to my ignorance of Linux.
Any help wpould be appreciated
TIA
Tony.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
- Posts: 5007
- Thank you received: 1440
I would use it (a slightly modified version) to test if certain ports would work work in X-mode. I would start the test then probe holes with a resistor to see if the circles changed color.
Please Log in or Create an account to join the conversation.
Is there anything that I need to do or set up BEFORE I run the test?
TIA
Tony
Please Log in or Create an account to join the conversation.
It should just work...
Are both files in the same directory?
Did you open the files with a windoze editor that might have tacked on some funny stuff to the end of each line?
John
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
- Posts: 5007
- Thank you received: 1440
Please Log in or Create an account to join the conversation.
Yes both files in the same directory
Downloaded directly to the Linux box and used "text editor" to verify the port address.
Thanks
Tony
Please Log in or Create an account to join the conversation.