Invalid Message ID Format: ' ' with NiDaq?

8 ビュー (過去 30 日間)
iwantrugs
iwantrugs 2021 年 3 月 3 日
回答済み: iwantrugs 2021 年 3 月 3 日
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 日
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 件)

カテゴリ

Help Center および File ExchangeData Acquisition Toolbox Supported Hardware についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by