01-17-2007 02:04 AM
01-17-2007 10:09 AM
12-26-2008 06:29 PM
04-02-2009 04:25 AM
Hi ,
I write TDMS files using DIADEM ( Ver. 11 ) , and I read it using the TDMS .NET library of new relese 8.6 .
All names , description and Unit of Measure fields are correcttly filled inside DIADEM , but when I try get Name field from inside a C# application , the field is empty .The description filed and Unit of measure field work correctly .
someone know a workaround to solve this problem ?
Note : I would't like to create custom property .
Thanks
04-03-2009 08:35 AM
Hello Mectronik,
Unfortunately, there is a known incompatibility between the way that DIAdem handles channel and group names, and the way that our .NET API handles these properties. As a result of this, if you create or save a TDMS file in DIAdem, you will not be able to retrieve the channel or group name in .NET. This was a major oversight on the part of both groups and is currently being addressed. At this time, I am not aware of any workaround for the situation besides creating Name Properties for the channels and groups in DIAdem.
Once again, I apologize for the inconvenience,
NickB
National Instruments
04-03-2009 08:59 AM
Hi mectronik,
Here is a LabVIEW VI which will attach an explicit property called "name" with the same value you wrote in DIAdem. Both DIAdem and LabVIEW use implicit naming-- relying on the TDMS buffer header IDs rather than an explicit "name" property. Unfortunately, CVI and MeasurementStudio ignore the buffer header IDs and rely on an explicit "name" property. This is being ironed out finally in the upcoming TDMS 2.0 version, which will also support built in polynomial channel scaling as well as other features designed to boost the streaming speed several times faster.
If you don't have LabVIEW available, you can use the LVRuntime object in DIAdem to start this VI from a DIAdem VBScript. Let me know if you need help with that.
Sorry for the hassle,
Brad Turpin
DIAdem Product Support Engineer
National Instruments
07-12-2023 01:08 AM
How to get channel.Properties["wf_start_time"] with 6 decimal instead of 3 (10-10-2023 01:01:01.123456) because SuperViewer shows all 6 ?
Thanks
Branko