As a follow up to this topic Link , I have added the elapsed time VI but I cannot get the logic to work.
If the counter (initialised to 0) is zero then the header info should be written to a new file. Afterwards the counter is incremented. When the counter is greater than 0 AND the "Time Has Elapsed" is true, then write data, otherwise do nothing.
At present I can get either a new file every 500ms without data (just headers) or a complete file with data but every 500ms.
As pseudo code:
If counter=0 then
write header
else
if reset=true then write data
end if
I hope this is clear.
Regards
Mark