On Friday 07 April 2017 14:24:35 andy pugh wrote:

> On 7 April 2017 at 17:32, Peter C. Wallace <p...@mesanet.com> wrote:
> > You can use the tmax parameters for each function to see the worst
> > case times, and the corresponding time pins to get an idea of the
> > average times.
>
> There is an easier way.
>
> "halcmd show thread" will show how long each thread takes to run, and
> what the longest time it has taken to run is.
> It also show the functions in the thread, in running order.

Thats interesting too. Servo-thread claims 920xxx max, recent in the 
250xxx range.  This is live, running loops of lathe_pawn.ngc.

My jog-thread range, which I set back to 100Hz, is showing a max of just 
under 900xxx, with recent being in the 40xxx + an occasional shot of 
60xxx. But theres no activity there when its running code. And when its 
not running code, who cares if its a bit late doing the processing?  
joints apparently care but thats what I see on screen, but if I look at 
the joint-is-errored pin its NOT there. WTH?  I looked up minmax, but 
its FP, and I need an int for this.  Probably signed.

I dbl checked those boards from OSHPark for the spi hookup, and while the 
printouts show ONLY the 4 signal wires, an ohmmeter says the ground 
inter-connections are present and accounted for, so I'm going to order 
enough connectors and resistors to make up the 3 I have.  The errors I 
actually see carry all the tatoo's of a comm error in my mind. Its a 
frame of scrambled data FROM the 7i90 IMO as even the tach in the pyvcp 
added gui takes a big jump at the instant of the error.

Thanks Andy.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to