These is the reply done to me by jeff epler 1 year ago more or less ....
Refer to our testsuite for a simple standalone "UI" program which is tested to correctly link in every build of LinuxCNC. https://github.com/LinuxCNC/linuxcnc/blob/master/tests/build/ui/nml-position-logger.cc For my side is a nice pieces of code that help me to understand the way to exchange nml signal from my c++ gui app to linuxcnc whitout using python. regards bkt Il giorno sab 14 dic 2019 alle ore 12:47 N <nicklas.karlsso...@gmail.com> ha scritto: > Position logger is inteded for what? > > > > position logger is on test folder .... but the problem was absolute path > of > > linuxcnc.nml file ..... position_logger.cc when compile and launch need > > arguments .... linuxcnc.nml file is the preferred one but absolute path > is > > needed in any case (in my case i work inside linuxcnc-dev folder). > > > > regards > > bkt > > > > Il giorno sab 14 dic 2019 alle ore 11:33 N <nicklas.karlsso...@gmail.com > > > > ha scritto: > > > > > Not sure what position_logger.cc is and do not find the file then > > > searching but myself used sampler, it could also log position or > whatever > > > signal is selected. > > > > > > > > > > About position_logger.cc and my bad memory .... if I use xemc as > nmlfile > > > > obtain these error: > > > > > > > > bkt@bkt:~/linuxcnc-dev$ '/home/bkt/linuxcnc-dev/lib/logger' xemc > > > > libnml/cms/cms_cfg.cc 623: cms_config: can't open 'xemc'. Error = 2 > -- No > > > > such file or directory > > > > libnml/nml/nml.cc 370: NML: cms_config returned -1. > > > > > > > > ********************************************************** > > > > * Current Directory = /home/bkt/linuxcnc-dev > > > > * > > > > ********************************************************** > > > > * BufferName = emcStatus > > > > * ProcessName = xemc > > > > * Config File = xemc > > > > * error_type = 0 (NML_NO_ERROR) > > > > ************************************************************ > > > > > > > > obviously a linuxcnc Axis gui is open in my desk .... > > > > > > > > _______________________________________________ > > > > Emc-users mailing list > > > > Emc-users@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/emc-users > > > > > > > > > _______________________________________________ > > > Emc-users mailing list > > > Emc-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/emc-users > > > > > > > _______________________________________________ > > Emc-users mailing list > > Emc-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/emc-users > > > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users