NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW (Hex 0x402) VI Reference is invalid when selecting Run-Time Engine as adapter

I have Modbus Library.lvproj downloaded from :

 

http://www.ni.com/example/29756/en/ 

 

When I use Labview developement system for Labview Adapter configuration, I can call VIs with no problem:

ok.PNG

 

But when I select Labview run time engine for Labview Adapter configuration it says:

 

NOK.png

 

I tried to mass compile Modbus project but it doesn't help. What can I try??

0 Kudos
Message 1 of 7
(3,482 Views)

Hi, 

 

Are you using TS 2019? If so, can you update to TS 2019 f2. We fixed a bug that might give you a better error message.

It is very likely that the VI is missing some dependencies. 

 

Regards, 

Anand Jain

NI

0 Kudos
Message 2 of 7
(3,433 Views)

Hi,

 

I think I have the same behavior in my sequence; i use TS 2029 f3 and LV 2018 SP1 f4.
Have you found a solution?

Regards.

0 Kudos
Message 3 of 7
(2,501 Views)

Does the bitness of your vi match the bitness of teststand?



Remember Cunningham's Law
0 Kudos
Message 4 of 7
(2,445 Views)

Hello,

 

In my case I use NI Modbus Library and  I have also the same error code which is generated from time to time in my sequence.
All my functions are compiled in a LvLibp, and if I retry directly the step works fine.


Regards.

 

0 Kudos
Message 5 of 7
(2,439 Views)

Hi, 

 

Is it possible to post an example code lvlibp that shows the issue with TS 2019 f2? If you prefer, you can message me directly and we can work out an approach to get the files. 

 

Regards, 

Anand Jain

NI

0 Kudos
Message 6 of 7
(2,434 Views)

Hi

 

Is there already a solution here? I am currently facing the same problem.
As soon as I connect a module of the NI MODBUS in Teststand, the reference error occurs under the runtime of Labview.

 

Regards,

Bastian

0 Kudos
Message 7 of 7
(2,292 Views)