04-08-2010 07:53 PM
Hi
I am having some problems trying to get a single element out of an array. As you can see I am getting a number of t Values and I am only interested in the highlighted one, or the first one above 1.09E-5. Is there an easy way to only get this?
I have tried a while loop, but that won't work.
The logic I tried using is that if the value is greater than 2E-5 then store the value and stop, but the comparison or greater than can not take data of that type or something.
I have no other ideas and I'm sure labview has somthing than can do this.
Thanks for the help
Solved! Go to Solution.
04-08-2010 10:48 PM
oelias23 wrote:
The logic I tried using is that if the value is greater than 2E-5 then store the value and stop, but the comparison or greater than can not take data of that type or something.
Where in your code are you trying to do this? I see two comparison of > 0.07 and they look to be wired up okay. What do you mean by "cannot take data of that type or something"? Show us some code where you are getting that error.
04-09-2010 05:24 AM
04-10-2010 07:58 PM
04-12-2010 02:41 PM
Yea I was doing the same thing but instead of the for loop, I was trying to use a while loop, but yours works.
Thanks