12-09-2009 05:34 AM
Hi
I am trying to extract some data from my signal (0.3 0.4 0.6 ...). I want to extract values that is larger than 0.5 and put it into an array. So i am using a For Loop which i can determine each index of my data to be compared and passed it into the case structure. In the "True" box i wanted the value to be extracted outside the For Loop Box. And i want to "Do Nothing" if my value falls into the "False" Box. However, this would show error, saying " Tunnel : Missing assignment to tunnel".
I tried to select "Use Default" but it do not work since i am using a Boolean comparison. I tried to use Shift Register but to no avail too.
Could anyone guide me on this to extract only value larger than 0.5 and their index??
For Example "0.6 0.7 0.8 ; index 3 4 7"
Great Appreciation will be given.
Solved! Go to Solution.
12-09-2009 05:36 AM - edited 12-09-2009 05:39 AM
12-09-2009 05:48 AM
12-09-2009 06:00 AM
12-09-2009 06:04 AM
Your Table will be compressed, index will automaticaly grow.
Which LabVIEW Version do you use?
12-09-2009 06:07 AM
Hi i am using 8.6.1
12-09-2009 06:19 AM
12-09-2009 06:20 AM
pengxin wrote:
Thank you Eugen. This is very helpful. Just one question is that the index of values is automated ? And could you supply me with the VI ?
This looks like a job for the Code Capture Tool's new VI Snippet feature!
12-09-2009 07:53 AM
02-18-2016 02:10 PM
This solution this saved me. Thanks...