09-28-2023 04:14 AM
Can you please specify which TestStand and LabVIEW versions you are using?
09-28-2023 04:24 AM
NI Labview 2019 SP1 f5
NI Teststand 2019 f4
10-10-2023 10:44 AM
Hi @OnlyOne and @Oli_Wachno,
The root cause of the issue lies in the fact that the LabVIEW Run-Time Engine cannot resolve symbolic paths such as <vi.lib> and <instr.lib>. These paths are special types utilized by the LabVIEW Development Environment to simplify the process of resolving dependencies.
Every time we develop code modules that have dependencies in instr.lib or vi.lib, we must make sure we include them in the deployment either by creating a source distribution or a PPL including your test code and the dependencies.
In the LabVIEW Project, code is referenced using Symbolic Paths. While these paths may not be visible from the LabVIEW Project Window itself, if you open the .lvproj file, you will find VI URLs beginning with "/<instrlib>" or "/<vilib>".
For instance, in the project above (Agilent 34401, which comes with LabVIEW), if you change:
<Item Name="Agilent 34401 Read Single Measurement.vi" Type="VI" URL="/<instrlib>/Agilent 34401/Examples/Agilent 34401 Read Single Measurement.vi"/>
<Item Name="Agilent 34401 Read Single Measurement.vi" Type="VI" URL="../Examples/Agilent 34401 Read Single Measurement.vi"/>
The recommended approach is to continue using LabVIEW development for your code modules and ensure that you package them when deploying your system. Alternatively, you can convert the driver into a Packed Project Library (PPL), which includes all the dependencies, and use it with the Run-Time engine.
@OnlyOne, is there a specific reason for using the Run-Time Engine in the adapter instead of LabVIEW Development?
Hope this helps! 😃👍
10-11-2023 05:15 AM
Thanks for finding the root problem.
The reason that the sequence has to execute in Runtime is that this is a production-tester with no need of an expensive devopment-licence.
How can i convert the driver into a Packed Project Library (PPL)?