On Wed, 2012-02-08 at 18:09 +0100, Spiderdab wrote: ... snip > Thanks for answering. The charge-pump works with the charge-pump rt > component into hal, i just wanted to gain some suggestion on using a > dedicated new thread or if it's ok to use base-thread. > > Following your memory, i'll try to use also a different period for the > charge pump. let's say 10kHz, that is my base-thread. ... snip
I think you can use whatever thread comes closest to the frequency you need. Finding out what the pump detector will work with could be the hard part. I suppose you could use the HAL tutorial to get yourself into halrun and set up a single thread, charge pump and connection to the parallel port pin 17. Then measure the ENABLE voltage with different thread speed settings. This should give you an idea of how wide the valid frequencies are. I now seem to recall just setting a base thread as fast as my computer could go, and did a AXIS configuration with a frequency generator output. Either way works. My guess though, is 10 kHz is close enough. -- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/index.html California, USA ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
