NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
ctgn787
Posts: 3
0 Kudos

TCP read funtion for LFCR instead CRLF

I need to implement a VI that has the same behaviour as the CRLF mode of the TCP read function but with LFCR (Line Feed followed by Carriage Return) instead of CRLF.

Knight of NI
Posts: 18,064
0 Kudos

Re: TCP read funtion for LFCR instead CRLF

That's not supported by the standard function, so you'll need to roll your own. I.e., read bytes until you see the sequence LFCR.

Member
ctgn787
Posts: 3
0 Kudos

Re: TCP read funtion for LFCR instead CRLF

i realized that the TCP read only has the CRLF mode. Any suggestion on how I can accomplish it in LFCR mode?

Proven Zealot
Jeff·Þ·Bohrer
Posts: 5,332
0 Kudos

Re: TCP read funtion for LFCR instead CRLF

The internet toolkit telnet API allows a read until line end mode simply use LFCR as the line end


"All shall be well and all shall be well and all manner of things shall be well" -Julian
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page