Jump to content

How to eliminate "\n" at the end of serial buffer?


Recommended Posts

Posted

I use labview to read data from com1, then tranfer to Byte array and write to a Byte Steam File,.But at the end of buffer there is always a "enter".

How can I eliminate the "enter"?

OR replace it with "tab"?

Thanks! :question:

Posted

Use the search and replace tool (String Palette). Wire "\n" as search and leave the replace unwired (it will replace with a NULL string). Wire the TRUE if you want to replace all the \n's.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.