Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Generating events in VB applications

How can I generate an event in an application written in Visual Basic from an application in LabView?
I have an application in VB that launches and application in labview to monitor some temperatures, I need that the application in LabView notifies to the VB application when there is an error, right now th VB application is polling the LV application, but I want the LV application to generate an event in the VB application.
Thanks.
0 Kudos
Message 1 of 2
(2,808 Views)
Hello,

I have a few clarification questions that may help lead us to an answer:

How are you calling the LabVIEW application in VB?  At some level, you will need to do some polling because LabVIEW itself will not fire an error event unless you check for the error.  This check can be of the form of an error out indicator for which you have defined an event structure Value Change case (in which case the polling interval would be however often the indicator is written to).  How are you performing the poll operation from VB?
Cheers,

Matt Pollock
National Instruments
0 Kudos
Message 2 of 2
(2,780 Views)