There are modbus example VIs and projects. You could try starting with one of those and seeing if you get the same error.
The specific error text may help point you in the right direction. You can right click the error indicator and select "Explain Error" for more detail.
Is "Highlight Execution" on every time it runs? That would slow things down.