Reading an incremental encoder with DAQ toolbox

1 view (last 30 days)
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

Answers (1)

Chirag Gupta
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

Categories

Find more on Simultaneous and Synchronized Operations 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!