Reading an incremental encoder with DAQ toolbox

4 ビュー (過去 30 日間)
Pedro Henrique
Pedro Henrique 2011 年 7 月 18 日
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 Center および File ExchangeSimulink Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by