02-17-2015 08:10 AM
Hi,
To save my data in TDMS file each time I pressed the button "Save data". I created the VI attached.
My VI worked fine but When I opened the file I found my data, in addition columns of zero , Cause in the fault case of my Condition structure I selected use the default value if it's not wired.
I would appreciate your help
Thank you in advance
My best regards
Nadia
Solved! Go to Solution.
02-17-2015 08:19 AM
1) You need to wire the TDMS reference and error wire through the FALSE case
2) You have 1 too many items in your channel list array. Delete element 0.
02-17-2015 08:30 AM
02-17-2015 08:35 AM - edited 02-17-2015 08:36 AM
I few a couple more bugs.
1) The Reshape Array has the size elements swapped.
2) You might want to use Create Or Replace for the TDMS Open. Otherwise you will just be adding more data to the file.
05-07-2015 09:17 PM
Hai guyz,
I apologize for using this wall to ask but i went and used a sumilar design for my saving funtion. However when i saved, the whole data was saved in a single column. why is That?
Regards,
Newbie92
05-07-2015 09:25 PM
You reshaped the array into a 1 x 2 instead of a 2 x 1 like the example above showed.
05-07-2015 10:54 PM
Hai RavensFan,
LOL. That did the trick. Thanks 🙂
Regards,
Newbie92