LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

String Operations

Solved!
Go to solution

Hey all,

 

Help needed to optimize the attached vi.. Suggest me any better idea?

0 Kudos
Message 1 of 5
(2,685 Views)

You could combine all the Concatenate String primitives into one large one.  Is suspect that the compiler is smart enough that you would not see much difference in performance.  I prefer to only put one instance of a constant on a diagram and wire it to all the places it is used.  Then if you need to change it, you only need to do so once.

 

What you have is easily read.  The combined concatenation has lots of wires and may not be as clear.  This is your choice.

 

Lynn

 

Concatenate.png

0 Kudos
Message 2 of 5
(2,680 Views)
Solution
Accepted by Stephen.J

I am a Format Into String fan myself:

 

FormatStringHelp.png

Message 3 of 5
(2,673 Views)

Can you post this in 8.6.

0 Kudos
Message 4 of 5
(2,664 Views)

@Stephen.J wrote:

Can you post this in 8.6.



Not Needed..  Thanks Darin

0 Kudos
Message 5 of 5
(2,654 Views)