National Insturments 社製デバイスを使用すると "NIDAQmx error: Device not available for routing" というエラーとなるのはなぜですか?

1 view (last 30 days)
National Insturments 社製デバイスを使用すると "NIDAQmx error: Device not available for routing" というエラーとなります。
PC を再起動しても、,MATLABを再起動しても、ボードを抜き差ししても、daqresetを実行しても解決しません。 
エラーメッセージ:
ERROR: ??? NIDAQmx error : Device not available for routing. It is possible that the device needs to be reset or that the device is being reset. If you are resetting the device, wait for the reset to complete. For example, if you have used the device through Traditional NI-DAQ, you must reset the device before the requested route can be made. For SCXI devices, you must reset the communicator DAQ device. Call the Traditional NI-DAQ Device Reset VI or the Init_DA_Brds function. To reset all devices in Traditional NI-DAQ, right-click the Traditional NI-DAQ Devices folder in MAX and select Reset Driver for Traditional NI-DAQ. Task Name: MWDAT0018 Status Code: -89130

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 9 Apr 2021
Edited: MathWorks Support Team on 9 Apr 2021
National Instruments 社製デバイスを Traditional NI-DAQドライバ(従来型 NI ドライバ)により動作させますと、それ以降は従来型 NI ドライバに関連付けられ、NI-DAQmx からは使用できなくなります。
MATLAB の Data Acquisition Toolbox はこの切り替えができず、このようなエラーとなるケースがあります。 
対策方法:
・もし、Traditional IN-DAQ ドライバの必要が無い場合は、Traditional NI-DAQドライバをアンインストールします。・または、NI社ソフトウェアNI-MAX (Measurement & Automation Explorer)において、Traditional NI-DAQ によるデバイスをリセットします。 
以下の Bug Report もご参照ください。

More Answers (0)

Categories

Find more on Data Acquisition Toolbox Supported Hardware in Help Center and File Exchange

Products


Release

R2007b

Community Treasure Hunt

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

Start Hunting!