Visual Basic SDK Parallel Port Device

General HouseBot discussion. Any issues that don't fit into any of the other topics belong here.
Post Reply
egarbage
Member
Posts: 1
Joined: Wed Jun 30, 2004 4:24 am

Visual Basic SDK Parallel Port Device

Post by egarbage »

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
paran0id
Member
Posts: 12
Joined: Mon Apr 12, 2004 11:22 am
Location: Sweden

Post by paran0id »

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
HTPC Specs:

Motherboard: EPIA M10000 1Ghz

512MB 400Mhz DDR RAM

120GB + 200GB HDD



boinc2mee - View your Seti@Home stats through Meedio
shoei600
Member
Posts: 6
Joined: Sun Mar 19, 2006 2:26 pm
Location: London, UK

Visual basic sdk paralell port interface

Post by shoei600 »

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.
Post Reply