Frank Posted March 3, 2004 Report Posted March 3, 2004 Hi TK,I've been fooling around with the above example application and have discovered this problem :-If you moved an encoder, the corresponding ledring displays smoothly and correctly. After recording the movements in the host software, the playback of the ledrings tends to flicker with wrong values.You would be able to see it clearly if you just record for encoder values that light up to 4 leds. On playback at random intervals some leds higher than this will light up too.I dont think its my setup cos i substituted with a mb64e firmware into the same setup and it doesnt exhibit this problem .Any input would be greatly appreciated.PeaceFrank Quote
TK. Posted March 3, 2004 Report Posted March 3, 2004 Hi Frank,I will try to reproduce this.I never tested this code... since I don't own so much ledrings ;-)Best Regards, Thorsten. Quote
Frank Posted March 9, 2004 Author Report Posted March 9, 2004 Hi TK,Just checkin in. Do you have time to look into the abovementioned problem?ThanksFrank Quote
TK. Posted March 10, 2004 Report Posted March 10, 2004 Hi Frank,I haven't found the time to check this yet, but I guess that it could be a performance issue with the encoder driver, since I haven't taken the CPU load into account during the last changes (means: if this is the reason, it can be solved by spenting some special effort on the optimization).Could you please check if the LED rings still display wrong patterns when only 48 or 32 encoders are defined in mios_tables.inc? Just remove the 48th or 32th encoder entry and replace it by ENC_EOT to terminate the table.If it works thereafter, I know where I need to optimize MIOS.Best Regards, Thorsten. Quote
Frank Posted March 11, 2004 Author Report Posted March 11, 2004 ok, no problems i can check this out and i'll get back to you :)PeaceFrank Quote
Frank Posted March 11, 2004 Author Report Posted March 11, 2004 Hi TK,You are correct in your guess. I removed the 48th encoder and replaced with ENC_EOT , and the problem was solved. So it requires optimization.Thank youFrank Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.