02-22-2010 03:20 PM
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?
Solved! Go to Solution.
02-22-2010 03:27 PM
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
02-22-2010 03:51 PM
Herbert,
Thanks for the quick response. Changing TDMS open to "Create or Replace" solved the problem. Thanks again!
-Nilesh