e response1 was #6240000 or 240000 bytes of data, Response 2 was the data... uh, Ok, what is the next step. It should have been 30000 samples of time-domain measurements, hits for a histogram. Instead I got almost 60000. (Why almost 60K? I don't know...) Hey Chip. Anyone help you out yet? I was looking at some of my code from a couple of years ago and shuddered. I had to use the Scan command to parse my GPIB strings then and had forgotten about the frustrations involved.
Now I use the VISA commands together with the fancy IVI instrument drivers for my scope and everyhting is great. Do you have .fp files for your instruments that you can load and run function panels from? Once you load the right .fp into your project you can go just select the high level functions you want for each instrument operation and have the panels talk you through the process. It works great and once you do it this way you don't want to go back.
Let me know if you want some more help in this direction.
Grant
Grant M. Johnson
Project Engineer
LECO Corporation