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

Hey there guys, I'm relatively new to PLC programming. I had a few basic classes in college but since then I have mainly been on the instrument...
Replies
2
Views
143
Hi, Is Control Expert V15.0 supposed to support multiple monitors? I'm running Control Expert V15.0 on my host Windows 11 PC, connected to two...
Replies
1
Views
67
Hello everybody, I'm currently working on a project where I need to implement an IoT platform based on Microsoft Azure Cloud. Communication is...
Replies
2
Views
72
I’m attempt to establish a communication between two simulator M580 CPUs, using a READ_VAR, I have two vitalization Windows 10 in VMWare and each...
Replies
4
Views
151
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
149
Back
Top Bottom