String

Double Array to String Array

Converts an array of doubles into an array of strings with the specified precision.

Double to String

Converts a double into a string with the specified precision.

Format Single

Format a single precision number for readability in 10 characters or less.

MGI String find return

Return the number of characters from the "Offset In" to the next line return in "Line Length". "Offset out" is set to one character past the found line return. If no line return is found, -1 is returned in Offset out and the remaining string length in Line Length.

MGI_Backslash Decode

Decodes all backslash preceded characters.

MGI_Backslash Encode

Encodes all special characters (e.g. return, space, non-printable characters) and any additional specified characters with a preceding backslash. This will produce a string very similar to LabVIEW's '\' Code Display. strings in Additional Chars array should all contain 1 character, non-white space, printable strings.

MGI_Make String Filesafe

Remove characters that are not allowed in File or Folder names.

MGI_Split Encoded String at Non-encoded tokens

Breaks an encoded string into an array of string segments. Each segment is either token or an encoded string portion. Tokens that are backslash encoded are ignored. For example, if the token was _, then the string "Hello\_World_!" would return the segments: "Hello\_World", "_", "!"

Obscure String

Convert a string to its bitwise inverse so that it won't be human readable. Apply again to recover the original string.

Pad String

This VI adds as many pad characters as necessary to String In to give it a length of End Length.

Remove Trailing Spaces

Remove trailing spaces, if any, from string.

Split String

This VI splits String at Index and returns String after Index and String before Index.

Update Log

This VI is designed to be used to update a string "log" residing on a shift register. It adds a properly formatted new line to the log with timestamp, spacing, and linefeed. It also optionally limits the size of the log to the specified number of characters by deleting the oldest characters from the log.