04-14-2009 10:33 AM
04-15-2009 04:13 PM
Hello settlesj,
I am unsure of what behavior writing in the manner to a TDMS file will do, but you do not need to create your channels in this manner. If the channels are not already in place when you are writing your data, it will automatically create them for you. If you need the channel names to already be in place for some reason (I'd be curious to hear what the reason would be, I'm thinking maybe for a UI), you can place them by using the TDMS Set property VI. Just create two empty constants for the required inputs. The channel and group you specify will be created with no data in place.
04-15-2009 07:36 PM
Both "TDMS Write" and "TDMS Set Properties" will automatically create groups and channels if they do not exist. You can first set up all your channels and their properties with "TDMS Set Properties" and then add data values to these channels by calling "TDMS Write" and passing in the same group/channel names.
Herbert