LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

notification from a callback VI

snippet.JPG

I have this snippet.

 

I need to generate a notification from the callback VI. The only way I could get it to work is with the

global variable. Im sure there's a better way. The global inside of the callback VI is feeding a Send Notification block.

 

How can I do this without the global?

 

 

0 Kudos
Message 1 of 2
(2,140 Views)

Hi WayneS1324,

you can define the user event refnum as input for your callback vi instead of the string. If you do it, then you have the refnum inside of it and you can create the event directly without the global.

 

Mike

Message 2 of 2
(2,104 Views)