On Saturday, May 05, 2012 01:08:12 PM Andy Pugh did opine: > On 5 May 2012, at 13:46, gene heskett <[email protected]> wrote: > > Which seems to say that the out1 name string in the first format, > > becomes the signal1 name string in the second format? > > I have no idea what you mean, but I think you have it wrong. > "signal1" will take the value of "out1" and copy that value to any pins > which share a net command with it, anywhere in that (or any other ) > HAL file.
So I cannot use that signal1 defined name as an 'out1' in another net statement, but must add the other targets/pins in the same line it is defined in. A restriction I hadn't counted on. But that I can probably sort ok. > The order of "net" commands is not important, but functions > execute in the order they are addf-ed. (unless you deliberately add > them at the beginning or end with the "position" argument. (the name of > which I am guessing as I am on my phone) That may indicate I need to re-arrange that section. So 'encoder.capture- position' needs to be in front of pwmgen.update for instance, if the idea is to apply a correction value developed in that same servo-thread instance as opposed to the next iteration. Thanks Andy. Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) My web page: <http://coyoteden.dyndns-free.com:85/gene> Porsche: there simply is no substitute. -- Risky Business ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
