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?
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
iwantrugs
el 3 de Mzo. de 2021
Respondida: iwantrugs
el 3 de Mzo. de 2021
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 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Data Acquisition Toolbox Supported Hardware en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!