Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Has Caption Property

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Short Name: HasCaption

Requires: VI Scripting

Class: Control Properties

To Use: Create a property.

Returns TRUE if the control has a caption.

A control has a caption after you complete one of the following actions:

  • Display the caption by right-clicking the control and selecting Visible»Caption from the shortcut menu.
  • Programmatically get or set the caption text by using the Text property of the control.

Note  LabVIEW continues to store the caption for the control even if you hide the caption or use the text editor tool to delete the text of the caption. This behavior enables LabVIEW to display the caption if you choose to make it visible again. Therefore, this property continues to return TRUE for hidden captions.

Remarks

The following table lists the characteristics of this property.

Data type
PermissionsRead Only
Available in Run-Time EngineYes
Available in Real-Time Operating SystemYes
Settable when the VI is runningNo
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access allowedYes
Must wait until user interface is idleNo
Available with control VIsNo
Available with global VIsNo
Available with strict type definitionsNo
Available with polymorphic VIsNo

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit