Can you post the few lines that would cause the problem?
Originally I had a bluetooth connection and ran into the problems mentioned in that forum and the manual for DTR. So I switched to hardwired connection for now, until I get a better BT module.
I tried this and don't see any errors:
fprintf(obj1, 'DISP:TEXT ''TEST 1234''');
data = query(obj1, 'MEASure:VOLTage:AC? 10,0.003' )
fprintf(obj1, 'DISP:TEXT ''TEST 12345''');
data = query(obj1, 'MEASure:VOLTage:DC? 10,0.003' )
fprintf(obj1, 'DISP:TEXT ''TEST 123456''');
data = query(obj1, 'MEASure:VOLTage:AC? 10,0.003' )
for i=1:n
data = query(obj1, 'MEASure:VOLTage:DC? 10,0.003' );
read(i) = str2double(data);
c = clock;
time(i) = c(6);
end
This is just using straight serial commands so it may be slightly different than going through VISA/matlab drivers. In that loop I am getting a read every ~73ms (13Hz). Maybe my setup is too slow to see the problem? Matlab 2011b, w/ CH340 serial adapter, 9600 baud, 8 bit, 2 stop bit.