Hi Johnsold,
thanks for your reply. Yes, no attempt to measurement in the previous VI because it was the script for the motors movement. Attached you can find a new version, do you think this is the proper way to do it? (I got the subVI for measurement from the net).
One doubt: when I move the motor X from X1 to X2, I tell it "Time to wait" in order to wait. The idea was make the measurement in this time, but I do not know how to relate this time to wait with the measurement action.
Thank you very much!!