Hi Erik,
try to troubleshoot which property node the error is coming from in your code. It is usually a property node with multiple inputs, and the first input (argument 1) is invalid.
I suspect it might be the VISA serial configure; if I remember right, it has a property node with multiple inputs.
Maybe the VISA resource string is empty? corrupted? incorrect? invalid?
Check all the inputs going into the VI; one of them is not what is expected.
In future, attach the VI and the complete error message to help others save time when helping you.
Neville.