10-30-2007 03:56 PM - edited 10-30-2007 03:56 PM
Message Edited by Phamton on 10-30-2007 03:57 PM
10-30-2007 04:10 PM
10-31-2007 05:20 PM - edited 10-31-2007 05:20 PM
Message Edited by Hani R on 10-31-2007 05:21 PM
11-01-2007 10:23 AM - edited 11-01-2007 10:23 AM
Hi Hani,
I thought that getting rid of the IsTaskDone? vi solved the problem. I ran 25,000 stops and restarts without an issue but I just saw it hang again.
Note that it is not that my loop is only slowing down a little. The pulse train literally stops and won't trigger for 10-20 seconds then starts up again. The point at which it does this seems random. My trigger signal is coming straight from a TTL compatible pulse generation box.
Paul
Message Edited by Phamton on 11-01-2007 10:27 AM
Message Edited by Phamton on 11-01-2007 10:30 AM
11-02-2007 07:00 AM
11-02-2007 11:58 AM - edited 11-02-2007 11:58 AM
I've been running with a low number like 2 or 3 triggers per step so that's not the problem. Hani, I also tried your other suggestions (although I wasn't sure I could eliminate the case statement) and they didn't work. It does seem like the faster I make the inner loop the less problems I have (maybe why you didn't see any problems if you have a faster computer).
It seems like something is going on in the hardware since the software continues to loop without error but the board doesn't trigger. Are there any NI people out there that know what is going on in the board itself? There can't be too many things that could cause it hang for 10-20 seconds then start working again. Could something be getting messed up with the counters and they don't accept triggers until they roll over? Are they any timeout parameters I could fool with?
I'd really like to get a handle on this problem as I'll be running my program continuously for days at a time and can't afford to have timestamps on my data that are intermittently 10-20 seconds off. I suppose I could postprocess the data and find the hangups but I'd prefer not to.
Message Edited by Phamton on 11-02-2007 11:59 AM
11-06-2007 01:02 PM
11-07-2007 12:57 PM
11-08-2007 03:18 PM - edited 11-08-2007 03:18 PM
11-08-2007 05:19 PM - edited 11-08-2007 05:20 PM