11-22-2011 11:48 AM
First off, I'm not sure if this post should be in the DIAdem board or Measurement Studio.NET, but the symptoms are noticed from within DIAdem.
I have a Measurement Studio.NET (VB-based) program that is used to stream data to .TDMS files as they are read from a USB-6218 device. Data is collected on 7 AI channels, each read at 1kS/s and saved to the TDMS file 100 at a time. No time/date channel exists, since each sample is 1 ms and system time is irrelevant. Each channel usually contains ~170,000 data points.
That said, these files load perfectly fine into DIAdem 11.1 on the computer used to collect the data - simply by dragging each channel one at a time from the Data Portal to the View (2D Axis System) screen. However, when any of these files (there are literally thousands of them collected to date) are opened in the exact same version of DIAdem on other systems, each channel shows up as only having a length of 100 samples (as opposed to ~170,000 which is correctly read on the other computer). Comparison has been done using the exact same version of a file from a network drive, and tested on 3 additional computers with the same result. I'm not sure if it is coincidence that it reads each channel length to be equal to what data is written to the file at or not, but I've even tried to delete _index files and allow them to recreate.
It is critical that these files be opened on other systems, and quite frankly I am at a loss without trying to install additional software to see if the behavior changes. Any help would be greatly appreciated!
11-22-2011 12:08 PM
SUCCESS!
Turns out that the computer used to write the TDMS files had tdms.dll version 2.2.1546.609 installed, whereas the others had version 2.0.1287.649. When I copied the later version to the C:\Program Files\National Instruments\Shared|TDMS folder, DIAdem now properly displays the full file!
Sorry for the post - hopefully the info could be useful for others!
11-27-2011 09:15 PM
Hi Joshua,
I'm working on TDMS in NI R&D. Thank you for your post. I'm still a little bit curious:
Thank you again!
Yongqing Ye
NI R&D
11-28-2011 08:42 AM
All computers involved had only DIAdem 11.1 installed. I do have a licence for DIAdem 2011, but it has not been installed in an effort to avoid any potential compatibility issues with other systems within my company.
At any rate, I see no problem sending the file. It is ~2MB, but I would rather not post it to the public forum. How do you prefer I send it?
11-28-2011 09:29 AM
Hi Joshua,
You can post the TDMS file to our incoming ftp site:
Note that this works best via drag&drop using WINDOWS Explorer, not Internet Explorer.
Brad Turpin
DIAdem Product Support Engineer
National Instruments