10-26-2025 01:46 PM
Hi,
I'm quite new to veristand and labVIEW and I need some help.
I want to be able to override, for example, the value of a user channel (used in veristand GUI) with an external signal value and to change the value of the same user channel from the veristand GUI itself, with below conditions.
Lets say that i have a "enable_control" switch to decide if "external_signal" should override the value of "signal". See illustration below.
* If "enable_control" is OFF, "external_signal" should not override the value of "signal" (possible to manually change the value of "signal" in GUI)
* If "enable_control" is ON and "external signal" is 5, "signal" should automatically change to 5 (not possible to manually change the value of "signal" in GUI), if the value of "enable control" changes the value of "signal" should also change. I would want the override to last until "enable_control" is turned OFF.
Is it possible to do? and in that case, what would be the best solution for it?
10-27-2025 11:04 AM
Hi SR25
I think the easiest way would be to implement a calculated channel and use the "conditional". This should let you chose, based on 'Enable Control' to read from your constant or user channel and output to your signal.
Best Regards,
Joshe
10-27-2025 03:26 PM
Thanks for your response joshe!
But this isn't exactly what I am after.
I want to override the value of the user channel or alias it self (maybe confusing to call it "signal"). See clarified example below.
* left pic: no override and "gui_control_user_channel_or_alias" can be changed in the gui.
* middle pic: override enabled and "external_control" overrides "gui_control_user_channel_or_alias". "gui_control_user_channel_or_alias" cannot be changed from the gui.
* right pic: no override but the value of "gui_control_user_channel_or_alias" is still 9 and can now be controlled by the gui again.
10-27-2025 04:13 PM
Ok, 2 options I can think of:
1) create a VS model in Labview to implement this behavior. This should be simple to implement and then import into your project. This is the easiest solution
2) create an "alarm" in VS that triggers on the override going low and then call a "procedure" to copy the external ctrl value to the user channel, then disable the alarm. You will also need another "alarm" when your Override goes high, to call a procedure to enable the low alarm and disable the High alarm. This is a tricky thing to do, but I have implemented similar alarms and procedures before.
10-28-2025 01:49 AM - edited 10-28-2025 01:59 AM
I think I prefer option one as it seems more clean 🙂
Could you help me with how it should be done with both the model and how to map it in veristand?
I have tried it out but haven't succeded. Tried dirfferent things for example to use select like below, and mapped it in veristand. But the issue is that gui_control overrides it self so I cannot change it from the gui.
10-28-2025 05:50 AM - edited 10-28-2025 05:55 AM
If you are familiar with LabVIEW you can try building LabVIEW models (Using Models from LabVIEW VIs - NI)
In the snippet that you provided, the controls will become inports and the indicators will be outports of your model.
After building the .lvmodel or .lvmodelso simply import it in to a VeriStand project. Configure controls and indicators on the screen to see the values when deployed.
10-28-2025 06:31 AM
I already figured out how to build a model and how to map inputs and output in Veristand.
The issue is that the labview models that I created, together with the mapping, didn't exactly do what I want, see my previous message.
10-30-2025 09:02 AM
@SR25 wrote:
Hi,
I'm quite new to veristand and labVIEW and I need some help.
I want to be able to override, for example, the value of a user channel (used in veristand GUI) with an external signal value and to change the value of the same user channel from the veristand GUI itself, with below conditions.
Lets say that i have a "enable_control" switch to decide if "external_signal" should override the value of "signal". See illustration below.
* If "enable_control" is OFF, "external_signal" should not override the value of "signal" (possible to manually change the value of "signal" in GUI)
* If "enable_control" is ON and "external signal" is 5, "signal" should automatically change to 5 (not possible to manually change the value of "signal" in GUI), if the value of "enable control" changes the value of "signal" should also change. I would want the override to last until "enable_control" is turned OFF.
Is it possible to do? and in that case, what would be the best solution for it?
What about using "Channel Fault Manager" to set External Value?