Looking for a VB Guru

chakorules

Member
Join Date
Apr 2002
Location
Huntington, IN
Posts
194
I am using an Acuity Visionscape Express Vision System board in an NT 4.0 SP6 box. I am not a VB guru by no means, but here is what I am trying to do.

The Vision board comes with some standard Active X controls which are pretty slick. One of the calls is I can read and write to a "virtual I/O" point. I'd like to monitor an OUTPUT from one of these virtual I/O points to trigger an event in my own VB code.

Trouble is, since VB is event driven, the virtual I/O point on the vision board is not driven by a user, but rather the board itself.

So my question is:

Is there an VB event or controls I can use that can monitor another Active X control for change of state?

Here was my two thoughts:

1. Make an event triggered timer, this would act as a "heartbeat" I assume. After each timer expire, run the subroutine to "read" what the state of the virtual I/O point is on the vision board. This would work, but I'd rather trigger an event on change of state from the virtual I/O point.

2. Somehow read the virtual I/O point in "realtime" to a lblMyVirtualPoint.Caption. Then use the event On_Change to trigger my change of state subroutine.

Any thoughts or suggestion? Or pointers in the direction along the lines of some control or active x component I can use to monitor or do some "realtime" monitoring? My suggetion #2 would be great, if I knew how to monitor something in "realtime" sort of like a HOT TOPIC DDE connection I guess....
 

Similar Topics

Hi Guys I'm trying to scale an Analog input. The manual talks about comparing the analog to a data table to result as another device. Function...
Replies
3
Views
2,108
Been a few years since I have been on here, but I learned a lot from everyone here back when I was a Controls Engineer. Well, now I am the boss...
Replies
24
Views
11,080
Hi , Where i can find Mitsubishi PLC Card end of line & replacement model details. i am looking for Q02CPU replacement model. Please advice. thanks
Replies
2
Views
126
I have Allen Bradley plcs, I have had Circuit breakers and other automation equipment in the past. There's no solid buyers local. How much do you...
Replies
2
Views
201
can anyone has a good program to learn plc programming online. i have the basic looking into improve my skills thanks
Replies
1
Views
144
Back
Top Bottom