Mapping Hardware Channel IDs to MATLAB Indices
조회 수: 1 (최근 30일)
이전 댓글 표시
So the problem lies in converting a code from version 2105b to 2018b . I need to migrate these two lines of code from 2015 to 2018
HWInfo = daqhwinfo(analoginput(handles.DeviceName,handles.DeviceID));
DifferentialChannels = HWInfo.DifferentialIDs;
for the analoginput and daqhwinfo i have used the following lines of codes
HWInfo = daq.getDevices();
s = daq.createSession('ni');
addAnalogInputChannel(s,'Devq',1,'Volatge');
But i have no idea how to implement
HWInfo.DifferentialIDs
in Matlab 2018b. After searching a lot about "HWInfo.DifferentialIDs " all i know is that it maps hardware channel IDs to matlab indices .
Please help me witha a command to do this in matlab 2018b.
Thank you.
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Analog Devices ADALM1000 Support from Data Acquisition Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!