Does it crash during running or really crash only when you try to close the VI after running? Do you get any error message?
I cannot test your code, because I don't have these drivers, but here are a few hints:
The problem is most likely with the drivers and the way you communicate with the scope. Maybe the second frame starts too fast? You have these delays between the write and read nodes (why two in a row???), but none between the frames.
Maybe you need a nother delay between the two frames?
There is also no error cluster connection between the two frames.
One of the problems with your VI is the fact that large sections of identical code is duplicated in thwo sequence frames for no reason. Your main code segment is called twice with a different string input. Why don't you put it in a FOR loop, autoindext with a string arrray containing the two inputs and autoindex the result on the right loop boundary. Seems much simpler and avoids duplication of code.
The attached quick modification shows what I mean. Let me know if you have questions.