10-22-2023
03:06 AM
- last edited on
10-23-2023
05:41 PM
by
NI_Community_Su
Can anyone help me solve these problems in vi , I'm new to LabVIEW, these are 10 questions if anyone knows solve and help me , as I'm new to vi community, I can post only twice so , u can post solution here , please do help , I have to submit solutions in 3 hrs,
10-22-2023 04:05 AM
Start with the learning resources listed at the top of the forum. Show us what you tried and we will point you in the right direction.
How would you do it in any other programming language?
Your subject only talks about problem one (of 10). Did you solve the others? How should the UI look like and how does the user enter the tree numbers? (three numeric controls? An array with three elements? A cluster of three controls? etc.)
Remember: This forum is not a service to do homework for you.
10-22-2023 06:12 AM
Im not getting correct output for decimal to binary please help
And I'm unable to attach my block diagram pic
10-22-2023 11:22 AM - edited 10-22-2023 11:40 AM
@Priya475 wrote:
Im not getting correct output for decimal to binary please help
And I'm unable to attach my block diagram pic
What happens if you try to attach your VI or embed an image?
The subject of this thread is to find the smallest number, but now you are talking about a completely different problem.
Maybe you should discuss it with one of your classmates.
Can you explain what you are doing? Since we are dealing exclusively with integers, make sure there is no trace of orange anywhere on the diagram.
You have not even explained what "decimal" or "binary", is, e.g. the datatypes and such. Are both strings, one exclusively containing the characters 0..9 and the other 0..1? Something else?
10-22-2023 12:54 PM
Have you even written (and tried to execute) a VI (= Virtual Instrument, the name we give to LabVIEW programs that have the extension ".vi")? If so, you can go to the Forum and look below where you are typing where it says "Drag and drop here or browse files to attach" and attach your VI. Since you are a new LabVIEW student, you are probably using LabVIEW 2023, which I won't be able to open (as I'm using LabVIEW 2019), but many other LabVIEW experts will be able to see it and help you with the concepts (you'll still have to do your own work, or "copy from your classmates").
Have you gone to your classes? Have you looked at the "Learning Material" mentioned on the first page of this Forum?
Bob Schor
10-23-2023 01:34 AM - edited 10-23-2023 01:35 AM
Hi Priya,
@Priya475 wrote:
Write a program to find smallest of the three numbers
y = min( a, min(b, c) )
I guess you figured it out on your own as you only had 3 hours left to solve your homework…
10-23-2023 09:22 AM
@GerdW wrote:
y = min( a, min(b, c) )
I guess you figured it out on your own as you only had 3 hours left to solve your homework…
This only gives the "value" of the smallest number, it does not say which of the three inputs is smallest (a, b, or c, or even abc if all have the same value, etc.). Interpreted literally, "find the smallest of three numbers" does not even ask for the value. 😄