String Utils library for LabVIEW is a small step forward in making applications scalable and maintainable. Two of the VIs: Container To String.vi and Format Container Into String.vi has been presented below.

What limits already build-in LabVIEW functions is the fact that their interface must be manually resized every time when number of input items changes. In String Utils library VIs accept variants at the input, which makes your application more maintainable. For example:

Resulting string: 1; 123.000


Another good news about String Utils is that it supports almost all built-in data types. Including containers. Lets have a look:

Resulting string: [[1.000000, 2.000000, 3.000000], [6.000000, 7.000000, 8.000000]]


Those, who are familiar with Python may notice that array above has been represented in Python-compatible format. This is also true for many other data types. For instance LabVIEW clusters with named elements became Python's dictionaries:

Resulting string: {'foo': 123, 'bar': False}


In turn LabVIEW clusters with unnamed elements became Python's sets:

Resulting string: {123, False}


This way, String Utils library plays important role in LabVIEW & Python integration.

More examples on how to use aforementioned VIs can be found here and here. Information on remaining VIs in String Utils library can be found in documentation.

Library itself is free and open source. It can be downloaded from github.