LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I simplify this?

hello all

My problem is following:
I have a cluster and from the individual fields of the cluster I have to create a string where all values are seperated by a semicolon. How can I simplify that? see picture: the part on the right side.

Thank you all for your help!
0 Kudos
Message 1 of 3
(2,523 Views)
Sebastian;

What you are doing is ok (it works!)

An alternative is to use the "Format Into String" VI. Attached is an example

Regards;
Enrique
www.vartortech.com
Download All
0 Kudos
Message 2 of 3
(2,523 Views)
To expand on your other response, the format to string is the preferred way of formatting a long string such as in your example because it's a lot easier to see what the formatting is doing, and the code takes up a lot less space.

You especially notice the difference when you go to format a long string like an error message or a text report where you are inserting many different values.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 3 of 3
(2,523 Views)