LabVIEW-DCAF / MotionModule

The DCAF Softmotion module is aimed towards simplifying the experience of creating embedded motion systems.
Apache License 2.0
2 stars 1 forks source link

Issue in Read Fast VI #74

Closed aggieslaughter closed 6 years ago

aggieslaughter commented 6 years ago

Was seeing a 0 velocity out of the read fast on my end. I looked into the Read Fast VI (this is all while doing a velocity move) - and saw that it was reading the 'Velocity Setpoint'.

I tried to switch that to 'velocity readback' and it returns the velocity as expected. Not sure why setpoint is showing 0 - perhaps something to do with how velocity moves are done - but the velocity readback seems to always give the correct value.

Any idea why velocity setpoint is always returning 0 though?

SimonRPSM commented 6 years ago

Hey there, @aggieslaughter ;

The Velocity Setpoint only is reported by Softmotion under some move types. You'll see it as zero if you make a position move or velocity move but it will be nonzero, if memory serves, when you force a specific velocity setpoint.

I added it for symmetry with the position method, but I can remove it for now if necessary.

SimonRPSM commented 6 years ago

To avoid confusion, I'm making both Read Fast methods into the Feedback ones.