NI problem creating ai channel

19 ビュー (過去 30 日間)
Stephan Grobler
Stephan Grobler 2014 年 4 月 7 日
コメント済み: Stephan Grobler 2014 年 6 月 27 日
Why would I get the following error when trying to add an analog input channel?
"No appropriate method, property, or field ChassisName for class daq.ni.DeviceInfo."
Using Matlab 2013a NI cDAQ 9188 compactDAQ 8 slot Ethernet Chassis (static IP on University Network) NI 9234 ( 4-channel Piezoelectric accelerometer) module
The NI cDAQ 9188 uses the session based interface. The following code is used:
_s = daq.createSession('ni'); [ch, idx] = s.addAnalogInputChannel('cDAQ9188-16D666AMod1','ai1','Accelerometer'); _

採用された回答

Roja
Roja 2014 年 6 月 26 日
This issue might have been caused by the compact DAQ Ethernet connected chassis (NI 9188) or compact DAQ device carrier being in an improperly configured state in the vendor software utility (NI MAX), which manages the connection of network connected devices.
Try "daq.getDevices" to find if there are any unsupported devices.If any unsupported network device is found then disconnect it .But, Before physically disconnecting a network device/chassis, make sure it's first unreserved in NI-MAX. If disconnected while still reserved, delete the chassis/device in NI-MAX.
  1 件のコメント
Stephan Grobler
Stephan Grobler 2014 年 6 月 27 日
Thank you so much for the answer. We could resolve the problem with Matlab's help by deleting the unsupported devices in NI-MAX.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeHardware Discovery and Setup についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by