@mentanto wrote:
This work in my aplication I hope it serves you!
That's overly complicated. With the VISA Configure Serial Port, you can enable a termination character (i.e. a carriage return). A VISA Read will automatically terminate when it is detected. So, for the VISA Read, you can simply specify a high number for the byte count. It will return the entire string. Also, consider using a single Scan From String instead of the multiple Match Pattern, String, Subset, etc.