02-04-2016 08:14 AM
Jie,
Ah, that is weird, but glad you found the ultimate cause. Just for the record, is this considered to be incorrect behavior of the TDMS routines? (ie has a CAR been created?). If there is a CAR can you let me know the number?
Thanks for looking into this and the quick turnaround. I will try the reordering trick.
-Scott
02-04-2016 08:35 AM
And as you described the reordering of the channels in the read is the trick! Great!
As a TDMS expert maybe you can answer the following... Since the NI TDMS codes is released as a DLL for those Windows folks, will a similar .so or .dylib file ever be released for the linux and Mac OS folks? It would be very very useful in trying to make TDMS as a more standard file format rather than using python code based on the public TDMS file internal description.
https://pypi.python.org/pypi/npTDMS
http://sourceforge.net/projects/pytdms/
Thanks again for tracking down this unexpected feature!
02-13-2016 08:01 PM
Thanks for your questions,sth.
For Linux and Mac OS, TDMS component already provided the relative library binary files. They are libtdms.so for Linux and tdms.framework for Mac OS. You can find the binary file if you install LabVIEW or TDMS component on the relative OS.
Jie
NI R&D
02-14-2016 05:52 PM
@emmazheng wrote:For Linux and Mac OS, TDMS component already provided the relative library binary files. They are libtdms.so for Linux and tdms.framework for Mac OS. You can find the binary file if you install LabVIEW or TDMS component on the relative OS.
And without the .h header files... Thanks. 😞
I can use gcc -framework tdms
But where is that api documented? The internal structure yes, but not the calling sequence for the framework.
02-14-2016 11:45 PM
The header file is not published and there is no API document for TDMS component binary file.
You can use CVI TDMS Library to make your program. CVI has its own TDM streaming API for writing and reading TDMS files. Please reference the link http://www.ni.com/white-paper/5499/en/.
Jie
NI R&D
02-15-2016 07:30 AM
You're suggesting making a wrapper, or a wrapper? Wouldn't it be easier to just publish the header file along with the binary?
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
02-15-2016 08:49 AM
Please share the CAR# for this issue.
Ben
02-15-2016 10:28 AM