LabVIEW Crashes on Linux OS When Using Create Text With Alignment VI

Updated May 26, 2026

Reported In

Software

  • LabVIEW
  • NI Linux RT System Image

Issue Details

When running a VI on Linux that calls a Create Text with alignment.vi, LabVIEW crashes unexpectedly. The crash occurs at runtime when the text rendering engine attempts to apply alignment attributes that are not natively supported by the Linux graphics subsystem in the same way they are handled on Windows.

 

The crash does not occur on Windows using the same VI. This may happen on Linux with the basic examples provided with LabVIEW IDE as they contain the VI natively. 

Solution

The recommended workaround is to create a replacement VI by modifying a Create Text.vi so that it internally matches the implementation of Create Text With Alignment.vi. This ensures that text alignment is processed through a Linux compatible rendering path.

 

Complete the following steps to create the replacement VI:

  1. Open the Block Diagram of a VI. Right click to open the Functions palette, then navigate to Graphics and Sound->3D Picture Control->Geometries, and select Create Text.vi.
  2. After placing the VI on the Block Diagram, double click the block to open its Front Panel.
                                                             
  3. To match the Create Text With Alignment.vi functionality, add the following controls to the Front Panel:
    • DBL numeric control for the Text Height value,
    • Cluster control containing two Alignment enum controls for the text alignment options,
    • one Alignment enum control for the Axis Alignment,
    • one Boolean control for the Vertical Flip option,
    • one DBL numeric control for the Wrap Distance value.

  4. After adding the Front Panel controls, switch to the Block Diagram.
                                                   
  5. On the Block Diagram, separate the cluster elements by navigating to the Functions palette->Cluster, Class and Variant and selecting Unbundle By Name. Connect the Front Panel Options Cluster to the Unbundle By Name function.
  6. Expand the property node attached to Scene Text and add the following properties: Alignment, Vertical Alignment, Horizontal Alignment, Axis Alignment, Vertical?, Wrap Distance, and Char Size.
  7. Connect all the unbundled values from the Front Panel controls to their corresponding properties on the Scene Text property node.

After completing the modification, verify the fix by running the VI on your Linux target. Test with all three alignment values (Left, Center, and Right) to confirm full compatibility and that no crash occurs.

Additional Information

Additional Information

  • This guide is for recreating te Create Text With Alignment.vi it should be understood that you are able to remove properties and features if needed but it should be done with the understanding of the functionality of the removed options, please also note that this may cause additional errors if wired improperly.
  • This issue has been reported to NI R&D. A permanent fix may be included in a future LabVIEW release.
  • Modifying Create Text.vi does not affect other VIs in the vi.lib palette. However, it is recommended to keep a backup of the original VI before making changes.
  • If your application calls Create Text.vi through a polymorphic VI, ensure that the correct instance is updated.
  • After modifying the VI, you may need to clear the LabVIEW compiled object cache and mass compile the project to ensure the changes propagate.
  • Windows is not affected by this issue  Create Text.vi functions correctly with alignment parameters on Windows targets.
  • A version of the Replacement VI is provided under Files, there are 3 LabVIEW versions attached, one for LabVIEW2026Q1, LabVIEW2025Q3 and finally LabVIEW2020.