hi at all,

i try to manage halui.cc to perform a remote-halui.cc using ethernet/ip or
powerlink or ethercat. My intent is to create a special ".ini" file for
choose comunication type and insert comunication options. After these
instead using HALUI = halui, write HALUI = remote-halui and go.

I see that there are few things to modify into halui.cc, the most important
are these:

static int emcErrorNmlGet()
{
    int retval = 0;

    if (emcErrorBuffer == 0) {
    emcErrorBuffer =
        new NML(nmlErrorFormat, "emcError", "xemc", emc_nmlfile);
    if (!emcErrorBuffer->valid()) {
        delete emcErrorBuffer;
        emcErrorBuffer = 0;
        retval = -1;
    }
    }

    return retval;
}


    if ((emc_debug & EMC_DEBUG_NML) == 0) {
    set_rcs_print_destination(RCS_PRINT_TO_STDOUT);    // inhibit diag
    // messages
    }

actually debug messages is print to stdout ... and is quite simple print it
on bus .... but for emcerror buffer is possible convert it onto a sor of
register instead send everytime the long string messages? if yes there are
database/file of standard error messages? How Lcnc generate error-messages?

thanks in advance
bkt
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to