MATLAB interface instrument driver

2 views (last 30 days)
jiao
jiao on 29 Oct 2014
Commented: Thomas P on 18 Jan 2015
hey,
i am now try to connect the r&s zvb, a vector network analyzer to the matlab via gpib, I could succesfully create an interafce object and communicate through the interface. But I receive a error message, when I want to use the Matlab interface driver (.mdd file generated from Vxi Plug& paly driver i download from the r&s offical website). see code below for the error message.
d=icdevice('custom_matlab_rszvb_driver_3.12.0.mdd','GPIB::0::20::0::INSTR') Error using icdevice (line 233) The VXIplug&play driver referenced in C:\Program Files\MATLAB\R2014a\toolbox\instrument\instrument\drivers\custom_matlab_rszvb_driver_3.12.0.mdd cannot be found.
i have add the 'custom_matlab_rszvb_driver_3.12.0.mdd' into the C:\Program Files\MATLAB\R2014a\toolbox\instrument\instrument\drivers' and i am sure the the VISA Resource Address 'GPIB::0::20::0::INSTR' is correct.
any help? thanks.

Accepted Answer

Gustav
Gustav on 30 Oct 2014
I had the same problem. Matlab referred to the 32-bit driver, when I had the 64-bit driver. I just changed the filename of the driver.
  3 Comments
jiao
jiao on 31 Oct 2014
hey, and how did you changed the filename of the driver? thank you very very much.
Thomas P
Thomas P on 18 Jan 2015
In C:\Program Files\IVI Foundation\VISA\Win64\Bin rename example_64.dll to example_32.dll.

Sign in to comment.

More Answers (0)

Categories

Find more on Instrument Control Toolbox Supported Hardware in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!