You can use local or global variables. If you process the information in another part (loop, vi, etc.), there is the possibility you may run into race conditions. To avoid that you can use vi's for synchronozation or detection of ocurrences. Check LabVIEW's examples in the help file, specially those in the Advance section.