06-27-2012 09:13 AM
LV2011 SP1: I have found that when I assemble a string to use with the TCP Write VI, I get a different result using the End of Line Constant depending if I am running the project from LabView versus running the project deployed on the cRIO-9101. In both cases, the project is running on the cRIO, but when run from LabView, EOL constant gives a CR LF. When run from startup on a deployment, I get only an LF. I have worked Arturo the issue by explicitly replacing my EOL constants with a CR and LF on my Concatenate Strings block.
On an earlier version of LV (9.6), I did not have this problem with the same target. The discrepancy has only occurred since upgrading the program to LV 2011.
Any ideas?
Solved! Go to Solution.
06-28-2012 09:00 AM
This symptom may have been related to a mismatch in cRIO firmware (LV2011) and development software (LV 2011 SP1).
06-28-2012 11:10 AM
Hi Ken, as noted here:
http://zone.ni.com/reference/en-XX/help/371361H-01/glang/end_of_line_constant/
The EOL constant is platform dependent so it will vary from platform to platform.
DylanC
06-28-2012 11:55 AM
DylanC,
I understand that, but it doesn't explain why it would have one meaning when running targeted and another when running deployed.
06-28-2012 12:16 PM
Hi Ken,
I have found a CAR (Corrective Action Request) #148678 that describes this issue. There is currently no patch/release that fixes this yet but the current workaround is to concatenate the two manually, as you have done. I apologize for any inconvenience this has caused.
DylanC