07-03-2008 08:22 AM
07-08-2008 02:08 AM
07-08-2008 03:35 AM
07-09-2008 12:07 PM
Hi Patrick,
My understanding is that channel deletion is currently not supported in the TDMS api. So regardless of whether you're using the TDMS VIs in LabVIEW or the C++ functions you have tried, the underlying file format api just doesn't support this action yet. There has been talk about adding this, so hopefully this will change in the future. The TDM file format does support channel deletion, so this is why the same function exists and works for TDM files. For the time being I think your only option is to re-write the TDMS file under a different name with all the channels EXCEPT the ones you want to delete. Then if you wish you can delete the original file and rename the new file to the deleted file's name.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
07-10-2008 01:59 AM