2014-12-02 34 views
0

我正在嘗試使用National Instruments USB6009和Matlab(2012a,在Windows 7上)使用數據採集工具箱,但是當我查看設備時,它沒有註冊任何可用數字頻道:National Instruments USB 6009在Matlab中無法識別數字通道

daq.getDevices 

ans = 

ni: National Instruments USB-6009 (Device ID: 'Dev1') 
Analog input subsystem supports: 
    8 ranges supported 
    Rates from 0.1 to 48000.0 scans/sec 
    8 channels ('ai0','ai1','ai2','ai3','ai4','ai5','ai6','ai7') 
    'Voltage' measurement type 

Analog output subsystem supports: 
    0 to +5.0 Volts range 
    Rates from 0.0 to 0.0 scans/sec 
    2 channels ('ao0','ao1') 
    'Voltage' measurement type 

Counter input subsystem supports: 
    Rates from 0.0 to 0.0 scans/sec 
    1 channel ('ctr0') 
    'EdgeCount' measurement type 

我知道這個設備有數字頻道。我已經嘗試了一個備份USB 6008,並得到同樣的問題。

我已經安裝了NI的所有最新驅動程序。我也試過「addDigitalChannel」,但我收到一個錯誤,指出這對於給定的daq是不可能的。

任何想法或建議,將不勝感激。

感謝, 埃裏克

+0

如果您使用Matlab網站,您可能會得到更快的答案,這是一個非常具體的問題。 – 2014-12-02 21:18:02

回答

0

這似乎是用Matlab 2012A的問題。升級到2013b已經解決了這個問題,現在Matlab可以識別NI USB6008/6009 DAQ上的數字通道。

希望這將有助於有人在相同的情況下結束。