DPO 3034 Tektronix Driver

Garrett O.
Atlanta, GA

May 16, 2014
6 Posts

0  |  0  

Re: DPO 3034 Tektronix Driver

Are there any drivers (.fp, .drv) out there for this oscilloscope?
If not, how do I go about making a driver for this scope?

Victor B.
Lake Forest, CA

May 19, 2014
93 Posts

0  |  0  

Re: DPO 3034 Tektronix Driver

You can download the IVI driver for the DPO 2000, 3000, and 4000 series instruments from the Tek website:
http://www.tek.com/oscilloscope/dpo2002-software/dpo2000-dpo3000-dpo4000-ivi-driver-v13

This installation includes a FP driver which I have converted into a DRV with ATEasy's Import FP Driver...


File Attachment:
Tkdpo2k3k4k.drv

Garrett O.
Atlanta, GA

May 29, 2014
6 Posts

0  |  0  

Re: DPO 3034 Tektronix Driver

Thanks very much for your help. That worked like a charm.

ATEasy is now asking me for some values for the Driver Shortcut properties.
It is asking for ResourceName, IdQuery, ResetOnInit, and Options. What sort
of values should I place in these properties?

Garrett O.
Atlanta, GA

May 29, 2014
6 Posts

0  |  0  

Re: DPO 3034 Tektronix Driver

Continuing on the note of what to put in for ResourceName, the VISA address for my scope is GPIB0::16::INSTR. I have tried using that as a value for ResourceName, but the program errors out when implementing an initialize function. I leave an options value empty, so the code gets to:

if sOptionsString=""
    _CheckError(Tkdpo2k3k4k_init(sResourceName, bIdQuery, bReset1, m_session))
else
    _CheckError(Tkdpo2k3k4k_InitWithOptions(sResourceName, bIdQuery, bReset1, sOptionsString, m_session))
endif


and fails on the fourth line. The error states "Run-time error #0x0000005 : 'Memory access violation' found in 'SCOPE._Initialize' in line 21". The fourth line in the above code is the 21st line of code in the actual program. The help feature included with ATEasy suggests using the VISA address under the section titled "Using VXI Plug&Play Functions Panel Drivers", but I cannot seem to get my computer to successfully connect to my Scope using GPIB.

Victor B.
Lake Forest, CA

May 30, 2014
93 Posts

0  |  0  

Re: DPO 3034 Tektronix Driver

Theoretically, if you are leaving sOptionsString blank, then it should not run the fourth line.  

I noticed that the type of the sOptionsString parameter is ViConstString...Try changing the sOptionsString parameter type from ViConstString to String.  The default value of this parameter should be an empty string, "".

Garrett O.
Atlanta, GA

May 30, 2014
6 Posts

0  |  0  

Re: DPO 3034 Tektronix Driver

My apologies, it errors on the second line. It shouldn't get to the fourth line, as I do leave the options string blank. I went into the driver properties under the parameters tab to change the type of sOptionsString, but it seems it already is a string type.


File Attachment:
Capture.PNG

Garrett O.
Atlanta, GA

May 30, 2014
6 Posts

0  |  0  

Re: DPO 3034 Tektronix Driver

And a picture of ATEasy erring on the second line.


File Attachment:
Capture2.PNG

Tyler G.
Lititz, PA

May 30, 2014
19 Posts

0  |  0  

Re: DPO 3034 Tektronix Driver

I am attempting to use this driver for an MDO4034B-3 scope connected through USB but I do not know how to initialize the scope to communicate over USB. The initialize command is looking for a VISA address but I'm not sure where to find that. Could you help me get this scope set up with this driver with the USB connection?

Tyler G.
Lititz, PA

May 30, 2014
19 Posts

0  |  0  

Re: DPO 3034 Tektronix Driver

I found the VISA address and was able to connect to the scope but I am using the Initialize command which requires a string and it will only work if I pass the serial number of the scope that I want to talk to. Is there a way to avoid passing the serial number as part of the initialization string so I can use the software no matter what the serial number of the scope is?

Victor B.
Lake Forest, CA

May 30, 2014
93 Posts

0  |  0  

Re: DPO 3034 Tektronix Driver

Instead of using the raw VISA address, try setting up an alias for the instrument in NI-MAX and then using the alias as your resource string.  An alias will allow you to mask out the serial number.

Solution Available
Tyler G.
Lititz, PA

Jun 2, 2014
19 Posts

1  |  0  

Re: DPO 3034 Tektronix Driver

The alias worked. Thanks.



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]