I'd recommend adding a Time Delay between your VISA Write and your VISA Read.
Unless you've a got a really slow instrument, I'd say 500 ms is probably plenty.
so we tried a delay, wait, and timeout and the visa read still gives the problem. the write always sends it but the read sometimes doesn't respond. for the latest one we put a timeout of 30 sec.
Ugly front panel. Replaced a stacked sequence with a flat sequence so that you can see all the frames then cleaned up.
Lack of error wires on some GPIB functions would cause a race condition.
I'm having a similar problem with a Scilogex stir plate. I am running a program to check the stir speed on the stir plate at given intervals. Whatever interval I use, the program runs 40-150 times and then gives a timeout error, and the only way I know to fix it is to turn off and back on the stir plate. I have the 50 ms delay suggested by Scilogex. Did you ever figure out what was causing the timeouts at random intervals?