MATLAB interface instrument driver
Mostra commenti meno recenti
Hi,
I'm trying to conenct an Agilent N9320B spectrum analyser through to Matlab through Agilent VISA USB. 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 Plugand paly driver using midedit). see code below for the error message.
>> obj1 = visa('AGILENT', 'USB0::2391::65519::CN03225604::0::INSTR');
>> makemid('agn9320ni') %downloaded and installed driver from NI web
>> d=icdevice('agn9320ni.mdd',obj1); ??? Error using ==> icdevice.icdevice>icdevice.icdevice at 239 The driver must be a MATLAB interface instrument driver.
Strangely, even when I try to create an device object in tmtool, I don’t get an create tab to select the resource.
Any help ?
Risposta accettata
Più risposte (1)
jiao
il 3 Nov 2014
0 voti
hey, did you solve this problem or not?
Categorie
Scopri di più su Instrument Control Toolbox Supported Hardware in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!