05-14-2025 06:15 AM
Hello,
I have the following problem:
I have a cluster that comes from another system and it returns to me this way in some cases, with repeated values.
I need to filter this cluster so that only one item of each Value appears, from the oldest to the most recent.
Could you help me?
05-14-2025 06:55 AM
Hello Leandro,
If I understand your need correctly, you had a good start with your VI.
Here is one solution not far from yours :
05-14-2025 07:00 AM
You made some mistakes with the build array.
05-14-2025 09:36 AM
Oi Leandro
Vc ta indo na direcao certa. No Case true vc so precisa modificar o build array pra aceitar a array do shift-register como concatenate array.
Desta forma, a cada novo elemento, o codigo vai incluir o novo finding no array da iteracao anterior.
05-14-2025 10:06 AM - edited 05-14-2025 10:10 AM
Searching through an ever-growing array can get expensive. Since you have LabVIEW 2019, you can use a SET to keep track of unique elements. For large input arrays this will be orders of magnitude faster.