01-30-2014 07:34 AM
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??
01-30-2014 08:53 AM
Why can't you use shift registers. And shift registers don't work on case structures. They work on the While loop that surrounds the case structure. Same thing for the event structure.