Archived:LabVIEW NXG 5.0 Crashes When Running a VI Originally Developed in LabVIEW NXG 5.1

Updated Oct 20, 2022

NI does not actively maintain this document.

This content provides support for older products and technology, so you may notice outdated links or obsolete information about operating systems or other relevant products.

Reported In

Software

  • LabVIEW NXG

Issue Details

I have a LabVIEW NXG project which was originally created by my colleague in LabVIEW NXG 5.1. Now I am trying to run the VI in that project in LabVIEW NXG 5.0 but as soon as I click the run button it crashes with the below dialogue:
 
image.png

Solution

This is a known issue which occurs while running a VI in LabVIEW NXG 5.0 which was originally developed in LabVIEW NXG 5.1. However, you can use the below workaround before running the VI to prevent the crash: 

1 - Open your project or VI in LabVIEW NXG 5.0. Refer to the block diagram constants and front panel controls and indicators in each of the VI in your project. You could see some string values automatically inserted into all the controls, constants and indicators as shown in the images below.
If you try to delete or change these strings you will notice that these cannot be modified in any way. 

image.png
image.png

2 - Click on one of these controls, indicators or constants. In the Object Properties pane on the right under the Item tab you will see a section labelled as Display format. You will observe that all the fields are by default blank.

image.png

3 - Click on the first box & select Automatic. You will observe that the string inside your control, indicator or constant is removed.

image.png

image.png

4 - Perform this for all the controls, indicators or constants for all the VIs in your project and save the project. You can now run your VIs without the LabVIEW NXG 5.0 environment getting crashed.

Additional Information

Please note that in general LabVIEW NXG versions like LabVIEW versions are not backward compatible. This means that a project or a VI created in a higher version of LabVIEW NXG may or may not run in a lower version. This is because the newer version may have a functionality or a feature which did not exist in the older version. It is recommended to run your project your VI on same LabVIEW NXG version across systems to avoid issues.