I have a very big Digital waveform graph. Size = 20M samples. Need find indexes when data goes from 1 to 0. My program needs about 3,5 seconds. Can decrease this time?
50% of Ben64's solution.. . Hope it does the same, didn't really test.
Looking at those waveform VI's I'm pretty sure it can be further improved. The search should be more efficient as looping, it's the waveform VI that kills performance. That's why I
hatedislike those waveforms...
I tried to increase number of samples to analyze up to 100M. But I have an error: "Not enough memory to complete this operation". Is it possible to resolve it?
More than half the time it takes to perform a transformation from the Waveform to the array. My version gives an increase in speed three times compared with the version of Ben64 (0.108 instead 0.37 sec).