Thats what im currently doing, I am tracking the position using the encoder and scaling it using the resolution of the drive in order to get it in units of steps.
The issue I am having is when I tell the motor to go to small angles it has been overshooting the position. The issue is that the overshooting is not the same all the time and it only happens to very small angles.
I know how SPM works, my question was how to implement SPM on labview. For example how do I create a subroutine for SPM that my main VI can call in order to check error in motion. I am currently checking motion using a VI I wrote myself.