How to get pulse counts of incremental encoder by NI PCIe-6323 and matlab simulink desktop real-time?

2 ビュー (過去 30 日間)
I am trying to use a National Instruments PCIe-6323 DAQ with simulink desktop real-time and a quadrature encoder. However, when I run the below model, I get the results as show in scope. My encoder's resolution is 5000r/p and it has A, B and Z. I connect the encoder to NI board correctly according to the below table. So what should I do to fix this problem? Thanks very much.

回答 (0 件)

カテゴリ

Help Center および File ExchangeModel Preparation for Real-Time Simulation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by