#emc-devel | Logs for 2006-10-19
jmkasunich2: does it look like your getting out?
oops - didn't notice the convorsation on #emc
the pwmgen issue was me - working now - used max-dc also - very nice.
jmkasunich2: do you have time to answer a HAL/RTAPI question?
I wrote this test to make sure that two threads were getting their iterations interleaved in the right way
but in retrospect I'm surprised it works
in the fast thread, a counter is incremented and then sampled. in a slow thread, the counter is reset to 0
the ratio is 1:10, so it counts from 1 to 10 over and over again
what surprises me is that even on the first iteration after 'halcmd start' it counts up to 10. I don't see what part of the code would ensure that 'halcmd start' happens when it's at the beginning of one of these repeating cycles, instead of in the middle
so the first time it might count 1 2 3 4 5 <SLOW THREAD EXECUTES> 1 2 3 4 5 6 7 8 9 10 <SLOW THREAD EXECUTES>
sorry, I wandered
are you talking about the sim, or RT?