02-06-2013 06:03 PM
Hello, I am a novie LabVIEW programmer so please be patient
I have a basic continuous data acquisition program. I want to use the export waveform to spreadsheet VI but I need data to be streamed to disk during acqusition. This VI has it's open file IO handling so I can't just put it in a while loop and wire my waveform array to it. How can I modify it so I can stream to disk? Or is there an alternative way of achieving this?
Kind Regards
Adam
02-06-2013 07:33 PM - edited 02-06-2013 07:33 PM
Hey Adam,
So in general when you want to write data to disk as it's acquired you follow this template of opening the file, writing to it continuously, then closing it.
If you look inside the export waveform to spreadsheet function you'll see that they're opening, writing, then closing. So, if that function does exactly what you need then you can just use its base code and move the open and close functions outside of your while loop. If it doesn't work exactly like you want then you can customize things more by starting from the base model above.
--Ryan S.
02-11-2013 03:39 PM
I am having issues modifying the export to waveform to spreadsheet VI. I try to move the file I/O open and close operations outside of my while loop but LabVIEW reports the subVI as broken.
Could someone kindly show me how they would go about modifying the export wave VI to do as I want? Or if there is a better alternative way of achieving this. I simply want a column of data for each channel in the task (Y values) and a single column for the unit of time at which that data point was taken (X) for each channel, which is pretty much what the export to waveform function does.
Kind Regards
02-12-2013 12:45 PM
Hi Xtasy,
Could you please post a screenshot of what you're describing? I don't quite understand the issue you're describing in regards to the export to waveform VI.