It has been a while that I've been here on this forum, so sorry for my late reaction.
The program were I was working on is now finished and still works perfectly after 3 months of usage (without looking at removal of small bugs)
When I edit the program in Labview the problem that Labview freezes still occurs. But since the program is done and working now and the problem doesn't occur in other programs I've been working on lately. I will not try to solve the problem anymore because of lack of time.
Everyone who has tried to help me with my problem, I thank you all for you time and input!!