Limit to Single Line

Complete the following steps to configure a string constant, control, or indicator to limit the contents of the string to a single line.

  1. Right-click a string constant, control, or indicator and select Limit to Single Line from the shortcut menu. This option prevents you from entering a carriage return in a string control or indicator.
  2. Copy a multiline string and paste the strings in the string control or indicator. When you paste a multiline string into a string object that only allows a single line, LabVIEW pastes only the first line.

You also can use the Limit To Single Line? property to programmatically prevent entering a carriage return.