05-05-2011 07:12 AM
Hi everyone
Again, I have a LV-Question:
I have a program that measures some signals and it saves them in an excel tdms-file. When one file is full is automatically starts to save in an other tdms file. No problems with that. But how can I:
1) choose the maximum capacity of 1 file? How many data it can contain..
2) How can I give the file a name where one part is a constant name ( example: a pumpnumber) and where the other part is the date of the measurement with a number ( example: Pump3Installation4_2011-05-05_3.tdms?
Thanks for helping me
05-05-2011 07:23 AM
Hi!
I haven't been using TDMS so much myself, but I can maybe help you with your second question
Here is how I save my TDMS file:
I use "Build Path" with a folder path constant. Then I build the filename. As you can see I use a String constant + Serial Number input from user + File extention. You can easily play around with this and use "Get Date/Time" or what ever you want. You will then get a unique filename for each TDMS file
05-08-2011 08:37 PM
For the first question, you need to program in your application which monitoring or bookeeeping the data values you logged to TDMS. And if you want to know how many data values in a TDMS channel, you can get the value of property "NI_ChannelLength".