I was wondering how can i save for example x seconds of data every y seconds? At the moment i can save x seconds of data every x seconds but i cannot control the saving time and i need more flexibility.
Thank you in advance,
Solved! Go to Solution.
Sorry about that. Please find attached my vi.
I changed the way you were doing your time and made it a little more simple. You now have a wait time and an acquisition time. I have an indicatior that shows when you are saving and when you are not. Let me know what you think.
Thank you Tim. I'm annoyed with myself as i was so nearly there but couldn't figure it out on my own. Anyway.. Thanks again.
That is what we are here for to help each other out and to be able to get a fresh pair of eyes on the problem.
It may be intentional, however it looks like there is a scenario where by when "Saving" boolean is false the data is thrown away. This is a particular problem as it may also be racey alongside the timestamp interval. The easy fix is to concatonate the data in the false case and store it in a shift reg / feedback node so as the data is not lost untill the true case is read. At which point it re-sets the concatonated data array to 0 and off we go again!