05-03-2016 11:26 PM - edited 05-03-2016 11:28 PM
So when you said in your first message that you wanted to overwrite the message, you didn't actually mean that since you now say you want to concatenate.
Concatenate those two together and put them in one string indicator. Your VI shows you already know how to concatenate strings.
I don't understand why you needed to ask the question.
05-03-2016 11:29 PM
I don't want to concatenate them. I want to overwrite the old values.
05-03-2016 11:31 PM
But you just said you wanted to merge and concatenate them. So what do you actually want?
05-03-2016 11:34 PM
I have two strings, I want one string.
05-03-2016 11:36 PM
Then just use a local variable as was suggested earlier.
Have you taken the LabVIEW tutorials? Because I'm quite sure they are mentioned in there.
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours
05-03-2016 11:38 PM
At the same time I was told to *not* use local variables.
05-03-2016 11:41 PM - edited 05-03-2016 11:44 PM
This is one of those times where it would be appropriate to use a local variable. Even Bob said in message 3 that many "LabVIEW practicioners would say (Almost) never use a Local Variable'". He didn't actually say never.
Now I'm not sure why you have the laser 2 indicator inside the for loops since you are going overwrite the values every loop iteration. It will flash A B A C A D. Where A is the initial string and B C and D are the new strings that show up on every iteration. I would just move the local variable outside the loops so it would show A B C D. A to start and B C D .... on each iteration of the loops.
05-03-2016 11:49 PM
Okay, I can use a local variable. But I still don't know how I can change it from two different sources.
05-03-2016 11:52 PM
Never mind, I figure it out. I can do more than one variable. That solves my problem. Thanks for the help!
05-03-2016 11:53 PM
Right click the terminal. Create Locat Variable. Change it to Write mode if necessary. Wire the other source to that and delete the extra Laser 2 indicator.
Please take those tutorials. This is basic LabVIEW.