DAQ Triggers in Matlab
Posted
by RidePlanet
on Stack Overflow
See other posts from Stack Overflow
or by RidePlanet
Published on 2009-03-26T01:40:31Z
Indexed on
2010/04/05
21:03 UTC
Read the original article
Hit count: 140
matlab
I'm writing a program that detects the speed of a object by hall effect sensors that are run into MATLAB through a DAQ (MCC USB-1408FS)
The problem that has arisen is that I'm using a non-stop scan technique to detect the state of one of 3 sensors. Unfortunately this means that unless the object is rotating past each sensor at the exact rate the program runs, I will see an instantaneous speed (done by comparing the time between two sensors) of zero.
I need the sensors to signal the program to count when they are hit, instead of constantly scanning for the signal. How can this be done?
© Stack Overflow or respective owner