Hi Yariv,
Just to clarify the question, are you saying that this program/instrument combination worked for some time, and then it suddenly stopped working from some point on? Or do you mean that the program runs fine for some time, and then this error occurs? I am thinking you meant the first option, but I wanted to make sure.
If that is indeed the case, you need to see if anything has changed from the time that it has worked... driver versions, differences in the program, different cables, anything. Also, the instrument could have become damaged, or the cables could have been knocked loose. If the program hasn't changed, there is not any reason that it would just stop working. Given the error that you obtained, it is much more likely that something has changed with the configuration. A good way to test this would be to try communicating with the device through Measurement and Automation Explorer (MAX) using that same VISA Resource Name.
Keep us posted on how this develops!
john
Applications Engineer