LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Delete Zero´s

Solved!
Go to solution

Hello,

I want to delete Zero/Zeros in an array.

 

See attach files.

 

BR

LV stupid

 

0 Kudos
Message 1 of 3
(2,968 Views)
Solution
Accepted by topic author LVdummies

Use conditional indexing:

 

ConditionalIndexing.png

 


LabVIEW Champion, CLA, CLED, CTD
(blog)
Message 2 of 3
(2,962 Views)

This is obviously a Homework Assignment, and you haven't been paying attention in class.  You are also focussing on How to do the task, rather than on What the task is. 

 

Here are some questions you should think about, then do your own work:

  • What do you mean by "Delete zeros in an array"?  Are you replacing them with something, or removing them from the array (so that the array is shorter)?
  • What do you know about For Loop and the tunnels (input and output) types that they have?  What does the tunnel symbol of a little square inside a bigger square (seen on the Input and Output side of the For loop) mean?  Can there be multiple types of tunnels?
  • What does the tunnel coming out of the Case statement (a solid tunnel with a dot in the middle) imply?  What value will it output in the False case?  What value will it output in the True case?

You need a better grasp of the Fundamentals.

 

Bob Schor

0 Kudos
Message 3 of 3
(2,953 Views)