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

1 次查看(过去 30 天)
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.

采纳的回答

MathWorks Support Team
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>)
 

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Instrument Control Toolbox Supported Hardware 的更多信息

产品


版本

R2013b

Community Treasure Hunt

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

Start Hunting!

Translated by