12-19-2012 04:59 PM
Hello,
I simply am creating a vi which creates and closes a TDMS file. I do have some subvis within the vi which personalize the TDMS channel names,settings, and data values. When i run the vi once it runs great and even diplays the correct format in the File Viewer but when i try to run it a second time i get the error. I was able to trace the erorr to the subvi "TDMS set properties". I have attached the vi and the actual error code. Any help would be appreciated. Thanks.
12-19-2012 07:41 PM
From the error code it looks like an error of LabVIEW UI.
Besides, I can't reproduce this issue with LV2011 and LV2012 on my machine.
12-20-2012 05:31 AM
Hi,
I have actually replicated the problem. The error code is documented here and I particularly noticed the line in the link "an object in LabVIEW such as a wire or a loop tunnel does not pass an internal test"
I found that although I could run the VI, if I removed the redundant loop tunnel in the image below (there are two refnum tunnels on top of each other), and then undid the removal, when I ran it again labview produced the same error for me and crashed.
So to solve it, I think if you just remove the redundant tunnel (there is an output tunnel on top of an input tunnel, I'm sure from just a misclick) and resave the VI, it should not crash any more. Make sure you don't undo the change!
If this doesn't work, try some of the further ideas in the KB link.
All the best, any questions just post back.
12-20-2012 11:06 AM
Thanks for your reply. I did notice the tunnel and removed it. This had no change on the error. I also followed the debug instructions on the KB link and had no resolution. Do you have any other ideas ?
12-20-2012 11:39 AM
It's a shot in the dark but how about changing to a shift register instead of an input tunnel?