03-28-2012 10:56 AM
Hello. I am trying to make a labview program to read data and record it to a TDMS file every hour for as long as it runs. I first wanted to test it on 15 minute intervals to work the bugs how. I made the attached VI and simulated some data. It runs fine but when I press the stop button to stop the program, the mouse cursor changes to the "waiting cursor" and it stays like that until the program says "(Not Responding)" and then it crashes. Needless to say the data is not recorded or corrupted. It doesnt seem to do this with shorter time intervals (say, record data every 15 seconds). Is the long time period the reason its happening? Is there a better way to approach this? Thanks!
Solved! Go to Solution.
03-28-2012 11:50 AM
03-28-2012 12:00 PM - edited 03-28-2012 12:02 PM
Just a small error in how you wrote the header information (Every iteration?) a small mod to fix. The wait untill next mS will prevent the loop from consuming an entire core.
03-28-2012 12:10 PM
Jeff, could you save that file so that I could open it with Ver 8.6? Thank you.
03-28-2012 12:18 PM
here you go
03-28-2012 12:19 PM
03-28-2012 12:37 PM
Indeed, I still cant open it.
03-28-2012 01:11 PM
03-28-2012 01:13 PM
Hmmm am I going crazy? When I tried to open your file RavensFan, Labview still came up with the error message saying Ver. 10 was newer than Ver. 8.6.
03-28-2012 01:48 PM
No, you are not crazy. I don't know what is going on. I know I did a save for 8.6. And I have done it a few more times to be sure. And everytime I reopen it, it says 10.0.
So I did a save for 8.0. And when I reopen that, it still says 10.0
I can't explain it. I'm running LV 2010 SP1. I wonder if there is a problem with the Save for Previous Version in that version, or if there is something about your VI that is not allowing it to go to 8.6 and forcing it back to LV 2010 without a warning or explanation.