Didn't realize that you were using one of the shipping examples. A query interupted usually means that while there is still data in the transmit buffer, the instrument receives a new command. You want to make sure that the record length of the acquisition matches the number of samples you are requesting. In other words, if you set the acquisition for 20000 samples, you need to request that number. If you only request 10000, I think you will get that error.