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.
Invalid Message ID Format: ' ' with NiDaq?
8 ビュー (過去 30 日間)
古いコメントを表示
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
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File 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!