Reading an incremental encoder with DAQ toolbox

4 次查看(过去 30 天)
Hi
I am trying to read an incremental encoder with simulink, with no sucess. I am usind a USB daq, and because of that I cannot use the simulink realtime toolbox. The DAQ has an high speedcounter ( counter input) which cannot be used, because the counter input on simulink only works with the RT toolbox,and the DAQ'a DI input only suport a frequency 100 HZ so my hands are tied. had anyone already have this problem? (DAQ = MCC USB 1208fs ) Thanks

回答(1 个)

Chirag Gupta
Chirag Gupta 2011-7-18
You should be able to use counters with the latest Data Acquisition Toolbox, with some of NI boards.
For this particular MCC board, an alternative solution is to either use loadlibrary or create MEX file with the provided API from the Universal Library available with InstaCal

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by