LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

could someone explain the select comparison

Solved!
Go to solution

I am supposed to compare inputs on 2 numeric controls and if they are equal they will turn on an LED. I figured out how to do it with the = sign but I am supposed to use the select comparison. Could someone please help me?

0 Kudos
Message 1 of 16
(4,893 Views)
What do you mean by 'supposed to'?
0 Kudos
Message 2 of 16
(4,884 Views)

The problem assigned to me says to use the select comparison.

0 Kudos
Message 3 of 16
(4,880 Views)

Then this is homework.

 

Since doing an equal comparison between two DBL's (if that is what the front panel controls are), perhaps you have to use the results of the In Range & Coerce function? 

 

Do you have the exact wording of the problem?

0 Kudos
Message 4 of 16
(4,868 Views)
Yes, that is why I didn't ask you to do it for me and just wanted the select comparison explained. The problem states: Create a VI which compares the inputs on 2 numeric controls and turns on an LED if these values are equal. Use the Select function on the comparison palette. Then it shows a photo of what the front panel should look like and it has 2 numeric controls and an LED. Nothing else.
0 Kudos
Message 5 of 16
(4,855 Views)
since it was a home work and you did not wanted any soultion for the problem you posted, and you wanted to know what is the 'Select " means, did you ever bothered to look at the comparision pallette? Atlease used the "search" option?
Regards
Guru (CLA)
0 Kudos
Message 6 of 16
(4,851 Views)
Yes I saw the select function and read what the help button said about it but I am still confused.
0 Kudos
Message 7 of 16
(4,849 Views)

And I guess what I was confused on was that the front panel is only supposed to have 2 numeric controls and the LED but with the select comparison my understanding is that you have to use another boolean which would show up on the front panel.

0 Kudos
Message 8 of 16
(4,848 Views)
No, you would not have to have another front panel Boolean to use the Select function. You could directly wire the results of anything that returns a True/False. You can also use block diagram constants.
Message Edited by Dennis Knutson on 01-20-2010 09:47 PM
0 Kudos
Message 9 of 16
(4,843 Views)
How can I post the code that I have so far so that I can show you what I have and where I am confused?
0 Kudos
Message 10 of 16
(4,836 Views)