Hello,
I'm using the NiDaq toolbox with MATLAB 2020A. I have verified that the NiDAQ box is connected to my laptop and is detected by MATLAB using daqvendorlist and daqlist as shown below:
daqvendorlist
ans =
1×4 table
ID FullName AdaptorVersion DriverVersion
____ ____________________________ ______________ _________________
"ni" {'National Instruments(TM)'} "4.1 (R2020a)" "20.0.0 NI-DAQmx"
>> daqlist
ans =
1×5 table
VendorID DeviceID Description Model DeviceInfo
________ ________ ___________________________________ __________ _______________________
"ni" "Dev2" "National Instruments(TM) USB-6008" "USB-6008" [1×1 daq.ni.DeviceInfo]
However, as per the documentation if I try to use the daq function to create a DataAcquisition object I get the following error:
>> s = daq("ni")
Invalid Message ID format: ''.
I'm unsure of what the error actually means. The syntax is as listed in the documentation. Thanks

 채택된 답변

iwantrugs
iwantrugs 2021년 3월 3일

0 개 추천

It turns out that the driver version of my NiDAQ is only supported on 2020B and not 2020A. Updating solved the issue, in case anyone has a similar problem.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Data Acquisition Toolbox Supported Hardware에 대해 자세히 알아보기

제품

릴리스

R2020a

질문:

2021년 3월 3일

답변:

2021년 3월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by