Can't use daq. Unrecognized function or variable 'daqregister'.
6 次查看(过去 30 天)
显示 更早的评论
I'm completly new to mathlab.
I'm trying to use a contec force sensor and stream it too mathlab.
the main one I'm trying to do follow the guide found here:
The command I'm getting stuck at is:
```
>> daqregister('contec')
Unrecognized function or variable 'daqregister'.
Did you mean:
>> fdaregister('contec')
```
Here's the result from a bunch of daq commands:
```
>> devices = daq.getDevices
No data acquisition devices available.
Click here for a list of known vendors.
Click here for troubleshooting tips.
Unable to detect 'ni' hardware:
National Instruments NI-DAQmx driver is either not installed or the installed version is not supported.
Use the Windows Control Panel to uninstall any existing NI-DAQmx driver listed under 'National Instruments Software'.
Then, open the Add-On Explorer to install the Data Acquisition Toolbox Support Package for
National Instruments NI-DAQmx Devices.
```
```
>> ver
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.7.0.1216025 (R2019b) Update 1
MATLAB License Number: *******
Operating System: Microsoft Windows 11 Pro Version 10.0 (Build 22631)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.7 (R2019b)
Simulink Version 10.0 (R2019b)
5G Toolbox Version 1.2 (R2019b)
AUTOSAR Blockset Version 2.1 (R2019b)
Aerospace Blockset Version 4.2 (R2019b)
Aerospace Toolbox Version 3.2 (R2019b)
Antenna Toolbox Version 4.1 (R2019b)
Audio Toolbox Version 2.1 (R2019b)
Automated Driving Toolbox Version 3.0 (R2019b)
Bioinformatics Toolbox Version 4.13 (R2019b)
Communications Toolbox Version 7.2 (R2019b)
Computer Vision Toolbox Version 9.1 (R2019b)
Control System Toolbox Version 10.7 (R2019b)
Curve Fitting Toolbox Version 3.5.10 (R2019b)
DSP System Toolbox Version 9.9 (R2019b)
Data Acquisition Toolbox Version 4.0.1 (R2019b)
Database Toolbox Version 9.2 (R2019b)
Datafeed Toolbox Version 5.9 (R2019b)
Deep Learning Toolbox Version 13.0 (R2019b)
Econometrics Toolbox Version 5.3 (R2019b)
Embedded Coder Version 7.3 (R2019b)
Filter Design HDL Coder Version 3.1.6 (R2019b)
Financial Instruments Toolbox Version 2.10 (R2019b)
Financial Toolbox Version 5.14 (R2019b)
Fixed-Point Designer Version 6.4 (R2019b)
Fuzzy Logic Toolbox Version 2.6 (R2019b)
GPU Coder Version 1.4 (R2019b)
Global Optimization Toolbox Version 4.2 (R2019b)
HDL Coder Version 3.15 (R2019b)
HDL Verifier Version 6.0 (R2019b)
Image Acquisition Toolbox Version 6.1 (R2019b)
Image Processing Toolbox Version 11.0 (R2019b)
Instrument Control Toolbox Version 4.1 (R2019b)
LTE HDL Toolbox Version 1.4 (R2019b)
LTE Toolbox Version 3.2 (R2019b)
MATLAB Coder Version 4.3 (R2019b)
MATLAB Compiler Version 7.1 (R2019b)
MATLAB Compiler SDK Version 6.7 (R2019b)
MATLAB Report Generator Version 5.7 (R2019b)
Mapping Toolbox Version 4.9 (R2019b)
Mixed-Signal Blockset Version 1.1 (R2019b)
Model Predictive Control Toolbox Version 6.3.1 (R2019b)
Model-Based Calibration Toolbox Version 5.7 (R2019b)
Navigation Toolbox Version 1.0 (R2019b)
OPC Toolbox Version 4.0.8 (R2019b)
Optimization Toolbox Version 8.4 (R2019b)
Parallel Computing Toolbox Version 7.1 (R2019b)
Partial Differential Equation Toolbox Version 3.3 (R2019b)
Phased Array System Toolbox Version 4.2 (R2019b)
Powertrain Blockset Version 1.6 (R2019b)
Predictive Maintenance Toolbox Version 2.1 (R2019b)
RF Blockset Version 7.3 (R2019b)
RF Toolbox Version 3.7 (R2019b)
ROS Toolbox Version 1.0 (R2019b)
Reinforcement Learning Toolbox Version 1.1 (R2019b)
Risk Management Toolbox Version 1.6 (R2019b)
Robotics System Toolbox Version 3.0 (R2019b)
Robust Control Toolbox Version 6.7 (R2019b)
Sensor Fusion and Tracking Toolbox Version 1.2 (R2019b)
SerDes Toolbox Version 1.1 (R2019b)
Signal Processing Toolbox Version 8.3 (R2019b)
SimBiology Version 5.9 (R2019b)
SimEvents Version 5.7 (R2019b)
Simscape Version 4.7 (R2019b)
Simscape Driveline Version 3.0 (R2019b)
Simscape Electrical Version 7.2 (R2019b)
Simscape Fluids Version 2.7 (R2019b)
Simscape Multibody Version 7.0 (R2019b)
Simulink 3D Animation Version 8.3 (R2019b)
Simulink Check Version 4.4 (R2019b)
Simulink Code Inspector Version 3.5 (R2019b)
Simulink Coder Version 9.2 (R2019b)
Simulink Control Design Version 5.4 (R2019b)
Simulink Coverage Version 4.4 (R2019b)
Simulink Design Optimization Version 3.7 (R2019b)
Simulink Design Verifier Version 4.2 (R2019b)
Simulink Desktop Real-Time Version 5.9 (R2019b)
Simulink PLC Coder Version 3.1 (R2019b)
Simulink Real-Time Version 6.11 (R2019b)
Simulink Report Generator Version 5.7 (R2019b)
Simulink Requirements Version 1.4 (R2019b)
Simulink Test Version 3.1 (R2019b)
SoC Blockset Version 1.1 (R2019b)
Spreadsheet Link Version 3.4.2 (R2019b)
Stateflow Version 10.1 (R2019b)
Statistics and Machine Learning Toolbox Version 11.6 (R2019b)
Symbolic Math Toolbox Version 8.4 (R2019b)
System Composer Version 1.1 (R2019b)
System Identification Toolbox Version 9.11 (R2019b)
Text Analytics Toolbox Version 1.4 (R2019b)
Trading Toolbox Version 3.6 (R2019b)
Vehicle Dynamics Blockset Version 1.3 (R2019b)
Vehicle Network Toolbox Version 4.3 (R2019b)
Vision HDL Toolbox Version 2.0 (R2019b)
WLAN Toolbox Version 2.2 (R2019b)
Wavelet Toolbox Version 5.3 (R2019b)
>>
```
```
>> daqhwinfo
Function 'daqhwinfo' unsupported. Use the session-based
interface.
```
```
>> methods('daq')
No class daq.
>>>functions
Error using functions Not enough input arguments.
```
```
>>>doc daq
'opens the docs'
```
0 个评论
回答(1 个)
Walter Roberson
2024-7-25
daqregister() was an old interface that is no longer supported.
Registered DAQ adaptor. | daqregister | You do not need to register an adaptor if you are using session-based interface.
Note: Beginning with R2016a, MATLAB is no longer available on 32-bit systems. Because the existing adapters for CONTEC data acquisition hardware are 32-bit only, this hardware is currently only supported by Data Acquisition Toolbox R2015b and earlier.
10 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Analog Devices ADALM1000 Support from Data Acquisition Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!