DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with understanding Data in TDMS File in DiaDEM.

Hi,

I am new to  TDMS file topic.

1. Here, I have created a VI, which creates a test.tdms file, having 30 channels in a 1D array and corresponding 1D array of Waveform Data having single value in the "Y" component 1D Array. Opening same file in DiaDEM, The Channel Strom_Master_Min shows... Maximum Values as "0.59166" and I am not sure how it calculated the Minimum value of "0.1245" ?

2. Also, the Length of Strom_Master_Min Channel is "2" but am writing only a single Value of "0.59" to it. Similarly for the other channels in the Channel Group.

3. In My application, I only want a single DBL value in every Channel i have created in this TDMS file, Corresponding to the 1D DBL array I highlighted in the Pt. No 1 in the screenshot. Can anyone explain this in the right way? Thanks! 

 

Capture.PNG

 

0 Kudos
Message 1 of 6
(1,599 Views)

Hello,

It looks like the channels really contain two values.
LabVIEW also contains a TDMS-VIEWER.

Please try to load the mentioned TDMS-File with the TDMS-Viewer VI.

ThomasWH_0-1689329576991.png


Does the TDMS Viewer also show two values per channel?

0 Kudos
Message 2 of 6
(1,557 Views)

Hi @Thomas,

I generated a .TDM file. It does contain Two Values for each channel.. for eg. for Strom Master channel its Min is 0.1245 and Max is 0.59. I opened this file in the Dataplugin/Storage/DatafileViewer.vi in LabVIEW.

I wrote a program which generates a single value of 0.59 for this channle which is mean of multiple data points. I am not sure, in Diadem it also logs min as 0.1245 automatically. I only want to log single value which is the Max=059 in .TDM file generated by my other program.

 

Any idea?

0 Kudos
Message 3 of 6
(1,448 Views)

Hi,

So far as I know DIAdem will not generate automatically a second value during the loading of a tdm or tdms file.

If the file contains one value, the min and max values are equal.
If it contains two values, min and max could be equal if the values are equal. If they are differnt also the min and max values are different.

If possible please attach a small "example" tdms or tdm + tdx file (generated by your program with test values) as a zip file. I can look in for check.

Regards

0 Kudos
Message 4 of 6
(1,418 Views)

Hi Thomas,

 

you're correct. The issue is resolved now, When i checked in detailed, there are multiple signals in the same channel in my TDM file. We seperated those signal values programmatically and now, while plotting graph in Diadem its showing correct.

0 Kudos
Message 5 of 6
(1,407 Views)

Thanks for the feedback.
Regards

0 Kudos
Message 6 of 6
(1,401 Views)