01-20-2023 10:14 AM
Hi all,
I'm currently creating my first project using LV and to be honest, it's kinda intimidating. I'm trying my best here to impress my team as they think this is too much for me and they may be right, but I can't say no to a challenge.
That said, attached is a tiny portion of the project: my goal is to make the sliders (T2A/T2B) variable for UUT1 and set the sliders to a fixed value for UUT2.
I'm kinda stuck here and would appreciate any ideas as to how to approach this.
UUT2
UUT1
01-20-2023 10:39 AM
Please attach the program so that we can reproduce and understand the issue better.
01-20-2023 10:49 AM
Here it is. Thank you
01-20-2023 10:59 AM
In the case for DUT 2, just put constants in:
01-20-2023 11:38 AM
@Ed11bay wrote:
Here it is. Thank you
01-20-2023 11:59 AM
I tried it but the problem is that the user can still move the slider around. Ideally, I'd like to disable and greay out the sliders for UUT2.
Thanks
01-20-2023 12:21 PM - edited 01-20-2023 12:24 PM
@Ed11bay wrote:
I tried it but the problem is that the user can still move the slider around. Ideally, I'd like to disable and greay out the sliders for UUT2.
I don't see any slider for UUT2. Please explain where that would be!
Maybe something like this?
(For code readability, please use the correct enums for the "disabled" property.)
01-20-2023 02:25 PM
Thanks for your reply. That is an interesting approach.
I'll update sometime tomorrow on how this went.
Thanks again!
01-23-2023 09:26 AM
This shed some light on finally getting this to work! thanks a lot for your feedback. However, I have one more question: What does the "Disabled" property do? Does it disable the slider completely or does it just make it not editable?
01-23-2023 10:43 AM
@Ed11bay wrote:
This shed some light on finally getting this to work! thanks a lot for your feedback. However, I have one more question: What does the "Disabled" property do? Does it disable the slider completely or does it just make it not editable?
Disable makes you unable to click, move or edit it. Disable and greyed out adds a graphical effect.