hi there
please, don't use any global variables.... really...
well, the most efficient way is to fire an event inside your callback - vi and catch that event somewhere else. i attached an example using the ValueChanged - event of a control and User Events. you can use occurences or any of the synchronization VIs instead.
Best regards
chris
CL(A)Dly bending G-Force with LabVIEW
famous last words: "oh my god, it is full of stars!"