String Constant Style

From LabVIEW Wiki
Jump to: navigation, search
String Constant Style

String Constant Style is a VI Analyzer test installed by the LabVIEW VI Analyzer Toolkit add-on. It checks the style of string constants on the block diagram. String constants containing no characters and string constants set to Normal Display that contain only white space - such as spaces, tabs, or line feeds - fail the test.

Explanation

String constants that contain no characters should be replaced with the Empty String Constant.

String constants that are set to Normal Display and contain only white space, should be set to '\' Codes Display to improve block diagram readability.