I have a simple VI that moves my stepper motor to a specific position (determined externally by a voltage I'm reading), then resets the motor position and the encoder position to both be zero.
The motor position function works ok, but the reset encoder vi returns the -71025 modal error - "The function was not executed because it was attempted at an illegal time".
I've tried moveing the VI around so that it is executed at various times, but it never seems to work. Even executing the VI on it's own seems to fail.
MAX will reset the encoder without a compaint though (using interactive).
This all worked fine until I "upgraded" from NI-Motion v5 to v7 and then labview 6.1 to 8.0.
Any ideas?
Mike Evans
TRW Conekt
N.I. Alliance Member, UK
http://www.Conekt.net