From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
06-05-2018 07:13 AM
I have created an installer for my TestStand program. It consists of many LabVIEW modules, none of which are executables. I have deployed it to a machine with the full version of TestStand, but only a run-time LabVIEW engine (included in the installer). NI Variable Engine has also been included, although I can't find where it actually installed. When I run the TestStand program, I receive the following error:
Unable to located variable in the shared variable engine. Deployment of this variable may have failed.
I see several possible issues I need help working through.
1. Does each LabVIEW module need to be made into executable form with "Deploy All" selected for the shared variables?
2. Why can't I find NI Variable Engine on the deployment machine even though it is included in the installer?
3. Based on the error, it looks like it found the shared variable engine, just not the particular variable. Is this a correct assumption?
Solved! Go to Solution.
06-05-2018 08:45 AM
Hi,
Who's responsible for deploying the shared variables ?
You can do it in several ways :
06-05-2018 09:15 AM
That is a good question. I was assuming they were already deployed (I am working on someone else's code, so I'm having to learn the ins and outs). I am using TestStand 4.2 (can't upgrade due to deployment requirements) and it doesn't have the option to auto-deploy variables in the adapter configuration.
06-05-2018 09:17 AM
Can you give an example of how to create a deploy step? Or point me in the correct direction of an online resource?
06-05-2018 09:22 AM
Hi,
I don't know about TS 4.2, but in more recent versions of TS, the deployement is just a step that you can find in your Insertion Palette !
It is placed in the 'LabVIEW Utility' section and it is called 'Deploy Library'.
With tha step you can deploy/undeploy your SVs pointing on the lvlib containing your variables.
06-05-2018 11:46 AM
Found it.