What Are the Most Common VI Server Errors?
Primary Software: LabVIEW Development Systems
Primary Software Version: 7.1
Primary Software Fixed Version: N/A
Secondary Software: N/A
What are some of the most common VI Server errors, and how can I resolve them?
Listed below are some of the common VI Server errors and their solutions.
Error 1000: The VI is not in a state compatible with this operation
The state of a VI reflects whether the VI is reserved for running. When a VI is reserved for running (or is running), you cannot edit it.
VI class references do not reserve the VI for running. You can edit the VI in this case as long as the VI is not actually running. You also can open both a strictly-typed and a VI reference to the same VI, but the use of editing methods and properties is subject to the conditions above.
Error 66: The network connection was closed by the peer
The network connection might have been closed by someone, or LabVIEW is not configured to allow you to be a client. In the second case, you must configure the VI Server to give you the appropriate permissions by selecting Tools»Options (or Edit»Preferences in LabVIEW 5.x) as shown below.
Error 1044: The VI is locked
When running as a standalone application, a Property Node in the VI might return error 1044, which causes the called VI not to be opened and the application to run incorrectly. However, the application runs correctly in the development environment. You might experience this warning with various different properties, such as
This error can occur when you use an Invoke Node and the
This error can occur when the specified file path is not correct. Double-check the path you entered. Make sure you are using
Error 1003 : LabVIEW VI is not Executable
This error can occur when the VI cannot locate its subVI's in the location they were when the VI was developed. Typically this happens when a VI is called from an executable on a machine with just the LabVIEW Run-Time engine installed, but it can happen on any machine that doesn't have all of the subVI's in the exact directory structure as the development machine.
Error 1040: VI is password protected.
This error can occur if VI Server is used with a VI that has a password protected diagram. If the desired VI has a password-protected diagram and you want to edit it, then you must specify the password in the Open VI Reference VI by wiring the password into the password input. If you enter an invalid password, the VI will return error 1040 and an invalid VI reference.
Note: If you encounter a VI Server error not described in this document or anywhere else in the KnowledgeBase, please submit the error number in the feedback form below.
KnowledgeBase 28PCDAB5: Why Am I Getting Error 63 When Using VI Server to Launch VI on Remote Machine?
KnowledgeBase 268B8SXQ: Error 1003 When Using VI Server in a LabVIEW Application
KnowledgeBase 1HSEC18U: Why Do I Get Error 1032: VI Server Access Denied When Using the All VIs In Memory Property?
KnowledgeBase 2QEGGE8O: Why Do I Get Error 1000 When Attempting to Abort a VI Through VI Server?
KnowledgeBase 4BHE9JMY: Why Do I Get Error -1043 When I Run My LabVIEW Executable?
Report Date: 04/19/2001
Last Updated: 10/30/2015
Document ID: 28IAHMDM