here's the toyscope and the class i made (not sure if its completed, updated or what) maybe it will be helpful for you.
Thanks for the link mate!
When I do ":WAVeform:DATA? CHAN1" I get the following output ;
23 38 30 30 30 30 30 36 30 30 CE 35 36 35 36 34
35 36 36 35 35 35 36 34 35 36 35 36 35 36 36 35
35 36 36 35 35 36 35 36 35 35 35 36 34 36 35 36
35 36 36 34 35 35 35 36 35 36 35 34 35 CE CD CE
CE CE CE CD CE CE CE CD CE CE CE CD CE CD CD CE
CE CE CE CE CE CE CE CE CE CE CE CE CD CE CE CD
CF CD CE CE CE CD CE CE CD CE CE CE CE CE CE 36
36 35 34 36 36 34 35 35 35 36 35 36 35 36 35 36
36 35 35 36 35 34 35 35 35 35 36 35 35 35 36 35
36 34 35 34 35 36 35 35 35 36 35 36 35 36 35 36
34 CD CE CE CE CD CE CE CD CF CE CD CE CD CD CE
CE CD CD CE CE CD CE CE CE CD CE CD CE CF CE CE
CE CD CE CD CD CF CE CE CE CE CE CE CE CF CE CD
CE CE CE 35 35 36 36 34 35 34 34 36 35 34 35 36
35 35 36 34 36 33 35 35 35 34 35 34 35 36 35 34
35 35 35 36 34 36 35 34 36 35 36 34 35 35 34 36
34 36 35 34 35 CD CE CD CD CE CE CD CE CE CD CE
CE CE CE CD CE CE CE CD CE CD CE CD CE CD CE CD
CE CD CE CD CE CD CE CE CE CD CE CD CD CE CE CD
CE CE CD CE CE CD CE 35 36 34 35 34 35 34 35 34
35 35 35 34 35 34 36 35 36 34 35 34 35 35 35 34
34 35 35 35 35 36 36 34 35 35 36 34 35 35 34 35
34 36 34 35 35 35 35 34 35 CD CD CF CE CD CE CC
CE CD CE CD CE CD CE CD CE CD CE CD CE CD CE CD
CE CD CE CD CD CF CE CE CE CD CE CD CE CD CE CD
CE CD CE CE CE CD CE CD CE CD CE 36 35 35 34 35
35 36 35 35 35 36 35 34 35 34 35 34 35 34 35 33
36 34 36 34 34 35 35 34 35 34 36 34 35 35 35 36
35 34 35 34 35 36 34 36 35 34 36 35 34 CD CD CE
CE CE CE CD CE CD CE CE CE CD CE CD CE CC CE CD
CE CD CE CC CE CD CE CD CD CE CE CD CE CE CE CE
CE CE CE CC CE CE CE CD CE CD CE CD CE CD CE 35
35 34 35 34 36 34 33 36 35 35 35 35 34 36 35 35
34 36 35 34 35 34 35 35 35 36 35 36 34 35 35 36
34 35 35 34 35 34 35 34 34 36 35 34 36 34 35 36
34 CD CE CD CE CE CD CE CD CE CE CE CE CD CE CD
CE CD CE CD CE CE CE CD CE CD CD CE CE CD CE CD
CE CE CE CD CE CE CE CD CE CD CE CD CE CD CD CE
CE CD
Which part of this data is the "actual data" ? To put it another words, which portion of this data is plotable ?
Couldn't get VISA runtime to work under Slackware64 13.37, I plan to continuously run :WAVeform:DATA? CHAN1 for DAQ as real-time as possible. Also I had read that reading the long memory might be very close to real time acquisition. I checked your code and it looks fine, but VB and C are as different as they get. I am using rigolterm.c as skeleton (data provided above is output of a mod of rigolterm).
Is there a better way from continiuosly sending :WAVeform:DATA? CHAN1 ?