Digilent社のAnalog Discovery 2によるWaveform Function Generationについて
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MASAAKI TAKATA
le 24 Jan 2021
Réponse apportée : Takafumi
le 25 Jan 2021
下記リンク先のData Acquisition Toolbox User’s Guideのp.11-8「Generate a Standard Waveform Using Function Waveform Generator Channels 」の説明について、質問があります。
Data Acquisition Toolbox User’s Guide
説明には、
Specify the output duration to run for 5 seconds and start the generation.
write(d,seconds(5))
とありますが、下記エラーが出ます。
「 エラー: Analog_Output_Sine_Wave (行 30)
Specify scan data as an MxN double matrix, where M is the number of scans and N is the number of output channels. 」
write(d,seconds(5))ではなく、read(d,seconds(5))の間違いだと思いますが、正しいコマンドを教えて頂けないでしょうか?
0 commentaires
Réponse acceptée
Takafumi
le 25 Jan 2021
アナログ出力を参考にされているようです。
アナログ入力については、以下のURLをご覧ください。
https://jp.mathworks.com/help/daq/getting-started-acquiring-data-with-digilent-analog-discovery.html
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Acquisition Toolbox Supported Hardware dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!