Example Code

TDMS - ASC converter to convert XNET TDMS logs to asc (used in Vector CANalyzer)

Code and Documents

Attachment

Description

The attached example converts XNET TDMS CAN logs into the ASCII format *.asc, which is used e.g. by CANalyzer (product from Vector Informatik GmbH).

 

Convert.png

 

The attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system, or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense

Andreas Stark
LabVIEW Lead @ Rocket Factory Augsburg

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
半仙
Member
Member
on

could you pls attch the missed NI-XNET Frame&Log vis?

AndreasStark
NI Employee (retired)
on

These VIs should be present if you installed the NI-XNET driver.

Best regards

Andreas

Am 23.07.2014 16:59 schrieb "半仙" <web.community@ni.com>:

Community

<https://decibel.ni.com/content/index.jspa> TDMS - ASC converter to

convert XNET TDMS logs to asc (used in Vector CANalyzer) neuer Kommentar

von 半仙 <https://decibel.ni.com/content/people/%E5%8D%8A%E4%BB%99> Alle

Kommentare zu diesem Dokument anzeigen

<https://decibel.ni.com/content/docs/DOC-23116#comment-36516>

Andreas Stark
LabVIEW Lead @ Rocket Factory Augsburg
RaviChen
NI Employee (retired)
on

Hi, AndreasS,

 

Could you attach the .tdms and .tdms_index file please? When I use your vi, there is an error that the tdms file is corrupt. But my file is generated from Bus Monitor and it is accessible by TDMS Viewer vi. Can you share a tdms file with to run your vi properly? Thanks.

 

Ravi, Chan.

May the odds be ever in your favor.
RaviChen
NI Employee (retired)
on

Hi,AndreasS,

 

I have solved this problem by changing the parameter for TDMS read api.

correct.PNG

Thank you for your terrific work.

May the odds be ever in your favor.