03-31-2021 12:45 AM
Hello everyone! I'm struggling through a problem deploying a Veristand project that utilizes an inline async serial comms custom device built in LabVIEW. The custom device was inherited from another project and had a couple modifications made by one team member. Worked fine on Windows machines and RT target. I made a few edits (added global channel and a couple VIs) and was able to build the project. It works as expected on a Windows machine, but I get the following deployment error (Error 1124) when attempting to deploy to a PXIe RT target:
In a built application, this error might occur because the VI being loaded was last compiled for a different OS or with CPU features, such as SSE, that this target does not support. In this case you must rebuild the application for the target OS and make sure SSE compiler settings in the build specifications match the target platform. This error also might occur if the VI is a polymorphic VI, which cannot be loaded in the LabVIEW Run-Time Engine. You must load an instance of the polymorphic VI instead of the polymorphic VI itself.
What I've tried:
-Looked at all build specification properties on both versions. Everything looks identical.
-My modifications included creating a couple VIs that just do some basic mathematical functions. I originally copied and pasted existing VIs and renamed/edited those to save some time. When that VI was open in LabVIEW, the title bar had the new VI name, but had '(clone)' to the right of it. I guessed these were possibly part of my polymorphism issue and deleted and re-created them from scratch. No luck.
-The previous CD was built prior to the NI release of "custom-device-development-tools". Previously, you had to install the individual components separately (ie., Network Comm API, Inline Async API, Import and Export Tool, etc.). Thought there could be a compatibility issue. Attempted building our old version with the updated tools and it deploys to Windows and RT target just fine.
-Verified LabVIEW and Veristand are compatible (both 2019)
Some snippets of the errors are attached. Any suggestions are appreciated. Thanks in advance!
04-06-2021 04:01 AM
Hi,
"You must load an instance of the polymorphic VI instead of the polymorphic VI itself." Try setting all the Polymorphic instances of the VI as Always included.
-Andrés