07-19-2007 12:32 PM
07-19-2007 01:19 PM - edited 07-19-2007 01:19 PM
It is difficult to give advice without seeing the code, but here are a few things to look out for.
Are you wiring all the error clusters?
If things don't work at the second iteration, it is often due to uninitialized shift registers or partially wired output tunnels that are set to "use default if unwired". If you are not careful, you might get invalid references this way, for example.
Have you tried running in execution highlighting mode or with a few strategically placed probes?
Does your code contain any third party drivers (dlls, etc.)?
What are the priority settings of your VIs?
Message Edited by altenbach on 07-19-2007 11:20 AM
07-19-2007 01:33 PM
07-23-2007 06:33 AM
07-24-2007 02:55 PM
07-25-2007 07:26 AM
Hi Elizabeth
1) Do you run into the same problem when Highlight Execution is selected?
No, with highlight exectuion selected I can run it as many times I wish without crashing.
07-26-2007 11:30 AM
07-26-2007 12:42 PM
I once had an issue similar to this where the dll was actually freezing after some amount of use and putting a wait between calls helped. There was a timing issue it seemed with the dll and if it was called too fast the dll would freeze. Since labview waits for the dll to reture it appeared that labview was crashing but it was not. Since running in highlight mode fixes the problem I would consider putting an explicit wait after each dll call and see if this fixes your problem.
Paul
08-02-2007 01:47 PM
08-02-2007 01:49 PM