12-04-2021 02:10 PM
So, I ran the test with the "error clear" VI. It seems to run for the duration that I wanted. I just wanted to see if the VISA read/write was not able to work at all after the error occurs but it looks like the VISA read/wire is able to recover/work again after there is a time out issue (for example, when there is a VISA timeout error, i clear the error and then at the next query 5 seconds later, I don't see the error again).
Obviously this isn't the ideal situation.
At this point, I do not have any other ideas. I made sure that the USB power saving mode was turned off, I increased the time delay between the VISA W and R to 1 second, I used semaphores for all instrument comm code to endure that no other VISA comm is occurring at the same time (literally the only test equipment that is operating is the chamber when I see these errors), I made sure that there was no issue with me opening and closing the VISA session incorrectly, I contacted the manufacturer and they told me check to see if there are any interrupts set on the chamber to see if that was causing an issue.
The only other thing I can think of is maybe because I'm use the DQMH framework? I have alot of different DQMH modules (one for each instrument and a main module and logger module) running at the same time. I'm not sure if that might be causing some kind of slow down.
Anymore help is greatly appreciated. Thank you