Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How to append (rather than over write) text to a string indicator?

I am displaying incoming data from a serial port to a string indicator but the text is being over written rathe than appensed.

How do I fix this?

Thanks

Ben H
0 Kudos
Message 1 of 4
(5,173 Views)

Not quite sure how to answer since you've posted this to the Multifunction DAQ forum and not one of the language forums. Let's assume that you are using LabVIEW. If that's so, then the simplest is to have shift register with a concantanate string function in it. If you are not using LabVIEW, re-post the question in the appropriate forum.

Message Edited by Dennis Knutson on 10-20-2006 06:34 AM

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

What programing language are you using?  If you are using labview you can use the "Concatenate Strings.vi" in the strings palate.  It is expandable.  If the indicator already has data in it and you don't want to loose it you can read it with a local varaible of the indicator (right click on the indicator terminal and select create local varable -> right click on the local varable and select "change to read").

If you are working in a loop use shift registers to keep the data.

P.S. Subsequent LabVIEW specific questions should get posted in the labview forum.  You will get a lot of feed back there!

0 Kudos
Message 3 of 4
(5,160 Views)
Thank you both for your replies.

It's the first time I have used this forum (only bought Labview a few days ago) and some how I posted my question in the wrong place!

Ben H
0 Kudos
Message 4 of 4
(5,154 Views)