01-26-2007 12:10 PM
01-29-2007 09:58 AM
You can identify NI participants in the forum by the blue blocks under their user name (yellow for non-NI). I had the same framing issues with both drivers with these Tek scopes. After 5 minutes of running an example from the project-style driver with serial errors, it just started working. I know this isn't very helpful, but I think it points to intermittent errors with the serial interface on the scope. Once I established successful communication, it remained good after that.
You can try lowering the buad rates on the instrument and in the driver. You can also try different handshaking modes that the instrument supports.
01-29-2007 01:52 PM
01-30-2007 10:04 AM - edited 01-30-2007 10:04 AM
Message Edited by Jason Hobbs on 01-30-2007 10:05 AM
02-06-2007 12:46 PM - edited 02-06-2007 12:46 PM
Message Edited by Scott J on 02-06-2007 12:46 PM
02-06-2007 02:46 PM
02-06-2007 03:08 PM
02-07-2007 09:22 AM
02-07-2007 10:02 AM
I single stepped through the code and discovered that the error was caused because I didn't receive a DCL after the VISA clear in initialize.vi. I removed the VISA read in the begining of the case statement and this fixed the problem. I assume the DCL wasn't being received because I have a serial to USB converter, but I'm not sure.
However, I now have a different problem, and it's kinda tricky because the problem only happens when I step over initialize.vi, but not when I step through it. The error is code 85 which says
Error 85 occurred at Scan From String (arg) in Tektronic TDS 200 1000 2000 Series.lvlib:Error Query.vi->Tektronix TDS 200 1000 2000 Series.lvlib:Reset.vi->Tektronix TDS 200 1000 2000 Series.lvlib:Initialize.vi->Scotts Series Acquire Waveform.vi
Possible reason(s):
Labview:Scan failed. The input string does not contain data in the expected format.
I don't have to step any lower than Initialize.vi. I can step over both Reset.vi and Error Querry.vi without trouble, but if I try to step over Initialize.vi, the error appears. It is interesting because I would not expect format to change whether stepping through or running. Any ideas?
02-07-2007 01:02 PM