LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Find indexes in very big Digital waveform graph

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?

0 Kudos
Message 1 of 5
(1,433 Views)
0 Kudos
Message 2 of 5
(1,393 Views)

50% of Ben64's solution.. Smiley Surprised . 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...

Message 3 of 5
(1,375 Views)

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?

0 Kudos
Message 4 of 5
(1,344 Views)

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). Find index in array.png

 

 

 

Labview 4.0, 5.0, 6.1, 8.6, 2009, 2011, 2012, 2014
If you do not know something, ask me.
0 Kudos
Message 5 of 5
(1,323 Views)