02-17-2013 05:49 PM
@dimani4 wrote:
if you want to remove it.. remove it.. I didnt find that option here... just I've searched through the internet and didn't find nothing to answer my needs. I didnt know about that primitive function that you've mentioned.. now I'll know.... sorry for bothering with my "good will".
remove what?
What did you search for?
What are your needs?
it is still completely unclear what you actually try to do.
02-18-2013 12:17 AM - edited 02-18-2013 12:45 AM
ok... let me explain:
yes, I did mistake ; I didnt write right my topic: it should be: split 1D array of string with spaces into segments.
I've searched for that kind of thing that would do like:
?NS 120.0 ok ->
?NS
120.0
ok
and by the way I found (too late) what I need in another post: http://forums.ni.com/t5/LabVIEW/Scan-String-Token-Problem-with-leading-Tokens/m-p/2170672#M698499.
02-18-2013 02:34 AM
sorry once again.. but I found something interesting: my specific device (ACTON 275) gives me at output something like: ?NM 120.0 ok.. i.e. after 120.0 there is two spaces and this example (http://forums.ni.com/t5/LabVIEW/Scan-String-Token-Problem-with-leading-Tokens/m-p/2170672#M698499) will not work; it will not gives back ok but the while loop option will work; so my case is for the cases if between the solitary strings there are one two or more spaces between the solitary strings like: "?NM 120.0 130.1 67 68 89" and etc. it will give the
?NM
100.0
130.1
67
68
89
this case just scans till the end of the string and gets out all the values that 1D string has.