09-22-2021 04:31 AM
I am using numeric indicators for monitoring actual values of devices. These actual values are provided by shared variables visible in DSM. I can bind these shared variables to the control via
Right Click on control >> Properties >> Data Binding
>> Data Binding Selection = Shared Variable Engine (NI-PSP)
>> Access Type = Read
>> Path = SV Path
This works fine. However, I would like to populate the data binding dynamically from a database (I don't want to change the program code if the hardware / shared variable environment changes). I tried to realize this functionality by the following code (the BindingPath is provided in parts by the database):
When executing this code I get an error message:
QUestion: How do I dynamically bind a front panel control to a shared variable?
12-29-2021 04:48 AM
Hello wgeithner,
I'm sending you a link that can be helpful.
Using the LabVIEW Shared Variable - NI
Refer to the Front Panel Data Binding section, where you might find useful information.
Best Regards.