MATLAB interface instrument driver
Afficher commentaires plus anciens
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 ?
Réponse acceptée
Plus de réponses (1)
jiao
le 3 Nov 2014
0 votes
hey, did you solve this problem or not?
Catégories
En savoir plus sur Instrument Control Toolbox Supported Hardware dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!