LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error 7 in TDMS open

Solved!
Go to solution

I am running this basic data acquisition VI which is giving me "Error 7 at TDMS open". I tried different variations of filename, prompt but it didn't help. Also referred to this link  http://forums.ni.com/ni/board/messageboard.id=170&thread.id=440033&view=by_date_ascending&page=2 which didn't help either. Any idea whats going wrong?  

data acq error 7.jpg

 



------------------------------------------------------------------------------------------------------
Kudos are (always) welcome for the good post. 🙂
0 Kudos
Message 1 of 3
(4,693 Views)
Solution
Accepted by topic author odessy27

Default operation for TDMS Open is "open", which requires the file to exist. You might want to try "open or create" or "create or replace" instead. The default behavior is intended to prevent users from accidentally overwriting existing data.

 

You are storing waveforms as "interleaved". Waveforms are non-interleaved by definition. You need to use 2D arrays of numeric values for "interleaved" to actually work. Depending on the throughput your acquisition produces, you might be fine storing non-interleaved data from waveforms.

 

Herbert

Message 2 of 3
(4,691 Views)

Herbert,

             Thanks for the quick response. Changing TDMS open to "Create or Replace" solved the problem. Thanks again!

 

-Nilesh 



------------------------------------------------------------------------------------------------------
Kudos are (always) welcome for the good post. 🙂
0 Kudos
Message 3 of 3
(4,682 Views)