From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
09-25-2020 02:07 PM
Hi...
I am student and new to labview. I need help in exploring labview.
I need small program
I have one button "done" and i have one numerical controller in vi. Now i want to show "done" button after taking two values in controller...means after taking two values in controller "done" button should be visible...can anyone help me this. I am glad if you give .vi for example. Thank you in advance
09-25-2020 02:24 PM
Hi ani,
from your description I guess you need a loop, a case structure and a property node of the button...
All the rest is explained in those Training resources, offered in the header of the LabVIEW board!
(In general this forum is not providing homework solutions for free.)
09-25-2020 02:55 PM - edited 09-25-2020 02:58 PM
Looks like your program is complete, except for the visibility function. How do you count the number of values entered? Turn that into a boolean that turns true once the count is >1 and wire it to a "visible" property of the button.
If you would attach your VI, we could give you further useful advice.
(It is typically not a good idea to micromanage what the user can do at any given point in time. What if he decides that on reading is sufficient and wants to proceed?)
09-25-2020 09:31 PM - edited 09-25-2020 09:45 PM
Thank you for both replays.
Basically, i am thinking to store numeric control readings in array and from that find size of array. And then give if condition to it means if array size becomes more that one visible button node becomes true otherwise it is false. True and false by creating constants to visible button node.
But again how to give that more than one condition? is big question
What ever i said above is in the word form i dont know how to program it in LabView.
It would be great if you help me in this.
Again thank you in advanced
09-25-2020 09:47 PM
Look in the comparison palette.
Have a look at the training resources at the top of the forum if you want to do this in LabVIEW. Who forces you?
09-25-2020 09:56 PM
No one forcing me. But this is something which is not letting me to sleep.
Thank you for your help.
You can add if you get something related to this
09-25-2020 10:34 PM
@Aniketgawande wrote:
But this is something which is not letting me to sleep.
A good way to keep busy while awake would be to go through the mentioned tutorials. Have you tried?
09-25-2020 11:17 PM
Not tried yet....but i will go through that.
09-26-2020 02:35 AM
Is there any way to find out how many readings taken by numeric controller?
Means if i am taking 34,56,89 values in my numeric controller then way to indicate 3 values taken?
Thank you in advanced
09-26-2020 03:58 AM