02-17-2013 04:29 PM - last edited on 02-18-2013 09:21 AM by JordanG
Hello ppl,
I wanted to post it because it took me a while to do this thing. I have array with spaces and I make 2D array. For instance:
?NM 100.0 ok ->
?NM
100.0
ok
Take a look. maybe somebody will find it helpful.
Solved! Go to Solution.
02-17-2013 04:55 PM
02-17-2013 04:57 PM
02-17-2013 05:00 PM
can you please give me an example?
thanks
02-17-2013 05:01 PM
that's what I have in the exit of the device. I need to check if there is ok there and the wavelength number...
02-17-2013 05:05 PM
all is lack here is after your string should be Trim white space.vi and then it works good. 🙂
02-17-2013 05:05 PM
There is a primitive for empty string and your array building can be replace by an autoindexing tunnel at the loop boundary.
Also, your code does NOT make a 2D array but a 1D array. What do you actually want to achieve?
02-17-2013 05:18 PM
nothing to achieve only to share my solution.. because I searched in internet and found nothing.
02-17-2013 05:33 PM
02-17-2013 05:40 PM
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".