UPDATE: I found the issue. Had to close newly opened references in "gs_getdata2d.vi"
First of all, thanks for the library.
I am having one issue though. After about 10 or 15 iterations, the system errors out and the error handling (including closing references) is unable to reset itself. I suspect somewhere, there is a reference that is not closing properly as when I stop the program and restart, everything works again.
Here is the code i'm using for preliminary testing.