03-30-2010 07:59 PM
03-31-2010 12:17 AM
03-31-2010 05:03 AM
03-31-2010 08:43 AM
03-31-2010 07:16 PM
Hi Dan,
The TCP connection should be pretty simple in code and I'm not finding anything on that error. I was wondering if you could post a small portion of the code that covers the openning and closing of the connection as you have it in your code. That way I can try to replicate what is occuring.
04-07-2010 12:12 PM
Hi Ryan,
It looked like that the problem had been resolved but it popped up again. I was waiting for confirmation of the status of the issue before responding. We found that in one scenario where the problem could be reproduced easily, we were not closing the vi session/RM session. Once we took care of that, that particular problem disappeared. The other occurrence is still a mystery. Here is a question that perhaps you can answer easily -What is the best way to work in situations where the instrument gets rebooted but the remote application continues? Should we close the default RM as well as vi session or only only one (defaultRM only) or none before sending the reboot command. And is there anything we can do after the instrument is rebooted which resets the state of the vi connectivity completely beyond what viOpen command achieves. The reason for this question is that another application session from the same host works well, so is there a way that I can get my application to behave as if it is building a brand-new connection with the VISA RM etc. and that the state of the previous connection should be completely wiped clean. If such a thing exists, that will serve as a good workaround for now.
04-20-2010 06:04 PM
Hi Dan,
The best practice is to close the instrument session, but not the resource manager session.
Thanks