Using alaogoutput with NI PCI-5114

3 次查看(过去 30 天)
Noam
Noam 2015-6-12
回答: Phillip 2017-3-31
Hi all,
I want to use a NI scope PCI 5114 to trigger a camera through a BNC cable. I run MATLAB 2012 32bit ,and thus I understood that I need to use "legacy based" scheme instead of "session based" that is offered as part of Data Aquisition toolbox. I follow this example http://www.mathworks.com/help/instrument/examples/fetch-waveforms-through-niscope-matlab-instrument-driver-in-simulation-mode.html , however I don't manage to establish a connection to the scope with -
ictObj = icdevice('niscope.mdd', 'DAQ::Dev1');
)
and I get an error which says "The specified MATLAB instrument driver could not be found. DRIVER must be on the MATLAB path." I've checked with specific NI applications that the scope is connected and works.Moreover, I did add the driver's path to matlab. Is there something I am missing?
Noam
  1 个评论
damien maraval
damien maraval 2015-10-12
Hello, I have the exact same problem as you. I follow the same example and get the same error. Did you find a solution since you post this message ?
Thanks
Damien

请先登录,再进行评论。

回答(1 个)

Phillip
Phillip 2017-3-31
I was running into the same error, and here's how I solved it. I realized that I needed to download the support package from Mathworks, on this page: https://www.mathworks.com/hardware-support/ni-scope.html . I had already downloaded the core NIscope package from National Instruments, but I also needed the Mathworks one. After a system restart, I was able to get farther into the demo linked in the original question.

Community Treasure Hunt

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

Start Hunting!

Translated by