07-11-2003 01:36 PM
07-11-2003 03:45 PM
05-28-2015 09:44 AM
To Dan, thank you. I was looking for this solution.
05-28-2015 10:15 AM - edited 05-28-2015 10:16 AM
@marvin117 wrote:
To Dan, thank you. I was looking for this solution.
It is 12 years later and an old solution is still useful? 😄 Times have changed and better solutions are definitely available.
If performance is of any concern (e.g. when used with large arrays), the given solution is very, very inefficient. The "delete from array" function should really never be used inside a tight loop. There are much more efficient solutions that operate in-place.
It also seems silly to retake the timestamp with every iteration of the loop. Once before the loop is probably sufficient.
In any case, with any modern LabVIEW version we also have conditional output tunnels, allowing to reduce the code to the size of a postage stamp (see picture below). 😄