John Morrissey Posted October 5, 2006 Report Share Posted October 5, 2006 I need to remove unprintable and extended characters from a string before sending it to a data collection system, but I can't fine an easy way to do it. I can brut force it by breaking down the string and then testing and replacing each character, but there must be an easier way that I'm not aware of. Here's an example of the string I want to process: Any information would be appreciated. John Quote Link to comment
Dan Bookwalter Posted October 5, 2006 Report Share Posted October 5, 2006 I need to remove unprintable and extended characters from a string before sending it to a data collection system, but I can't fine an easy way to do it. I can brut force it by breaking down the string and then testing and replacing each character, but there must be an easier way that I'm not aware of.Here's an example of the string I want to process: Any information would be appreciated. John Will this work for you ? Download File:post-114-1160065874.vi Quote Link to comment
John Morrissey Posted October 5, 2006 Author Report Share Posted October 5, 2006 Will this work for you ? Dan, I forgot to mention I'm using LV 7.0. Is there a chance you can save it in that version? If not, can you give me a screenshot? Thanks, John Quote Link to comment
Dan Bookwalter Posted October 5, 2006 Report Share Posted October 5, 2006 Dan,I forgot to mention I'm using LV 7.0. Is there a chance you can save it in that version? If not, can you give me a screenshot? Thanks, John here it is in LV7 Download File:post-114-1160070159.vi Quote Link to comment
John Morrissey Posted October 5, 2006 Author Report Share Posted October 5, 2006 here it is in LV7 Thanks Dan, I did something similar (see attached), but thought that there must be a way to accomplish it with a native LabVIEW function that I didn't know about. Judging from the responses I've been getting there must not be. I'm an old time LabVIEWer and I often use methods that are out of date. I thought that was the case here. Thanks again, John Download File:post-4375-1160070948.vi Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.