Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
6 rating:
 1.66 out of 5   

FAQ on Error Code 1073.



Hardware: PXI/CompactPCI>>Controllers, PXI/CompactPCI>>Controllers, PXI/CompactPCI>>Controllers, PXI/CompactPCI>>Controllers, PXI/CompactPCI>>Controllers, PXI/CompactPCI>>Controllers, PXI/CompactPCI>>Controllers, PXI/CompactPCI>>Controllers, PXI/CompactPCI>>Controllers, PXI/CompactPCI>>Controllers, PXI/CompactPCI>>Controllers, PXI/CompactPCI>>Controllers, PXI/CompactPCI>>Controllers, PXI/CompactPCI>>Controllers, PXI/CompactPCI>>Controllers, PXI/CompactPCI>>Controllers, PXI/CompactPCI>>Controllers, PXI/CompactPCI>>Controllers, PXI/CompactPCI>>Controllers, PXI/CompactPCI>>Controllers, PXI/CompactPCI>>Controllers, PXI/CompactPCI>>Controllers, PXI/CompactPCI>>Controllers, PXI/CompactPCI>>Controllers, PXI/CompactPCI>>Controllers, PXI/CompactPCI>>Controllers, PXI/CompactPCI>>Controllers, PXI/CompactPCI>>Controllers, PXI/CompactPCI>>Controllers, PXI/CompactPCI>>Controllers, PXI/CompactPCI>>Controllers, PXI/CompactPCI>>Controllers

Problem:
Why Does LabVIEW Generate Error Code 1073?

Error Message:

Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
Error 1073 occurred at 'Path to VI'. Possible reason(s): This property is writable only when the VI is in edit mode, or this method is available only when the VI is in edit mode.


Solution:
This KnowledgeBase article covers many circumstances where error 1073 can be generated.

In summary, please read the following list below:

  1. Does the LabVIEW code contain Express VIs?
  2. Has the block diagram been removed for the VI when building an application?
  3. Other Considerations and Known Causes.

Does the LabVIEW code contain Express VIs?

LabVIEW contains many Express VIs, such as Prompt User for Input or Display Message to User.

If you have developed code in a previous version of LabVIEW and then attempted to use the VIs in a newer version of LabVIEW error 1073 may be generated.

When the front panel of the Express VIs are opened, it can be seen that the VIs are broken. To resolve the error the Express VIs must be updated manually by replacing the current Express VI with its equivalent in the newer version of LabVIEW. Once replaced, the EXE or VI will be successfully generated.

Has the block diagram been removed for the VI when building an application?

Removing the block diagram of VIs by going to File»Save with Options»Remove Diagrams causes the Application Builder LabVIEW 7.0 to generate error 1073.

LabVIEW 7.0:

In LabVIEW 7.0 changes were made to the Application Builder which require a VI to have a block diagram.

The reasons for the change was to accommodate building executables for LabVIEW RT. The changes require mass compiling the VIs before building the executable. VIs without block diagrams can’t be mass compiled, and hence error 1073 is generated.

To resolve this issue confirm that both the main VI and all subVIs have not had their block diagram removed.

Note: Block diagrams that have been removed cannot be recovered. Instead of using the hide block diagram feature consider using a password to acheive the same results.

However if the block diagram has already been removed the fix is, to add the following line to the LabVIEW 7.0\labview.ini

file:BldApp.RemovePolyVIsandTypedefs=False

You will also need to replace a VI in the Application Builder. 

    1. Open LabVIEW » Tools » VI Library Manager.
    2. Navigate to ..\National Instruments\LabVIEW 7.0\project\prodisttool.llb .
    3. Rename Dist Chg and Save VIs.vi to something else like Dist Chg and Save VIs--original.vi. This allows you to undo changes to Application Builder in the future.
    4. Insert the attachment below, Dist Chg and Save VIs.vi, into prodisttool.llb.
    5. Exit and restart LabVIEW

LabVIEW 7.1:

In LabVIEW 7.1, support was added to build executables out of VIs with no block diagrams. If you receive error 1073, you simply need to follow the instructions in the error message:

    1. Hit Continue on the error dialogue shown below.
    2. Select the Application Settings tab of the Application Builder.
    3. Deselect the Disconnect type definitions and remove unused polymorphic VI instances checkbox.

Other Considerations and Known Causes:

  1. When installing LabVIEW it has been seen that all the VIs in vi.lib had their block diagrams removed. The solution was to re-install LabVIEW. To achieve best results use the windows Add/Remove ulitily or contact your local NI Support Office for further guidence.
  2. Changing the label of a control at run-time using a property node generates error 1073. Refer to KnowledgeBase 357CRM5L: Programmatically Changing the Label for a Control or Indicator in LabVIEW for more information.
  3. When editing the LabVIEW ini file make sure LabVIEW is closed first.


Related Links:
KnowledgeBase 357CRM5L: Programmatically Changing the Label for a Control or Indicator in LabVIEW

Attachments:
Dist Chg and Save VIs.vi




Report Date: 12/04/2008
Last Updated: 04/28/2014
Document ID: 4S39HCCX

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit