NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

VI not found in instr.lib when using Project path

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

 

 

Download All
0 Kudos
Message 1 of 14
(1,506 Views)

Do you have your instr.lib in the TestStand search path list?

 

Message 2 of 14
(1,477 Views)

Yes, inclusive SubDirs

0 Kudos
Message 3 of 14
(1,464 Views)

No Project Path works with RTE

Project Path works with DevSystem

 

Did I get that right?

Message 4 of 14
(1,444 Views)

Thats correct.
When i change to DevSystem it is working.

0 Kudos
Message 5 of 14
(1,441 Views)

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? 

Message 6 of 14
(1,430 Views)

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.

 

0 Kudos
Message 7 of 14
(1,425 Views)

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 🤔

 

Message 8 of 14
(1,412 Views)

Could you please share your findings once you have this problem solved?

 

0 Kudos
Message 9 of 14
(1,346 Views)

The workaround is to put the full path in the vi-field.

I dont have a solution 😞

0 Kudos
Message 10 of 14
(1,334 Views)