Error 1320 When Setting a Caption Property

Updated Jan 4, 2019

Reported In

Software

  • LabVIEW 8.0.1 Base

Issue Details

When trying to write to or read from a Caption Property Node for a control on my front panel, error 1320 pops up saying:

In edit mode, LabVIEW cannot return a property for a control part that you have not yet created.

Solution

By default, a Caption is not created and no memory is allocated to it. Therefore when you try to programmatically set or read from a Property Node that references the Caption you get an error during run time. The way to fix this is to just create the Caption before the program runs. To do this, right click on the control, go to Visible Items, then select Caption.

Captions can be generated for multiple items at the same time by selecting all desired items before setting the caption to visible. However, captions cannot be set to visible by default, and they cannot be created programmatically.