How can I achieve the following (see vi below): With each iteration of the for loop the occurrence should be triggered, so that the case structure in the while loop gets executed. I used local variables (continous polling) and it worked fine, however it doesn't work with occurrences,maybe because I'm not familiar with this topic.
Furthermore, is there a way how to assure that the next iteration of the for loop gets executed ONLY after the previous execution of the while loop (caused by the occurrence in the for loop) has finished?
Any help gratefully received,
Georg