Hi,
Unfortunately I have to say that it was very hard for me to get a clear overview of your application. You should program more clearly by using SubVIs to get a structured VI. Maybe you are able to reduce the VI only on the angle-measurement-section and send it again.
Do you get any error message (error code)?
The link below contains general information about angle measurement and an example. In the example-finder of LV (Help>>Find Example) also some very good examples could be found by entering "angle" as search topic.
http://zone.ni.com/devzone/cda/epd/p/id/4439
Maybe these links and examples could solve
your problem.
Best regards,
Hannes Hager