Instrument Control Toolbox with NI-FGEN

4 visualizzazioni (ultimi 30 giorni)
James
James il 19 Apr 2016
Commentato: Vinod il 24 Apr 2016
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

Risposte (1)

Vinod
Vinod il 22 Apr 2016
There is a support package that does all you need. It also gives you the MDD:
  2 Commenti
James
James il 22 Apr 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 il 24 Apr 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.

Accedi per commentare.

Categorie

Scopri di più su Instrument Connection and Communication in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by