PC control

Angelo281

Member
Join Date
Feb 2003
Posts
1
i desparate need source code in Vb or C,C++ (prefferablly in VB)to control LPT or Serial port, in order to count revolutions,0V - +5V and start a counter.It is very important for me.
 
It's unlikely you're going to be able to use VB to count pulses on an I/O pin of a PC port with any decent speed. If I had such a challenge I'd spend a couple of bucks on a hardware device that communicated with a simple protocol to a COM port.

This might be of interest to you:

http://www.weedtech.com/wtpct-m.html
 
If I were you I would program an 8051 or any relative microcontroler pic type for example and communicate with pc using vb and mscomm activix there is a good routine named as com event which can realy help in data recieving (sending is much more easier ) this way would be rather inexpensive.
If you are not informed about microcontrollers you can use a usart instead as a serial to parrallel device.
using the LPT port with VB ?
I think you must use VC with that
 
Last edited:

Similar Topics

Adding ethernet equipment to an existing panel that has none. We have some solid ethernet cables coming from other remote cabinets that I plan to...
Replies
3
Views
121
does anyone have an install or know if/where i can download it for the following "ABB PS501 Control Builder Plus V2.3 " the software was a free...
Replies
2
Views
89
I am not sure why this is requested, but it was asked. Currently I have one PLC , with one output to a relay, turning on a field equipment (just...
Replies
7
Views
217
I have been requested to test this proportioning valve for PLC control of flow/pressure. Dwyer Series SVP Proportioning Solenoid Valve The flow...
Replies
10
Views
420
Hello Dear users, I am writing about a problem that has been bothering me for a few days, i.e. I am trying to establish remote access to the Allen...
Replies
0
Views
88
Back
Top Bottom