09-27-2024 04:07 AM
I have successfully used the Shared Variable to share a boolean value between two .exe LabVIEW 2018 applications.
I then deployed the two executables to several target PCs, the first few worked okay, but on one of the PCs, the variable is not shared.
On the problem PC, I opened the Project from source and got warnings that DAQmx VIs were missing. I then used Package Manger to install the required components, as per this solution https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000001DbLBSA0&l=en-GB
I appreciate that the components of the development system are independent of the run-time engine, but I though this is maybe a clue.
The shared variable is still not working.
What run-time component is missing, that is required to make the shared variable work?
09-27-2024 09:27 AM
It could be a firewall issue...
09-27-2024 11:00 AM
I'd heavily recommend building an installer for the exe's. It'll automagically include all needed runtime components (if you check the box to do so).
10-04-2024 10:51 AM
The installer informing me of the required components sounds like a good method.
Now the installer wants me to provide media "LabVIEW 2018 Platform".
My development PC has LabVIEW 2018 and drivers installed, but I download the drivers again and pointed the installer prompt to the folder. It's not the correct folder media, see picture below.
Where do I find "LabVIEW 2018 Platform" ?
10-04-2024 01:46 PM
check if the "NI Variable Engine", "NI PSP Service Locator" and "NI Configuration Manager" services are running.
10-07-2024 05:47 AM
On the PCs where the shared variable is working as expected, I can see that "NI Variable Engine" & "NI PSP Service Locator" are both running, but not "NI Configuration Manager".
On the PC where the shared variable is NOT working, I can see that "NI Variable Engine" & "NI PSP Service Locator" are both running, but not "NI Configuration Manager".
10-07-2024 09:20 AM
It will be a pain to download, but you can try this:
10-07-2024 09:32 AM
another tool you can use is the distributed system manager, which can be used to view deployed variables on either local or remote system.
10-08-2024 10:14 AM
I tried the Software Platform Bundle, it is not the media LabVIEW is requesting, see below.
Is it possible that Fall 2018 is not the version LabVIEW wants?
10-08-2024 11:08 AM
Shared variable is installed with the LabVIEW runtime engine. the only other thing you might need might be the Datalogging and Supervisory Control module.