11-29-2011 06:44 AM
Hi,
I am an absolut beginner to LabView and I learned the tutorials of LV but I have a question and need your help.
I have two numeric inputs and one numeric output and I want to output for example the bigger number from the inputs. What I need is how can i compare two input and decide for one of them.
When i use a comparison operator like greater, smaller or equal I get a boolean result but not a numeric. How can I use this to get e.g. the bigger or smaller one?
Thank you
Oliver
Solved! Go to Solution.
11-29-2011 06:49 AM
You can e.g. use your Greater to decide which is in fact greater and then select that one through a Case structure or a Select which'll send the bigger one forward.
That functionality is already bundled in the Min/Max function, check it out.
/Y
11-29-2011 09:23 AM
Hi,
great the Select was what I searched. Also the Maxmin worked for my app.
Thanks a lot
greetings
Oliver
11-29-2011 09:53 AM
Rather than mark your thank you post as the solution why not mark the actual post which provided it. Please give credit where credit is due.
11-29-2011 12:05 PM
Hi Mark,
what is wrong I don't understand your post.
did I do something wrong?
greetings
Oliver
11-29-2011 12:56 PM
You marked your post which was thanking the person who gave you the solution as the solution. You should mark their post. After all, it is the solution.
11-29-2011 01:03 PM
sorry that was a mistake from me. Thanks for your post
greetings
Oliver
11-29-2011 03:35 PM
To correct your mistake go to the post that you selected as the solution and click the options on the top right hand side. Then select the post that best answered your question.
11-30-2011 01:22 AM
OK, done