Hi TommyH,
The first thing that I would do is make sure that you are using the 1Khz clock source and not the 1Mhz source. The compact FieldPoint controllers only have a 1Khz clock. Next, I would suggest simplifying your code to do something very simple like add 2 numbers together and see if you still get the error. This will determine if the error is coming from the code within the timed loop or the timed loop itself. If you try these things and still can't determine the source of the error take a screenshot of your block diagram and attach it to the next post.
Best Regards,
Brooks W.
National Instruments