LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Dispaly each character

I need to display each character from a string one by one after a second delay. The string is user input. 

 

Please give me an advice, thanks!

0 Kudos
Message 1 of 5
(1,091 Views)

Hi Jason,

 

there are multiple ways to solve your homework.

What have you tried and where did you fail/stuck?

 

Hints:

Atleast you need a loop and a wait inside the loop. Then you need to read the chars from your string one by one. It would help to know the length of the string, but depending on the choosen way you don't even need to…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(1,053 Views)

I created a loop, this can read each character in an array. But how can I display only one character start from the first letter to the end? 

I attached my VI here. 

0 Kudos
Message 3 of 5
(1,014 Views)

Hi Jason,

 

why don't you just display that single char which you got from StringSubset in your loop???

 

Another approach:

"display each character from a string one by one after a second delay"

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 5
(1,010 Views)

Got it, Thank you so much!

0 Kudos
Message 5 of 5
(1,003 Views)