11-14-2013 09:07 AM
Hello everybody,
I am using the attached VI for real-time spectrum measurements. However, i need to save the data after averaging is done and restart the averaging in order to save the data for the next time instant. Is there any suggestion on how to do it?
I am not sure if this approach is the right one for obraining spectrum meassurement at different time instants so if there are any other suggestions feel free to share.
Thanks in advance,
L
11-26-2013 10:20 AM - edited 11-26-2013 10:20 AM
Hi Elhatzi,
As you want to save a spectrum to file, you would need to save the entire spectrum for each time instant as you cannot simply stream time data to a file as you would with something like DAQ-mx. Have you tried using a TDMS file and storing each spectrum in a seperate channel? This would allow you to store one spectrum for each time instant, however this could be quite disk space intensive if you are saving an entire spectrum very often. You could change the channel name each time with the string VI's then write to that channel to get this functionality.
Best Regards,