Driving an encoder motor??????????

I used the same motor with labview. I was able to control the position and speed with the commands given in datasheet.