Why am I unable to use NI-SCOPE, NI-DMM, and NI-DCPOWER in combination with Instrument Control Toolbox R2014a?

5 views (last 30 days)
After installing niScope 3.9.7 (either after manually downloading from the NI website or through the NI-SCOPE hardware support package) I am unable to use niScope:
 
ictObj = icdevice('niScope.mdd', 'DAQ::Dev1', 'optionstring','simulate=true');
connect(ictObj);
Always throws the following error:
  ERROR: Error using icdevice/connect (line 112) The VXIplug&play driver could not connect to the instrument using the specified resource. If this error is not an instrument error, use MIDEDIT to inspect the driver.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 29 Jun 2017
Note that this is a generic error message and this discussion refers only to a particular issue in MATLAB R2014a with some NI driver packages installing NI VISA 5.0, which had an issue with a missing header file (vpptypes.h).
The NI-SCOPE package 3.9.7 includes NI-VISA 5.0 which is missing a number of required header files.
Other packages which include NI-VISA 5.0 and may thus run into similar issues are:
  • NI-DMM
  • NI-DCPOWER
To resolve this issue please manually install the latest NI-VISA version (<http://www.ni.com/visa/>) after having installed NI-SCOPE, NI-DMM, or NI-DCPOWER.
If you see this error in a more recent MATLAB release it's probably caused by a different issue.
Note than NI VISA can be installed by a support package since R2015a (<https://www.mathworks.com/hardware-support/ni-visa-keysight-visa-tekvisa.html Instrument Control Toolbox Support Package for National Instruments VISA and ICP Interfaces>)
 

More Answers (0)

Categories

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

Products


Release

R2013b

Community Treasure Hunt

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

Start Hunting!