ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

add strings

Solved!
Go to solution

I want to create one large string from an array of strings. Each string in the array is 16 characters and the array has 30 elements, so I want to create one string that is 480 characters long. Attached is a VI showing an approach that I think will work but I would like to know if there is a better approach.

 

I need the long string because I have to calculate a CRC-32 value.

 

Thank you,

Chuck

0 Kudos
Message 1 of 7
(4,782 Views)
Solution
Accepted by chuck72352
Index array is stretchable for more outputs, and the indices increment themselves automatically starting at 0 by default if nothing is wired to them.
 Concatenate strings will take in an array of strings as well as individual strings.
Message Edited by Ravens Fan on 03-13-2010 01:00 AM
Message 2 of 7
(4,777 Views)

In the "what you should be doing" approach, what is the function that you're using?

 

Thanks,

Chuck

0 Kudos
Message 3 of 7
(4,745 Views)
I just found it, "concatonate string"....thank you!
0 Kudos
Message 4 of 7
(4,742 Views)

Hi mohansagar,

 

why do you:

- attach a proprietary file format instead of plain pics?

- why do you link pictures residing on your local PC?

- why do you suggest to convert an array to a cluster to unbundle elements to build a string? A much easier/better solution was already suggested before…

 

Who is kudoing such suggestions?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 7
(4,621 Views)

GerdW wrote:

Who is kudoing such suggestions?


The OP kudoed the response.

Richard






0 Kudos
Message 7 of 7
(4,608 Views)