04-20-2024 07:18 AM
How can I obtain a DVR of a front panel control and change its value using DVR?
04-20-2024 08:56 AM
04-20-2024 09:18 AM - edited 04-20-2024 09:19 AM
A DVR lives on the diagram and has nothing to do with any front panel UI elements (except for the DVR terminal that can be used as subVI connector). Of course you can read from a front panel control terminal and wire it to a DVR or read from a DVR and write to a front panel indicator in classic dataflow programming. (Or go the other way using local variables or value property nodes in the rare cases where that is needed)
Instead of throwing a fancy acronym at us with vague operational questions, maybe you could take a step back and explain what you are trying to do, not how you are trying to do it. There is probably a much easier solution to whatever you are trying to do. What programming problem are you trying to solve?
04-22-2024 02:07 AM
@canzie07 wrote:
How can I obtain a DVR of a front panel control and change its value using DVR?
You don't.
You can use a reference to a control, which is a suboptimal solution, you shouldn't use front panel objects as data storage. Or have a DVR to some data. This data can be written to a control or indicator, but the DVR doesn't point to it.
But trying to do what you wrote, it'd be something like this: