Hi Jonas, it's an object oriented library, so sometimes the function that gets called depends on the class of the wire at the input. In your case, it should be "Modbus Master.lvclass" because that is what you're creating at the beginning of your program.
Were you able to verify that the inputs are non-zero when looking at the correct function? Can you go inside the function where the error is generated to narrow it down?