Instrument Control Toolbox with NI-FGEN

1 次查看(过去 30 天)
James
James 2016-4-19
评论: Vinod 2016-4-24
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

回答(1 个)

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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Instrument Connection and Communication 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by