Instrument Control Toolbox with NI-FGEN

I'm using MATLAB 7 (R14) to communicate with a NI PXI 5401 function generator, using the Instrument Control Toolbox.
When I try to create a MATLAB instrument driver using the makemid command:
makemid('niFgen')
I get the following error:
101L
102L
103L
104L
101L
102L
104L
101L
102L
101L
102L
??? error using ==> makemid
Unexpected class or attribute identifier value
The appropriate IVI driver is installed, as the following command gives the expected outcome:
driverinfo = instrhwinfo('ivi');
disp(driverinfo.Modules');
Outcome:
'niFgen'
'nidmm'
'niScope'
...
Has anybody come across this error before?
Thanks,
J

Réponses (1)

Vinod
Vinod le 22 Avr 2016

0 votes

There is a support package that does all you need. It also gives you the MDD:

2 commentaires

James
James le 22 Avr 2016
Unfortunately that support package is only functional for R2013b and beyond, I'm running MATLAB 7 R14 (from 2004) as stated. I'm trying to update to a later version of MATLAB but so far without success.
Vinod
Vinod le 24 Avr 2016
R14 is over 12 years old at this point. Your best bet is to upgrade to a newer version to take advantage of several new features, bug fixes and improvements.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Instrument Control Toolbox dans Centre d'aide et File Exchange

Question posée :

le 19 Avr 2016

Commenté :

le 24 Avr 2016

Community Treasure Hunt

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

Start Hunting!

Translated by