02-27-2017 08:36 AM
I'm sure I could fix it. It's a native LabVIEW vi though. I would think they would fix it for everyone, or tell me something I'm missing about using it correctly.
02-27-2017 08:49 AM
What is the last line in your reply?
220 *** alternate storage. ***
so yes there is at line with 3 numbers following a space.
Can you show us a probe of what you are seening?
03-01-2017 03:56 PM
That is from a probe. I didn't say there wasn't any line that was ### space, I said if it's not the first line the pattern won't match it because it's anchored to the start of the offset with a ^
I have snippets showing everything a few posts up.
03-02-2017 02:28 AM
If it is the TCP Read xTP Reply.vi.png that you are talking about, the you don't understand the code.
The TCP function will read every single line, one line at a time.
The will loop will only stop if there is an error or if the line read matches the expression.
Now your last line will match, and will stop the while loop.
So unless you get another error, the FTP Open should work and your reply code out of the vi should be 220.
You need to find out where that error is coming from, place some more indicators around your code, and show us the values in the indicators.
If the code is locked in one vi, take a picture of the code were and when it is locked.