LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read Serial Data

ritesh024,

That is very interesting since a string in C programming is a one-dimensional array of type char, with a \0 termination?  I never noticed that LabVIEW is different in this regard.

Thanks for pointing that out with such a simple exampleSmiley Very Happy -SS




0 Kudos
Message 11 of 13
(507 Views)
Hi !
 
Here you have another one using less code than my previous post... it's added to that one for you to compare.
 
Robot wink
0 Kudos
Message 12 of 13
(496 Views)
I don't know if it matters, but looking at the VI MKES posted, I did a quick performance test.  As expected the String subset appears to be slightly faster, but of course to see that requires a long string and a lot of iterations.  Food for thought if you have a ton of strings to process this way.
0 Kudos
Message 13 of 13
(484 Views)