Jump to content

String Constant: Difference between revisions

From LabVIEW Wiki
Add new page (stub)
 
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{stub}}
{{stub}}


{{LabVIEW Palette Object Information|palette=Functions Palette/Programming/String{{!}}String palette|type=constant}}
{{LabVIEW Palette Object Information|palette=Functions Palette/Programming/String{{!}}String palette|type=constant|icon=String Palette - String Constant.png}}
 
Use the '''String''' constant to supply a constant text string to the block diagram.
== Usage ==
== Usage ==
{{ambox|text=Specific use cases for this function.}}


== Best practice ==
== Best practice ==
Line 10: Line 11:
* Press '''Shift+Return''' to enable text wrapping at the current cursor position. Note that the string constant will stop growing horizontally when wrapping is enabled. The constant will instead start growing vertically. Press '''Shift+Return''' again, to prevent the string constant from growing further. A vertical scroll bar will appear if the text doesn't fit.
* Press '''Shift+Return''' to enable text wrapping at the current cursor position. Note that the string constant will stop growing horizontally when wrapping is enabled. The constant will instead start growing vertically. Press '''Shift+Return''' again, to prevent the string constant from growing further. A vertical scroll bar will appear if the text doesn't fit.
* Drop a VI onto a string constant to insert the VI name.
* Drop a VI onto a string constant to insert the VI name.


== History ==
== History ==
{{ambox|text=History information is needed.  What changes have occurred over previous versions?}}
{| class="wikitable"
! Version
! Change(s)
|-
|[[File:LV2018.png|frameless|border|64x64px|LabVIEW 2018|link=LabVIEW 2018]]
|More info to come.
|}
== See Also ==
* [[String control]]


== See also ==
== External Links ==
 
{{ambox|text=Add links to external resources that would also help.}}
== External links ==


[[Category:String Palette]]
[[Category:String Palette]]

Latest revision as of 15:01, 8 August 2024

Object information
Owning palette(s) String palette
Type Constant
Requires Basic Development Environment
Icon

Use the String constant to supply a constant text string to the block diagram.

Usage

Best practice

Tips and tricks

  • Press Shift+Return to enable text wrapping at the current cursor position. Note that the string constant will stop growing horizontally when wrapping is enabled. The constant will instead start growing vertically. Press Shift+Return again, to prevent the string constant from growing further. A vertical scroll bar will appear if the text doesn't fit.
  • Drop a VI onto a string constant to insert the VI name.


History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links