11-07-2020 05:25 AM
Hi,
Recently, I migrated the vi files from my old PC(Windows 7 64bit, labview 2014 32bit, NVISA 15.5) to the new PC(Windows 10 64bit) and I kept the labview environment and drivers just the same as the old one's. I use the program to control instruments through the ethernet port. When I run it on the new PC, the visa clear function which is contained in a while loop just keep reporting error message after working normally for several loops, which is never happened in the old PC. Then I run the program in another PC running the Windows 7 and installing the same version of labview, it showed the same error info indicating that there was a VISA I/O Error. So it was not the problem of Windows 10. I tried to connect the instrument with the old PC and tested the same program for a few times and nothing went wrong. The communication with the instrument is totally fine but it shows errors when it was connected to the new PC. I know it's may the problem of the software configuration but I don't know where it gets wrong. So anyone has met the same problem or has some solutions? Thanks!
11-07-2020 02:38 PM
Why do you use VISA clear?
Once I got a trouble with this vi, I found that it sends a break. After that, the device stopped working and had to re-establish the connection.
Maybe you have the same problem?
11-08-2020 08:38 PM
Well, the instrument in my lab was still working after the visa clear error came out. And actually the vi which used the clear function was provided by the manufacturer, so I'd better not modify it. The key is that the same vi program file didn't work properly on the other PCs even though the software configuration and environment were just the same as the old PC. I totally confused about that and don't know how to do about it. By the way, I have to retire the old PC because it sometimes got stuck(poor heat dissipation I guess) when the labview was still running and all the work was wasted.