The code will set up the scope fine and collect the averaged waveform properly (I can actually use the MEASure command to get peak to peak values and others), but when I attempt to transfer the waveform I get a query unterminated error, the preamble returns as null, and the binblockread command returns that there is no data to read. Funny enough, the code works fine for single shot (unaveraged) waveform transfer. I've searched for others reporting this problem, but have found nothing similar. If anyone has any suggestions as to workarounds for this, they would be greatly appreciated.