LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

delete element in 1D array

Hi..

I have 1D array. i want to delete an element that have 0 value in 1D array. so how can i do that?

0 Kudos
Message 1 of 4
(3,130 Views)
Here's some old example that deletes all zeroes from a 1D array.
 
 
0 Kudos
Message 2 of 4
(3,127 Views)
Here's a VI for you, it's the simplest way in terms of code. If you have a huge array you might need a more efficient method.


<script src="http://shots.snap.com//client/inject.js?site_name=0" type="text/javascript"></script>
_______________________________________
Systems Test Engineer
Certified LabVIEW Architect (CLA)
0 Kudos
Message 3 of 4
(3,124 Views)
Hi gdah,

ae you in any way related to Kabanga? Yesterday the same question came up...
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 4
(3,103 Views)