06-10-2025 10:55 AM
I program a serial modules for different function with same pattern and export them to packed library,
then try to get the reference and run them.
but there’s issue with the type specifier VI Refnum input, the pattern input is black. the the error 1031 occur, what's wrong with it.
06-10-2025 11:56 AM
Well without seeing all the code for everything involved it's really hard to know with certainty.
Packed libraries should have everything in them they need with the exception of code from other packed libraries.
This does mean that things inside the code change their type names and can get out of sync with external types if you don't keep all your libraries synced and always compile parent libraries before child ones.
So, best guess is that you're using a connection pane referencing a type that isn't currently found in memory, so it gives you the error indicating a connection pane mismatch and shows a black connection input since it doesn't know what color the type wire's main color should actually be.