12-07-2012 01:52 AM
altenbach wrote What's wrong with using read waveform from file?
Nothing is wrong Just wanted to check if I could do it with this method.
In the threds that I posted for reference, the waveform was a dat file but it could not be read through read waveform from file. There was some filtering required for that.
I was trying to do the same with Unflatten form String.
12-07-2012 02:40 AM
You can open Write to wavform file and see exactly what it does. This should give you a clue on how to read it back.
(If you want to read it the way you currently do, you need to write it differently.)
First of all, "write to waveform" internally converts to an array of wavform, but then it writes in datalog format. (you can inspect the entire VI code, just double-click it!). Once we know that, we know how to read it. e.g. the attached example writes the file, then reads it right back. Seems to work just fine.
12-07-2012 02:53 AM
Hi,
Thanks for your reply. It solved one of my problems.