Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69036

communication between Event handlers

$
0
0

Is it possible the communication between events in a event structure??

 

My question comes because, if I have 2 buttons, one to open a GPIB VISA resource, then, in the event handler for the "Connect Button", I would have A VISA OPEN.vi and maybe a VISA READ.vi

 

But now, let's say that I have another button called "Disconnect Button", then the event handler needs a VISA CLOSE.vi but...how could I wire from VISA READ (resource name, error) to VISA CLOSE(resource name, error) if they are in different cases of the Event Structure??

 

I know that in a normal Case structure, we would have to use shift registers....but how is it done in an Event structure??

 


Viewing all articles
Browse latest Browse all 69036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>