2011/12/30 andy pugh <bodge...@gmail.com>:
> On 30 December 2011 12:47, Viesturs Lācis <viesturs.la...@gmail.com> wrote:
>
>> http://git.linuxcnc.org/gitweb?p=emc2.git;a=blob;f=src/hal/components/or2.comp
>>
>> Now last line is:
>> FUNCTION(_) { out = in0 || in1; }
>>
>> For or4 it should be:
>> FUNCTION(_) { out = in0 || in1 || in2 || in3; }
>
>> To install it in existing EMC, You need:
>> 1) get EMC source from Git, just follow instructions here:
>
> There is no need to get the source for such a simple function, you can
> use "sudo comp --install or4.comp" on a standard installation.
> (I just tried it)
>

Yes, You are right, sorry for not stating that clearly - Getting
source code is meant only for obtaining the code to modify.
It is not a prerequisite for the rest of the points in that list.

Of course, any user can go to git.linuxcnc.org and copy the contents
of the particular file, then the first point can be skipped.
I just think that getting whole source from git is better approach,
because it saves time for other customizations in future - then the
source for other HAL components or kinematics modules or whatever else
is obtained - who knows, which thing might be needed to modify next?
:)

Viesturs

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to