LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI PID library on RT target : version not matching

Hello,

  I am running into an issue where my LabVIEW code is needing to recompile every time I run it on my RT target. This prevents me from connecting to my target (cRIO) while VI's are running. It forces me to stop all code every time I reconnect. It seems that the NI_PID_pid.lvlib is the culprit.

1. I tried to create a packed library from the NI lvlib, but that's a no go.
2. Then I tried to manually select the polymorphic VI types, didn't change behavior.
3. Then, I tried to move "NI_PID_pid.lvlib" from dependency folder into project folder under my RT target. Also, didn't work.

CoreyRotunno_0-1711549088526.png          CoreyRotunno_1-1711549442360.png   CoreyRotunno_3-1711549568007.png

If anyone has any ideas how I might fix this behavior, it would be hugely helpful. I suspect it might be some software environment differences between PC and RT target? No other libraries detect any differences though, so I am at a loss. I tried best I could to make sure everything matches, but I am hoping I just missed something.

Thanks,

 

 

 


Corey Rotunno

0 Kudos
Message 1 of 2
(283 Views)

I found a solution that I'm hoping is temporary, so I will not mark this as solved.

Making a copy of the entire "NI_PID_pid.lvlib" and using VI's from the copy instead of the lvlib from vi.lib folder seems to have resolved my issue. Seems like kind of a hacky way to do it though.


Corey Rotunno

0 Kudos
Message 2 of 2
(270 Views)