Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How to add channels from 2nd NI analog input module

조회 수: 1 (최근 30일)
Keqin Xu
Keqin Xu 2019년 3월 25일
마감: MATLAB Answer Bot 2021년 8월 20일
Hello folks!
I have two NI SCXI-1305 modules installed in an NI SCXI-1000 chassis. Each SCXI-1305 has 8 analog input channels.
I have no problem accessing all the channels of the first module. But I just cannot get access to any channels of the 2nd module.
ai = analoginput('nidaq','Dev1');
ch=addchannel(ai,0:7);
=========Works fine, but
ch=addchannel(ai,0:8); <<<=== trying to add an extra channel to the ai object
=========Does not work. error msg:
?? Error using ==> daqdevice.addchannel at 198
The channels(s) being added are invalid for the current input type.
I believe both modules are installed properly as they both passed the "self test" in NI-MAX successfully.
Do I miss anything? A colleague of mine using LabView..,. he has no problem ccessing both modules
I use Matlab 7.11.0.584 (R2010b), with Data Acquisition Toolbox Version 2.17 (R2010b)
Thank you!
Keqin Xu

답변 (0개)

이 질문은 마감되었습니다.

제품


릴리스

R2010b

Community Treasure Hunt

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

Start Hunting!

Translated by