On Thursday 07 August 2014 17:01:09 Gene Heskett did opine And Gene did reply: > Greetings; > > I am trying to use the lowpass filter in uptodate 2.6.1 > > From the .hal file: > loadrt lowpass names=lowpass.spindle > addf lowpass.spindle servo-thread > setp lowpass.spindle.gain .05 > net spindle-vel-fb hm2_5i25.encoder.00.velocity lowpass.spindle.in > > To Test, start spindle at about 250 revs, call up a halmeter & look at > lowpass.spindle.in, its the same as the 5i25's output, as expected. > > Switch the halmeter to lowpass.spindle.out and it displays -nan. > At any commanded spindle speed including stopped. > > Am I doing something wrong, or has the lowpass module been infected > with bit rot? > > Thanks guys. > > Cheers, Gene Heskett
I may have found the problem, and I would call it a bug in that it appears the use of a name isn't fully supported. I went back to the loadrt lowpass count=1 syntax, changing all the references to lowpass.0.in (or out) and I believe it to be working now. So the use of loadrt lowpass names=lowpass.whatever syntax doesn't appear to result in a working lowpass here at the Heskett Ranchette. The manpage may even have a clue as it includes the names= thing in the loadrt example line, but all other examples show it as lowpass.N only. That in fact was what gave me the hint to try the number instead of the name for the instance. Its early & unseasonably cool here this morning, so I've not been out to actually run the machine yet. -ENOTENOUGHCOFFEE yet. But its brewing. :) 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> US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
