03-27-2024 09:30 AM
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.
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,
03-27-2024 10:11 AM
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.