2011/1/13 Tom Easterday <tom-...@bgp.nu>:
> I have a charge pump board that wants a 3000-15,500Hz signal.  That is slower 
> then my base-thread so I want to create another slower thread for the charge 
> pump.
>
> I have tried many combination using loadrt threads but can't get it to work.  
> The problem (or one problem) is that threads says that the threads should be 
> created in order of fastest to slowest.  In my kinematics.hal file I am using 
> EMCMOT to create a base thread of 21600 and servo thread of 1000000 so when I 
> try in my_machine.hal to do
> loadrt threads name1=cp-thread period1=125000 it complains that it is faster 
> then the existing servo thread.
>
> But I don't see a way to create the thead in EMCMOT.  I have also tried 
> creating all three in loadrt threads but that fails because it appears that 
> the servo thread is getting created even if I remove the specification of the 
> period from EMCMOT config.
>
> Any ideas?
> -Tom

Now You are running Your servo thread at 1kHz. Easy thing to do might
be making servo period 3x shorter so that it runs at 3kHz and then You
could add charge pump to servo thread.

Viesturs

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to