Quote:
Originally Posted by trilogy2826
We are not. I tried to find a reference of the default value and could not locate it. I can't even find a reference to the units this expects (I assume milliseconds). Any ideas?
Could any value for MinRate actually cause an inf as reported?
|
If there's no use of it in the code, it probably isn't the problem. The default value has been fine for me in the past.
Units for it are the same as what come from GetRate(). Basically, if the value that would come out of GetRate falls below MinRate, the cRIO will assume the motor is stopped, set period to infinity, and rate to 0. The default is low enough though that you should be clearing the minimum by just spinning the shaft by hand though.
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"