From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-27-2015 01:29 PM - edited 07-27-2015 01:30 PM
@Hooovahh wrote:
I wonder if this is an example of Cunningham's Law.
"The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer."
It might be, but regardless it is heck of a lot better then asking a question and showing no answer.
Also, Jimmy I am just using this code in a larger program, that I do not think I post, where there is some user input.
And thanks Raven for the snippet. Also, in that snippet what is defined as empty? Is it defined as any string or character that has a value that is greater then zero?
07-27-2015 02:33 PM
Any string that has a length greater than 0 is NOT EMPTY and gets included in the output array.
I used a special feature of the concatenate function that converts an array of strings into a single string. If the length of the that is greater than 0, then 1 or more of the original array elements must have had some characters in it, and that row will be used in the new array.
07-27-2015 03:52 PM
I'd go with this.
08-16-2018 01:22 AM
Hi,
Thanks for the code, Can you pls attach the same code for reference.
08-16-2018 01:41 AM
@vamshikrishna wrote:
Hi,
Thanks for the code, Can you pls attach the same code for reference.
This is quite an old thread and it is not clear which code you want. In any case, most of the images above are "LabVIEW snippets", so you can drag them into the diagram and they will turn into functional LabVIEW code.
08-16-2018 06:39 AM
I tried the same but only image is coming into the block diagram. i was looking for attached image LabVIEW code.
08-16-2018 11:05 AM
It would be faster to just recreate it from scratch. It is also a good exercise.
(several things could be done differently, but this is sufficient)