I'm developing a new Device to read and write from/to the Parallel Port. I'm using the old Visual Basic SDK because I'm afraid to say the C++ SDK was a bit too daunting. I've been able to successfully read and write from/to the parallel port using a single shot approach. To make this plugin more useful I would really like to monitor the status of the printer port data lines by continuously reading/polling them. The problem I've run into is that when using a "Do While Loop" and "DoEvents" I seem to chew up 100% of the CPU resources. Is there a "Best Known Method" for continuously polling the status of a device in HouseBot? Any Visual Basic code snippets or ideas would be greatly appreciated!
Thanks very much!
-Mike
Visual Basic SDK Parallel Port Device
Printer Port Monitoring
A search on VBcity.com for parallel port
Didn't read much of it, so I don't know if it'll help much
but VBcity in 9 cases out of 10 has the code needed.
Cheers
/p
A search on VBcity.com for parallel port
Didn't read much of it, so I don't know if it'll help much
but VBcity in 9 cases out of 10 has the code needed.
Cheers
/p
HTPC Specs:
Motherboard: EPIA M10000 1Ghz
512MB 400Mhz DDR RAM
120GB + 200GB HDD
boinc2mee - View your Seti@Home stats through Meedio
Motherboard: EPIA M10000 1Ghz
512MB 400Mhz DDR RAM
120GB + 200GB HDD
boinc2mee - View your Seti@Home stats through Meedio
Visual basic sdk paralell port interface
Hi Egarbage,
Did you manage to get the plugin sorted for the paralell port? I am also looking to use simple contact closure or TTL signals to trigger event within housebot.
I'm surprised this wasn't one of the first things done.
Your help would greatly appreciated.
Kind regards,
Jim.
Did you manage to get the plugin sorted for the paralell port? I am also looking to use simple contact closure or TTL signals to trigger event within housebot.
I'm surprised this wasn't one of the first things done.
Your help would greatly appreciated.
Kind regards,
Jim.