06-01-2007 09:02 AM
I amusing a NI-7334. I have two THK linear encoders connected to it. I can read the encoders OK, but I cannot seem to reset them. When I start my application I call:
status = flex_reset_encoder(BOARD_ID, NIMC_ENCODER3, 0, HOST);
status = flex_reset_encoder(BOARD_ID, NIMC_ENCODER2, 0, HOST);I then read the encoder vale and it has some valeu other than 0.
I would expect this to set the encoder value to 0. This does not seem to have any effect. I tried reseting them to a value of 100 and still no effect.
Does anybody have any thoughts?
Thanks,
Chris
06-01-2007 09:11 AM
06-01-2007 09:15 AM
Jochen,
Thanks for the response.
I did see that in the documentation.
I am running stepper motors in open loop mode. The encoders are behaving as independant encoders.
Chris
06-01-2007 10:03 AM
06-05-2007 02:39 PM
That did it.
Thanks