LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Automatically update one control to another control

Hi,

 

Good Morning...

 

I am developing a GUI for one of my project, In this project I have to control two Instruments simultaneously. In my GUI I given two frequency controls for two instruments. But ultimately the frequency value is same for the both instruments, If I change the frequency value from one control the same value will reflect to another control automatically.

0 Kudos
Message 1 of 17
(4,099 Views)
0 Kudos
Message 2 of 17
(4,084 Views)
If the instruments are always set the same, why do you even need two different controls?
Message 3 of 17
(4,071 Views)

@Ralok wrote:

Linked controls.PNG


Pet peeve #1 of mine...Do NOT use the Value Property Node.  Use a local variable.  It is A LOT more efficient (I'm talking 1000+ times faster).

 

I'm with Dennis here.  If the values are always the same, what is the point of having two controls?  It just adds noise to the GUI that you do not need.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 17
(4,027 Views)
Besides the incorrect use of the value property, the controls should also be inside the event case.
0 Kudos
Message 5 of 17
(4,015 Views)

Thank you for the reply......

 

Two instruments means one is signal generator and another one is FPGA board. For my application I need to show two controls in the front panel and in the block diagram it should be shown only one control like the duplicate the front panel control. Is it possible?? Because no need of two controls in the block diagram.

0 Kudos
Message 6 of 17
(4,008 Views)

@11532 wrote:

Thank you for the reply......

 

Two instruments means one is signal generator and another one is FPGA board. For my application I need to show two controls in the front panel and in the block diagram it should be shown only one control like the duplicate the front panel control. Is it possible?? Because no need of two controls in the block diagram.


I still do not see the need for the second control.  The FPGA board can just use the set frequency of the signal generator.  Again, you are just adding noise to the front panel.

 

A front panel control corresponds directly to 1 and only 1 terminal on the block diagram.  So if you have 2 front panel controls, you will have two terminals.  There is no way around it.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 7 of 17
(4,000 Views)
If there is no need for two controls on the block diagram, there is no need for two controls on the front panel. Why do you think you must have two? I think you need to post an image of your front panel so that someone can see what you've done and suggest changes.
0 Kudos
Message 8 of 17
(3,996 Views)

Please find the enclosed GUI.

 

Two controls are required in the front panel for user understanding.

0 Kudos
Message 9 of 17
(3,990 Views)
I'm calling bs on this so called 'need'.
0 Kudos
Message 10 of 17
(3,983 Views)