LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to concatenate decimal interger strings?

I'm trying to concatenate several strings (date, time, string variables and number to decimal string vi (data)), but the concatenate strings vi complains about the wrong input. I've used this same approach before without problems, so why doesn't the concatenate strings vi like having a number to decimal string feeding it? Something simple I'm missing!
Thanks!
0 Kudos
Message 1 of 4
(3,463 Views)
It's impossible. Number to decimal string yields a string output, and this
output is the same data type as concatenate string vi. Can you show the
example?

Cheers,
Louis.

DaveF wrote in message
news:5065000000080000000C590000-1027480788000@exchange.ni.com...
> I'm trying to concatenate several strings (date, time, string
> variables and number to decimal string vi (data)), but the concatenate
> strings vi complains about the wrong input. I've used this same
> approach before without problems, so why doesn't the concatenate
> strings vi like having a number to decimal string feeding it?
> Something simple I'm missing!
> Thanks!
0 Kudos
Message 2 of 4
(3,463 Views)
I cant see a problem with what you are trying to do. I have included an example (in LV 6.0) for you to demonstrate this.

If you are still having problems, then post an example of the problem and i'll have a look at it for you.

Kim
0 Kudos
Message 3 of 4
(3,463 Views)
Thank you ..

The problem was: (1) I had an input inside a structure with a line out to a later structure - fixed that by placing the first input also outside the structure, with a string into both the earlier and the later structures where that data was needed. (2) Apparently I had some old inputs to the concatenate string vi which had not been fully erased - one of the errors said I had multiple inputs, although one or two of the old inputs were not visible on the diagram; apparently the concatenate strings.vi knew about them. With these fixed, it runs fine, records date and time, plus which board is being interrogated, and which port, then the data from that port is recorded to disk continuously.

Thank you for your help.
Dave
0 Kudos
Message 4 of 4
(3,463 Views)