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

Answers (1)

Vinod
Vinod on 22 Apr 2016
There is a support package that does all you need. It also gives you the MDD:

2 Comments

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.
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.

Sign in to comment.

Categories

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

Asked:

on 19 Apr 2016

Commented:

on 24 Apr 2016

Community Treasure Hunt

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

Start Hunting!