Why use 2 controls when 1 will do? Since they are always the same value, why use multiple controls?
In any case, if you really insist, then use 2 and have a value change event for both of them as already mentioned. If you get stuck, post your code. Modify my example by adding the appropriate events and removing the tab value change event.
I think if we add two event structures will be better than the current solution because of dark lines in the control.
I attached here what I did by adding two event structures but It didn't work. Could you look at it please?
If you had run my example, you would see that the black outline disappears when the VI is run.
You have just about everything wrong in your VI. You have two event structures when you only need one and you should wire knob 1 to knob 2's local variable and wire knob 2 to knob 1's local variable. Wiring the tab control to the locals makes no sense.
Yes, Finally I have it now and it was simulated well.
I don't know How to thank you for all your help to solve my problem.
Thanks alot
Ahmad