On Thu, 09 Sep 2010 13:10 -0500, "Stuart Stevenson" <stus...@gmail.com>
wrote:
> How do I run halscope in the base thread?

That shouldn't be neccessary, if you are running your tool change
component and the edge component in the servo thread.  But if you
want to try anyway, hit the button at the top right of the horizontal
part of the halscope screen.  (The one that says N samples at M
sample rate.)  It should open a dialog that lets you set the sample
rate (which really means letting you chose what thread does the
sampling).

> 
> I get the same double count using the falling edge.
> 

Is the "out_width_ns" parameter of the edge component zero?

Any positive value (even 1 nanosecond) will result in the component
producing an output pulse that is at least two cycles long, which
would result in a double count.  Zero is the default value for
that parameter, but you might be setting it to something else, or
something might be broken - verify the value with halcmd show.

John Kasunich
-- 
  John Kasunich
  jmkasun...@fastmail.fm


------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to