LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simple program. Need help wiring/writing tdms file.

Error code 6 is a general file I/O error (I know, so descriptive).  So let's run through a few ideas.

 

Are you supplying a proper file path?

Does the directory exist for the file to go into?  The function will not create the directory structure on its own.

Does the file already exist?  If it exists and you are just set to "Create", you will get an error of some kind.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 11 of 14
(523 Views)

Ah, yes. I had it set to create and the file already existed. I actually got it to record some data! Awesome! But it looks like this "TDSm   h  Ø       Р            /ÿÿÿÿ       /'Untitled'ÿÿÿÿ       /'Untitled'/'Untitled'  
           " ??????????

0 Kudos
Message 12 of 14
(518 Views)

Yes, you need a TDMS viewer.  If you wanted to be able to read it in a text editor, you should have gone with a CSV or a tab delimited file.

 

There is a TDMS viewer in the palette.  You can just plop that down and wire in the file path.  Or there's an Excel Add-On so you can view the data in Excel.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 13 of 14
(513 Views)

Apprantly in labview 8, the TDMS close function does not have a file out node.The only place it will let me wire it in is at the beginning, before the loop even starts.

0 Kudos
Message 14 of 14
(504 Views)