Toni-
I am a bit unclear as to what you are trying to do. It sounds like you are trying to look for a change in a shared variable. If you have LabVIEW DSC module, you can create an event structure fired off of change events on a shared variable, otherwise you need to simply poll the shared variable until it changes.