Re: [Emc-users] Can gladevcp apps be run without AXIS, relying only on HAL ?
andy pugh wrote: > (As an aside, that does mean that you could set up a delay-line by > deliberately running functions out of sequence) > My E-stop scheme for the various Pico Systems interfaces use this trick. Since both software and the hardware interface can command an E-stop, the hal file asks the interface to come out of E-stop, but then doesn't check the current result until the next servo cycle, to give the hardware time to actually complete the task. If the hal code didn't wait a cycle, it would always find the interface in the E-stop condition, and you couldn't get out of E-stop. Jon -- 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Can gladevcp apps be run without AXIS, relying only on HAL ?
On 22 July 2011 03:28, Michael Haberler wrote: > I think one would need to keep its limitations in mind - it's a > pick-and-wire-components thing, and if you need more than a 'instantaneous > propagation of int/bool/float values' paradigm you'd be hard pressed to > invent a mechanism which adds that in a remotely harmonic fashion. It isn't actually instantaneous, the functions run in a strict sequence. I think I saw a way to move functions round in the sequence, but can't see it now, so might be imagining things. This can be important, you generally want to run a function before you use its results, though generally you won't notice the delay. (As an aside, that does mean that you could set up a delay-line by deliberately running functions out of sequence) -- atp "Torque wrenches are for the obedience of fools and the guidance of wise men" -- 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Can gladevcp apps be run without AXIS, relying only on HAL ?
interesting idea. HAL is IMO one of the strongest assets of EMC. It's a lego space which enables mix-and-match and has user extensibility, other than other parts of EMC. It is a tempting idea to spin it out and make it usable without the rest of the EMC baggage, possibly in some very different setting. I think one would need to keep its limitations in mind - it's a pick-and-wire-components thing, and if you need more than a 'instantaneous propagation of int/bool/float values' paradigm you'd be hard pressed to invent a mechanism which adds that in a remotely harmonic fashion. Think about event logs and history. While we are at it - I'd love a good matplotlib widget example for gladevcp along these lines: http://www.serpia.org/blog/2007/nov/03/matplotlib-and-pygtk-app/ ;-) - Michael Am 21.07.2011 um 19:39 schrieb Javier Ros: > Michael, > > Thanks very much. > > By "starting from just a HAL session", I mean to do something similar to the > tutorial on HAL (in the HAL manual), in which you use "halrun" to load > different components > and to connect them together. > -- 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Can gladevcp apps be run without AXIS, relying only on HAL ?
Michael, Thanks very much. By "starting from just a HAL session", I mean to do something similar to the tutorial on HAL (in the HAL manual), in which you use "halrun" to load different components and to connect them together. To be able to launch a gladevcp application, so that it can be used as a interface application to arbitrary hardware or RT componentes, would be great!. I understand form your emails that this is indeed possible :) . IMO, this amount as to have a kind of simulink or labview, really easy to use but focused on RT applications running on linux compatible hardware, and ready to work with different RT systems: Hard RT -> RTAI, LinuxRT Almost Hard RT -> Preempt-RT Soft RT -> Threads I'm beginning to think that HAL, could be a package on its own, and maybe galdevcp, and any other part you to develop RT control / simulation,... to be deployed in general terms not necessarily related to machining machining applications. My thesis is that HAL high quality layer over a different RT paradigms that makes really easy to any body to work with such a kind of systems. Form my working directly with RTAI or Threads is much more complex, and I don't feel at least at the moment that I'm loosing anything important (including performance) when I'm working with HAL. I think that this can be really useful for a lot of people, not only people wiling to do machining, and that this can attract more people to work these projects, and may be to make easier the maintenance of the whole EMC ecosystem in the long term. What is your opinion?. Thank you, Javier On Tue, Jul 19, 2011 at 4:42 PM, Michael Haberler wrote: > after playing with it: > > yes you can > > no, motion is not part of it (moving motors and stuff) because that's a > realtime component which assumes NML communication > > -m > > Am 19.07.2011 um 16:34 schrieb Michael Haberler: > >> >> Am 19.07.2011 um 11:31 schrieb Javier Ros: >> >>> Hi, >>> >>> I wonder if gladevcp application can be started up just from a HAL >>> session, as an >>> standalone application not depending on AXIS or other interface, but just >>> on a >>> developer's choice of hal components?. >> >> Javier - >> >> I'm a bit unclear what you mean by "starting from just a HAL session" - do >> you mean "without interpreter and task executor"? >> >> If this is what you're referring to: I would guess that would be a HAL-only >> application without any of NML-based components like UI, task, interpreter, >> iocontrol >> >> without testing it I would think that would amount to: >> - modifying the emc shell script to not start milltask, the UI, and iocontrol >> - modify it to start your gladevcp app >> >> I would think it is possible to run just HAL, yes - I'd need to check if >> there are any references in the HAL widgets to the emc and gcode Python >> modules which assume task and interpreter >> >> -Michael >> >> >> -- >> Magic Quadrant for Content-Aware Data Loss Prevention >> Research study explores the data loss prevention market. Includes in-depth >> analysis on the changes within the DLP market, and the criteria used to >> evaluate the strengths and weaknesses of these DLP solutions. >> http://www.accelacomm.com/jaw/sfnl/114/51385063/ >> ___ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users > > > -- > Magic Quadrant for Content-Aware Data Loss Prevention > Research study explores the data loss prevention market. Includes in-depth > analysis on the changes within the DLP market, and the criteria used to > evaluate the strengths and weaknesses of these DLP solutions. > http://www.accelacomm.com/jaw/sfnl/114/51385063/ > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > -- 5 Ways to Improve & Secure Unified Communications Unified Communications promises greater efficiencies for business. UC can improve internal communications as well as offer faster, more efficient ways to interact with customers and streamline customer service. Learn more! http://www.accelacomm.com/jaw/sfnl/114/51426253/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Can gladevcp apps be run without AXIS, relying only on HAL ?
after playing with it: yes you can no, motion is not part of it (moving motors and stuff) because that's a realtime component which assumes NML communication -m Am 19.07.2011 um 16:34 schrieb Michael Haberler: > > Am 19.07.2011 um 11:31 schrieb Javier Ros: > >> Hi, >> >> I wonder if gladevcp application can be started up just from a HAL >> session, as an >> standalone application not depending on AXIS or other interface, but just on >> a >> developer's choice of hal components?. > > Javier - > > I'm a bit unclear what you mean by "starting from just a HAL session" - do > you mean "without interpreter and task executor"? > > If this is what you're referring to: I would guess that would be a HAL-only > application without any of NML-based components like UI, task, interpreter, > iocontrol > > without testing it I would think that would amount to: > - modifying the emc shell script to not start milltask, the UI, and iocontrol > - modify it to start your gladevcp app > > I would think it is possible to run just HAL, yes - I'd need to check if > there are any references in the HAL widgets to the emc and gcode Python > modules which assume task and interpreter > > -Michael > > > -- > Magic Quadrant for Content-Aware Data Loss Prevention > Research study explores the data loss prevention market. Includes in-depth > analysis on the changes within the DLP market, and the criteria used to > evaluate the strengths and weaknesses of these DLP solutions. > http://www.accelacomm.com/jaw/sfnl/114/51385063/ > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users -- Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Can gladevcp apps be run without AXIS, relying only on HAL ?
Am 19.07.2011 um 11:31 schrieb Javier Ros: > Hi, > > I wonder if gladevcp application can be started up just from a HAL > session, as an > standalone application not depending on AXIS or other interface, but just on a > developer's choice of hal components?. Javier - I'm a bit unclear what you mean by "starting from just a HAL session" - do you mean "without interpreter and task executor"? If this is what you're referring to: I would guess that would be a HAL-only application without any of NML-based components like UI, task, interpreter, iocontrol without testing it I would think that would amount to: - modifying the emc shell script to not start milltask, the UI, and iocontrol - modify it to start your gladevcp app I would think it is possible to run just HAL, yes - I'd need to check if there are any references in the HAL widgets to the emc and gcode Python modules which assume task and interpreter -Michael -- Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Can gladevcp apps be run without AXIS, relying only on HAL ?
Hi, I wonder if gladevcp application can be started up just from a HAL session, as an standalone application not depending on AXIS or other interface, but just on a developer's choice of hal components?. Thank you, Javier -- Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users