Data Acquisition from NI PXIe-1062Q

조회 수: 2 (최근 30일)
David
David 2012년 5월 1일
댓글: Ran Sha 2016년 3월 27일
Hello,
I'm using a machine with the Data Acquisition Toolbox and I'm trying to communicate with an NI PXIe-1062Q device. I am running Matlab Version R2012a 64 bit.I'm a able to communicate with my device but I am unable to run a Session in the foreground. To walk you through what I've done:
1) I can see the device is connected using daq.getDevices. This lists all my analog input and output subsystems, and my input and output counter subsystems. My device ID is 'ANADAQ1' and for whatever reason I see the instrument not as a NI PXIe-1062Q but rather as a NI PXIe-6358. I don't know what that's all about.
2) s = daq.createSession('ni') runs without a hitch.
3) s.addAnalogInputChannel('ANADAQ1','ai0','Voltage') also runs without a problem.
4) I can sample my analog input channel using s.inputSingleScan without any difficulty. I even read a proper voltage.
5) When I attempt to run the session using s.startForeground I get the following error:
NI Error -89136:
Specified route cannot be satisfied, because the hardware does not support it
Property: DAQmx_RefClk_Src
Request Value: /ANADAQ1/PXI_CLK10
Task Name: _unnamedTask<C4>
Status Code: -89136
Any ideas on what's going on?
Much appreciation
-David

채택된 답변

Manisha
Manisha 2012년 5월 2일
Hi David,
It seems that you are using the X- Series device NI PXIe-6358 on the NI PXIe-1062Q PXI chassis. The command daq.getDevices returns you the device and not the chassis and thus you see PXI 6358 and not PXIe1062Q.
R2012a added a new functionality to set your devices reference clock to the PXI chassis backpane 10 MHz clock PXI_CLK10, so that all the modules in your chassis will share the same clock. However, in you case it seems to error out at that point. X-Series boards do support reference clock synchronization, so I not sure about the exact reason you are seeing this. However, you can disable this functionality using these commands:
daq.reset
daq.HardwareInfo.getInstance('DisableReferenceClockSynchronization',true);
You will need to use the command after every daq.reset. I would also recommend that you contact technical support regarding this issue so that they can get to the root of this problem.
Hope this helps,
Manisha
  댓글 수: 2
Peter Selivanov
Peter Selivanov 2016년 2월 8일
Thank you, Manisha. It does help a lot.
Ran Sha
Ran Sha 2016년 3월 27일
Thank you Manisha ! I had the same problem, and this solved it ! Much appreciated.
-Ran

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Acquisition Toolbox Supported Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by