LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

When you change a value you have to press Enter to make this change

Solved!
Go to solution
Highlighted

I would probably use a feedback node here instead of a shift register. But even having to press enter does not prevent anyone from entering a bad value, so you definitely need an entry control as suggested and maybe additional sanity checks in code before the new value is handed over to the rest of the code.

If there are only a few possible power values, maybe you could use a ring containing all allowed values.

 

(I am curious about you case structure in the upper right. What's in the TRUE case?

whatsthat1.png


LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
0 Kudos
Message 11 of 14
(116 Views)
Highlighted

@altenbach wrote:

I would probably use a feedback node here instead of a shift register. But even having to press enter does not prevent anyone from entering a bad value, so you definitely need an entry control as suggested and maybe additional sanity checks in code before the new value is handed over to the rest of the code.

If there are only a few possible power values, maybe you could use a ring containing all allowed values.

 

(I am curious about you case structure in the upper right. What's in the TRUE case?

whatsthat1.png


Well there is true constant. When reflected power is bigger than allowed it will stop program. Because when is activated boolean for RP limitation, it limits generator power. 

0 Kudos
Message 12 of 14
(99 Views)
Highlighted

So you created a Rube Goldberg.

 

If True, output True.  If False, output False.

 

Eliminate the case structure and just use the wire!

 

 

0 Kudos
Message 13 of 14
(92 Views)
Highlighted

@RavensFan wrote:

So you created a Rube Goldberg.

 

If True, output True.  If False, output False.

 

Eliminate the case structure and just use the wire!

 

 


Hmm, that’s looking very stupid from me. I didn’t realise that. I am learning by myself. So my best friends are Google and YouTube. 😄 

So I really appreciate it. 

0 Kudos
Message 14 of 14
(87 Views)