Reading an incremental encoder with DAQ toolbox
4 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Chirag Gupta
on 18 Jul 2011
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
0 Comments
See Also
Categories
Find more on Simulink Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!