ATEasy driver for the Tektronix TDS30xxB family DSOs
Zvi S.
Tustin, CA

Jan 5, 2009
12 Posts

ATEasy driver for the Tektronix TDS30xxB family DSOs

This driver assumes GPIB interface in place.

File Attachment:

DrATEasy (Ron Y.)
Mission Viejo, CA

May 6, 2013
314 Posts

Re: ATEasy driver for the Tektronix TDS30xxB family DSOs

The driver had two issues:

1.    TDS3000B.drv contains syntax error in MeasureBetweenCursorsVert() IOTable (have not checked the rest of the commands) :
Output command should be CURS:VBA:DELT? Instead of CURS:VBA:HDELT?

2.    After received invalid command, Tek scope no longer returns command responses (commands are still processed but no responses were returned). To fix this problem USBTMC_INITIATE_CLEAR command must be send to the scope to clear any pending output buffer. This fixed has been included in ATEasy and will be available with the next release of ATEasy, to work-around the problem for now, add the following code to OnError() event handler of TDS3000B.drv :

! clear USBTMC output buffer after received IoTable receive run-time error #378 due to invalid command was send to the scope
if Driver.InterfaceType=aioUsb AND GetErrorNum()=378
    UsbStandardControlRequest(Driver.InterfaceInfo(adriverInfoAddress), aUsbTmcInitiateClear, 0, 0)

attached is the new driver.

File Attachment:

Please Note
You need to have a M@GIC account to participate in the Forums.
Not yet registered on our website? Click here to register today!

All content, information and opinions presented on the Marvin Test Solutions User Forums are those of the authors of the posts and messages and not Marvin Test Solutions'. All attachments and files are downloaded at your own risk. [Read More]