필터 지우기
필터 지우기

DAQ USB-1024HLS (Measurement Computing Corporation) addDigitalChannel error

조회 수: 1 (최근 30일)
Dear all, We have a USB-1024HLS device from mcc (Measurement Computing Corporation). I am using Matlab R2017a Win64 to program this device. Their seems to be a problem with the new release Matlab R2017a Win64 and / or USB-1024HLS device driver
My code is:
clear, clc
daqreset;
vendor = daq.getVendors;
device = daq.getDevices;
session = daq.createSession('mcc');
addDigitalChannel(session,'Board0','PortA0:7','InputOnly')
Error message is: The requested subsystem 'DigitalIO' does not exist on this device.
After checking a few things it seems the channel ID name 'PortA0:7' is incorrect in addDigitalChannel(session,'Board0','PortA0:7','InputOnly') command.
Will it be possible to help me please? Thanking you in advance. Best regards, Hendrik

채택된 답변

Archita P
Archita P 2017년 5월 30일
The Measurement Computing DAQ support package is expected to work with any Measurement Computing DAQ device that supports analog input and analog output operations. It does not support digital I/O operations. Refer to the following link to get the list of supported hardware- https://www.mathworks.com/hardware-support/measurement-computing.html
  댓글 수: 1
Maria Veldhuizen
Maria Veldhuizen 2018년 7월 5일
I am working with the exact same device and Matlab version and running into the same problem.
I have downloaded the measurement computing daq support package.
addCounterInputChannel or addAnalogOutputChannel or addDigitalChannel all results in the same error: The requested subsystem 'xxx' does not exist on this device. Please advise?
I used to be able to work with this device with the following commands:
dio=digitalio('mcc'); %specify dio OutputLinesPort1 = addline(dio,0:7,1,'Out'); putvalue(OutputLinesPort1, 0);%set value to 0
Back then I also needed to copy mwmcc.ini into folders: toolbox\daq\daq\private and toolbox\daq\daq\src\mwmcc Not sure what the current equivalent of these folders is, or if this is still necessary with the support package installed.

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

추가 답변 (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