Subroutine priority VI cannot call a non-subroutine priority subVI

This VI has subroutine priority selected in the Execution page of the VI Properties dialog box, which means that it blocks the execution of other VIs on the same thread until it and all its subVIs finish executing. However, non-subroutine VIs should block only VIs of lower priority. Hence, subroutine VIs may call only other subroutine VIs.

To correct this error, you can change the execution priority of the VI to non-subroutine priority, change the subVI to subroutine priority, or remove the subVI.

To change the priority of a VI, right-click the icon in the upper-right corner of the VI front panel or block diagram and select VI Properties from the shortcut menu to display the VI Properties dialog box. Select Execution from the top pull-down menu of the VI Properties dialog box and change the priority in the Priority pull-down menu.

To change the priority of the subVI, double-click the subVI icon on the block diagram to open the front panel, then select File»VI Properties and change the priority on the Execution page.