Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS Create or Replace Returns Error

Solved!
Go to solution

This example using the FPGA option (near the end of the page):

http://zone.ni.com/devzone/cda/tut/p/id/11198#toc4

 

 

Step #26 under FPGA section sets up the open or create TDMS file.

 

This always returns error #7 from the TDMS create or replace VI.  When creating a new file, it should not return error "cannot find file".

 

0 Kudos
Message 1 of 5
(3,666 Views)

Hi,

Check that you have a valid file name.  It works for me under LabVIEW 2010.

 

If possible post the code or a snippet of code here and the error that is generated.

 

Cheers

Stephen

0 Kudos
Message 2 of 5
(3,654 Views)
Solution
Accepted by topic author rwestbrook

You are receving error 7 due to the file path that you are specifying. Make sure you are using the correct file path. If you are still having problems is a knowledgebase article that might shed some more light on what is going wrong.

 

http://digital.ni.com/public.nsf/allkb/BBCAD1AB08F1B6BB8625741F0082C2AF?OpenDocument

 

Regards,

 

David A.

National Instruments
Applications Engineer
0 Kudos
Message 3 of 5
(3,645 Views)

I'm giving the reccomendations from this article a try.  It looks like I may have to try a few things before landing on the right combination. 

 

I'll let you know how it goes for actually solving the problem, but so far this looks like the best lead yet. 

 

Thanks

0 Kudos
Message 4 of 5
(3,639 Views)

Thank You David A.

 

I had to use strip path / build path functions to create a file location that the cRIO actually understood.  Then everything worked fine. 

 

Problem solved.

0 Kudos
Message 5 of 5
(3,635 Views)