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 CenterFile Exchange 中查找有关 Model 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