Azzera filtri
Azzera filtri

Reading an incremental encoder with DAQ toolbox

1 visualizzazione (ultimi 30 giorni)
Pedro Henrique
Pedro Henrique il 18 Lug 2011
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

Risposte (1)

Chirag Gupta
Chirag Gupta il 18 Lug 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

Categorie

Scopri di più su Simultaneous and Synchronized Operations in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by