04-04-2008 06:00 PM
04-08-2008 01:18 AM
Hi Guangde,
Unfortunately to say, in the current state, this VI would be nearly impossible to diagnose. You may want to rebuild this VI from scratch.. break down your code and try to see which portion is creating this behavior. Also, your code is unusually large. We suggest that VIs be able to fit into one monitor page, and if not, break down the VI into subVIs and implement modular programming. You do not need to have wires spanning across multiple screens, as this not only lengthens development time, but debug time as well.
With these tips, it may let you debug your original code.
I'm sorry, this is probably not the answer you are looking for, but without the hardware and the subVIs, this VI is very difficult to troubleshoot.
04-08-2008 10:45 AM
Hi Tolga,
Thank you for your response and suggestions. We are still trying to find where the problem is. We have ruled out software and LabJacks. It's about how the Measurement Computing board is wired to the system.
I know my program looks messy, it consists of many parallel loops. I used so many parallel loops because I want to keep a good timing. the front panel operations need to be on time and one loop couldn't handle so much work. I don't know whether we have a better way to do it other than parallel loops.
Best regards,
Guangde