キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

multiple strings input to single string output

解決済み
解決策を見る

Dear all,

 

 

this program is needed for my demo simulation purposes, I'm creating several string inputs to show into a single string output updating (input strings are shown in each line). i attached the picture below, put 2 output strings w/c both doesn't meet my desired result:

1.) 1st string output - replace the old string w/ new string. what i need is to maintain also the previous strings. the new string will go to the next line.

2.) 2nd string output - although i got all the strings i needed, it only appears right after the while loop terminates, so i did not see the string inputs updating.

 

i'm using LV 8.5.1., any help is appreciated... posting your correct code will be more appreciated.スマイリー とてもハッピー

 

thanks in advance...

 

1.jpg

Ivel R. | CLAD
0 件の賞賛
メッセージ1/5
5,647件の閲覧回数

here's my code for anyone to see the actual difference.

 

thanks,

Ivel R. | CLAD
0 件の賞賛
メッセージ2/5
5,644件の閲覧回数
You need to store the string in a shift register.  On each iteration of the loop, concatenate the new string to the old string that is stored in the shift register.  Send it back to the shift register and to the string indicator.
メッセージ3/5
5,636件の閲覧回数
解決策
トピック作成者ivelsonが受理
You could also use a Feeback Node. Note that you can use the Format Into String function to  create your lines.
メッセージ4/5
5,631件の閲覧回数

to ravens fan & smercurio_fc,

 

 

hey, thanks for the answers. it is now working. my problem looks very very easy to all of you.

 

to smercurion_fc,

 

in addition to your code (thanks for posting the correct code), i just add another string input (line feed function) so my output will be in each line formation. i did'nt really know this "format to string" function before... thanks for your efforts.

 

 

Ivel R. | CLAD
0 件の賞賛
メッセージ5/5
5,614件の閲覧回数