09-08-2023 02:05 AM
Hello,
why can teststand not find the VI when i insert the project path to an instrument driver saved in instr.lib?
When i delete the project path then it can be found.
The blinking red error says
"Labview: (Hex 0x7) Datei nicht gefunden. Die Datei befindet sich an einem anderen Speicherort oder wurde gelöscht. Verifizieren Sie in der Befehlszeile oder im Datei-Explorer, dass der Pfad korrekt ist."
Also when i change from adapter=runtime to adapter=development it is working.
Thanks
09-08-2023 04:23 AM
Do you have your instr.lib in the TestStand search path list?
09-08-2023 04:58 AM
Yes, inclusive SubDirs
09-08-2023 06:52 AM
No Project Path works with RTE
Project Path works with DevSystem
Did I get that right?
09-08-2023 06:54 AM
Thats correct.
When i change to DevSystem it is working.
09-08-2023 08:16 AM
I remember having seen this before... yet I don't remember the context
Using Google I found https://forums.ni.com/t5/LabVIEW/LabVIEW-runtime-lvproj-and-Teststand-deployment/td-p/3747113
yet this seems to be deployment related.
What is your motivation for defining the lvproj in the module adapter?
09-08-2023 08:28 AM
The reason was that teststand is using the correct file.
Currently, after removing the project path, it is finding and using the wrong Initialize.vi.
09-08-2023 09:12 AM
Valid UseCase!
You've found a strange behaviour there: when trying to reproduce this, I was successful using stuff from instr.lib (independently whether contained in search path or not)
I was not able to reproduce this when using some random code from different directories....
I recommend opening a Service Request at NI 🤔
09-13-2023 01:43 AM - edited 09-13-2023 01:44 AM
Could you please share your findings once you have this problem solved?
09-13-2023 06:04 AM
The workaround is to put the full path in the vi-field.
I dont have a solution 😞