06-16-2021 11:09 PM
I am unable to deploy network shared variables to an RT target.
I am using LabVIEW 2020 SP1 32-bit, and RT module
My target is an IC-3120.
I am able to successfully run my software in LabVIEW dev env. You can see the below screenshot of the Distributed System Manager, with the shared variables:
But when I create an exe, my application does not run.
I am confident this is because the Network shared variables have not been deployed.
This article Deploying Network Shared Variables from a Compiled Executable - National Instruments (ni.com) recommends to do the following:
To deploy shared variable libraries in executables built in LabVIEW 2009, follow these steps (and refer to the image below):
I don't get the Shared Variable Deployment option in the list when I open the properties of my build specification, so I suspect this is why. But why don't I get this option? Is this no longer an option in LabVIEW 2020?
I also tried right clicking on the shared variable library, and selecting "Deploy" OR "Deploy all" - but this doesn't seem to persist after a reboot.
I have the following installed on the IC-3120:
Remember that it works fine when running in LabVIEW dev env. Just not as an exe.
Thanks in advance!
06-17-2021 03:02 PM
Some additional notes:
- The IC-3120 is running the RT application.
- We have another Windows application that will communicate with the RT application via the shared variables
- We need to have the shared variables deployed to the IC-3120
06-17-2021 09:02 PM - edited 06-17-2021 09:05 PM
You might try putting the SV library in the "Always Included" category. It might help, I thought I had some evidence of that but now less sure.
This is different in a few ways, so probably not all that helpful, but I just tried the following and appeared to be successful, despite also not seeing a "Shared Variable Deployment" entry in the Build Spec window.