08-11-2015 12:49 AM
The TDMS file in "DEV.zip" does have some problems, it seems the data at the bottom in the file was mixed by some text.
Was the TDMS file generated by using the VI in " TDMS Problem.zip", when I running the VI, I could generate a TDMS file without any problem. In another word, I couldn't reproduce the problem in "DEV.zip".
Any thought?
08-11-2015 08:39 AM
Yes, it was generated using that VI. can the filename itself have have any impact? is there format or characters I can't use?
This is a small part of a much larger VI. The VI I sent you is 4th tier. The file path is started on the main page, and then I add Test ID and unit serial number, and then I add the date to it. The file name changes at midnight based on the date, the rest stays the same. As I said before, this method has worked well for me over the last year using ASCII files (.csv)
The reason I bring this is because I changed the input to the VI I sent to a constant. The file name is Testing123.tdms, and it always works whether I stop it or not. If I use the other filename format mentioned previously it works until I stop and restart it.
My head is starting to hurt. For the life of me I cannot see what is wrong.
08-12-2015 11:27 AM
It looks like I'll need to contact NI directly to resolve this, but thanks to all who tried.
08-12-2015 11:50 AM
Definitely refer back to this thread and to YongqingYe (an NI empoyee), when you are in communications with NI.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
08-12-2015 02:17 PM
okay, so I can't contact NI directly because I don' t the service program membership. So, I'm stuck. Really Stuck
Any advice? I'm not going to be able to convince my management to upgrade just for this
08-12-2015 02:22 PM
@Speaks wrote:
My head is starting to hurt. For the life of me I cannot see what is wrong.
Yeah, this is a tough one, since @YongqingYe can't reproduce your problem. I think the key is to try to reproduce the messed-up file from scratch to better isolate the problem. If we can't generate a file that is messed up using the VIs that you've provided then there's not much we can do to help.
Run through all of the code that made this file, put it in to one VI that runs through the same steps, and test whether the issue occurs again.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
08-13-2015 01:22 AM
Hi Speaks,
I run the VI you attached and try to reproduce the problem. I put your VI in a while loop and run it for the entire afternoon for hundreds of thousands of times, but unfortunately, I still couldn't reproduce.
I would suggest you use the same way to try to reproduce and let me know whether it can be reproduced or not.
And another way is, try to remove the csv file related code firstly and try to see whether the problem exists or not. And if it still doesn't work, try to remove small part TDMS related code in your big project and remove more and more, and see whether the problem exists or not and narrow down to where the problem is.