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: 

build spreadsheet string from 2 substrings

Hi all
I am trying to concatenate 2 arrays of strings. The first array contains 4 numerical values in string format and the second array contains time value in string format. What I am trying to do is to concatenate (?) these 2 arrays so I can get this : val1 val2 val3 val4 timestr          in order  to produce an excel report ..
                                                                                            val1 val2 val3 val4 timestr
I tried to use the concatenate strings function but i get : val1 val2 val3 val4
                                                                                           val1 val2 val3 val4
                                                                                           timestr
                                                                                           timestr
I attach my vi if anyone wishes to help please do...

Thanks very much
Ioannis

0 Kudos
Message 1 of 8
(3,741 Views)
I have got it to work for you.  You will still need to clean up some of the things no longer needed.
0 Kudos
Message 2 of 8
(3,734 Views)

Hi Tom thanks for the reply. I am running LV7.1 and I can't run your VI...its 8.2...

 

0 Kudos
Message 3 of 8
(3,728 Views)

here is a picture of the changed code.  I don't know how to save to versions earlier than 8.0!

 

Message Edited by Tom Haggerty on 10-18-2007 07:20 AM

0 Kudos
Message 4 of 8
(3,726 Views)

Thanx Tom I'll give it a go and let you know...

 

thanks again

0 Kudos
Message 5 of 8
(3,718 Views)
Here it is in 7.1 just in case.
Jim

LV 2020
0 Kudos
Message 6 of 8
(3,707 Views)
OK guys with your valuable help i got it working..
thanks both of you again...
Ioannis
0 Kudos
Message 7 of 8
(3,696 Views)
I would suggest reconsidering the way you've implemented your code. As it is, you're carrying around 5 arrays in separate shift registers. It seems that all you're doing is appending a string to an indicator. You can accomplish this by simply having a single shift register which is the string, and you simply append a string to it that you can easily build without having to deal with 2D arrays and transpose functions.
0 Kudos
Message 8 of 8
(3,681 Views)