LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I transfer one control value to other control

Solved!
Go to solution

This is the way that I solved my problem (as per my project feasibility):

 

222.png

  

The reason why I needed that is, Input B will be updated after placing some values to Input A so that users do not have put the same value again. The next step will start either the value of Input B or another value but not beyond the Input A value. Another thing was Input A should run independently. The above logic meets all around. 

 

Problem and solution was simple but you know sometimes simple things pinch too densely 😕

 

 

 

 

0 Kudos
Message 11 of 12
(484 Views)

Well, that's not really a solution to the original problem because:

 

  • B can only be made larger than A, never smaller.
  • If B is already larger than A, making A smaller does not change B.
  • Whenever the TRUE case executes, "Input 1" will turn to zero for a nanosecond (or longer if there is a reasonable loop delay)

These all seem unwanted side effect and don't agree with the original specifications.

 

Here's my version again, just now with the two outputs correctly connected.

 

altenbach_0-1627050493752.png

 

(As said, you also be able to do something with event structures. really depends on the rest of the code)

 

Message 12 of 12
(450 Views)