Hi Vincent,
I was able to recreate your issue here and realized that the problem occurs in LabVIEW even without a call in TestStand. This behavior occurs because the Call Library Function Node is set to Run in UI Thread. This means that you cannot access the library until the last call to the library has finished. This can be fixed in two ways. First, you can add a wait just like you have tried to make sure that LabVIEW finishes accessing the library before calling it again. However, this may create undesirable delays in your program. The other option is to set the call to be Reentrant. Just double-click the Call Library Function Node and select Reentrant from the selection box on the right side. I used this option and ran the TestStand sequence with no trouble. However, depending on your application you may not want to use reentrant. Reentrant actually loads multiple copies of the library into RAM so some changes made by one application may not be "seen" by the other. However, if your TestStand application and LabVIEW application do not depend on the same variables, I would suggest changing the Call Library to be Reentrant.
Thanks,
Caroline
National Instruments
Thanks,
Caroline Tipton
Data Management Product Manager
National Instruments