07-10-2019 08:57 AM
Hello!
I am working on to create a step size control of fill slide or numeric control. What I have learned on the youtube is that I can set the maximum and minimum values of the control, but it only increases 1 each time. What if I want it to increase by 0.5 or 0.6 or 0.1..... The graph shows what I mentioned above. Basically, my question is that how could I create a control to set the step size of numeric control? Thx!
Solved! Go to Solution.
07-10-2019 09:04 AM
Did you look at the other property nodes available for the control? The increment value is literally right next to the Max and Min limits. It seems you would benefit from the free tutorials available on the front page of the LabVIEW forums.
07-10-2019 09:08 AM - edited 07-10-2019 09:09 AM
Property node of the numeric control.
07-10-2019 09:48 AM
Hi RavensFan,
Thx for your reply, I appreciate it.
May I ask you one more question? What I'd like to accomplish is to create a loop that allows me to start from the initial value(the value I set in the property node) to the maximum value and redo it again(redo condition is controlled by another interface which has the parameter and allows me to set the min and max value as well, let's call it D). Which means, the program can set E.L. to 0.1 when D starts to count from like 20%-70%. After parameter D hits to 70%, the E.L. automatically goes to 0.15 while the parameter D increase from 20%-70% again...
Have no idea how to achieve this- -
Apologise if you can't fully understand what I mentioned above. Here I attached one picture, hope it can provide some helpful information for you.
07-10-2019 09:55 AM
So now you aren't talking about the increment settings of a control, but you you want to programmatically create a series of values?
Basically you'd use loops and shift registers. Considering your list is pretty short, I'd just create an array constant and type them in! A For Loop inside a For Loop where the outer one provides the "E.L" value and the inner one provides the "D" value.
07-10-2019 10:25 AM
Yes, you are correct. The picture you post helps me to solve the problem so that allows me to move on to the next question which is 'programmatically create a series of values'.
Do you mind if you can go more detail please? Confusing.
07-10-2019 10:36 AM - edited 07-10-2019 10:37 AM
Arrays and For Loops are basic LabVIEW skills.
I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
Learn LabVIEW