05-12-2009 10:30 AM - edited 05-12-2009 10:36 AM
Another option would be to see if the absolute difference is below a certain threshold. (see image marked in green)
Your code has quite a few very inefficient constructs, for example
05-12-2009 10:31 AM
Dennis,
I've done as you suggest. However, it still doesnt works where the index didnt select the real number as needed which is 0.0253858.
Firdaus
ps : refer attachment.
05-12-2009 10:50 AM
Then it doesn't exist in the array. Run the VI so that there is data in the indicators adn then go to Edit>Make Current Values Default. Save the VI. Post that.
You should also use the Include upper limit with the In Range function.
05-12-2009 10:54 AM
Norbert, Dennis, and Altenbach,
I manage to solve the problem already using the method suggested by Altenbach.
Thanks a lot guys.
Firdaus