LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS create/read/write error

Heys guys,

 

I try to work with TDMS but I get many errors.

 

1, If I open the following VI I get error "6" generic I/O error. I have to mention, that the data path is pointing on a folder on the Host, the VI shown is executed on the RT system. Not sure if this works.

Create TDMS.png

2, If I want to create this file it gives me error 118 "data path not found" (VI is executed on the host and data path points to a folder on the host, too)

Create data path.png

3, If I point on a excel (.xlsx) file for read/write where I manually changed the ending to .tdms I get error -2503 "wrong data format". Even if I want to open it manually I get this error...

 

4, So I am not even sure how to create/open a TDMS file manually... Do I have to install further software to do that?

 

Kind regards

 

Slev1n

 

 

 

 

0 Kudos
Message 1 of 4
(4,008 Views)
You can't simply write to a folder on the host from an RT system. If you want to create a file on the host, it has to be written by code running on the host. There are a variety of ways to do this. You could transfer data to the host using shared variables. Or you could run the file save VI on the host with VI Server. Those are just two options that came to mind, there are others.

TDMS and Excel are different formats, however there is an Excel plugin that lets you import TDMS data.

I'm not sure what you mean by creating a TDMS file manually.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 4
(3,948 Views)

Hey mike,

 

by "manually" I mean, right click on desktop--> create excell-file ---> change ending from .xlsx to .tdms --> try to open the file.

 

All the issues described in my upper post do not occur if i run the programm on my laptop (except for the creating TDMS from RT). So is there anything I have to install to get TDMS running on my desktop pc?

 

kind regards

 

Slev1n

0 Kudos
Message 3 of 4
(3,915 Views)
You can't create TDMS files manually. You seem to misunderstand that there is no program for which TDMS is its native file format. There are several programs that can use TDMS file, but you can't double click on one and expect it to open.

And as I said before, TDMS and xlsx are fundamentally different file formats you can't just rename the file.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 4
(3,896 Views)