04-20-2010 04:59 AM
Hi
I am using write to measurement file function to log my real time values in TDM file. I am having roblem in naming the Channel names because TDM function ignore my Channel names and use the Untitled keyword overthere.
Thanks
Solved! Go to Solution.
04-20-2010 08:36 PM
Hi mimran,
We can specify channel name in the configuration dialog as well as other properties.
If it doesn't work for you, would you please let us know which LabVIEW version you were using?
Thanks,
Mavis
04-21-2010 02:55 AM
Hi Mavis
I have got Labview 2009. And do you know how to convert TDMS file to XLS?
Thanks
04-21-2010 03:05 AM
Hi mimran,
You can try the TDM Excel Add-in to convert TDM or TDMS file to XLS.
http://zone.ni.com/devzone/cda/epd/p/id/2944
Hope this helps,
Mavis
04-21-2010 03:17 AM
Hi
Infact I did managed to put names for different signals using "Set Dynamic Data properties" Function. Now I am getting output like
Time(Pressure) Time* Pressure Time (Flow) Flow
04/21/2010 09:02:05 0 -3.4 04/21/2010 09:02:05 -3000
04/21/2010 09:02:06 1 -3.4 04/21/2010 09:02:06 -3000
04/21/2010 09:02:07 2 -3.4 04/21/2010 09:02:07 -3020
04/21/2010 09:02:08 3 -3.4 04/21/2010 09:02:08 -3000
Now I want to have this type of output
Time(Pressure) Pressure Flow
04/21/2010 09:02:05 -3.4 -3000
04/21/2010 09:02:06 -3.4 -3000
04/21/2010 09:02:07 -3.4 -3020
04/21/2010 09:02:08 -3.4 -3000
Thanks
04-21-2010 08:45 PM
Hi mimran,
Are you using TDM Excel-AddIn to import the TDMS file into Excel?
If you'd like display some of your channels instead of all of them, maybe you have to delete the channels from the TDMS file.
Currently the TDM Excel-AddIn shows all of the channels in the TDMS file. If you have request to display part of them, we could consider doing that in the future versions.
Thanks.
04-22-2010 06:13 AM
Hi
At the moment, I am using TDM Excel Addon for viewing the logged data. But I am thinking to change the saved file to Excel format programatically. I know this is possible but have no idea how to do it.
I am using Write to Measurement File function for creating a log file. So can you tell me how I can delete specified columns/Channels from TDMS saved file.
Thanks
04-23-2010 01:49 AM
Hi mimran,
Currently in TDMS, we don't support deleting a channel directly. You may use a walk-around in LabVIEW:
1. Read out all the groups and channels expert the channel you want to delete.
2. Write these groups and channels to a new file
3. Replace the old file with the new file.
Greetings,
Yunzhu Du