Hello All,

 I want to create a base thread as a fast thread than my servo thread.
 I have 3 files :
1. TFP_Steurung.ini - In this file, I have under [EMCMOT] section, SERVO_PERIOD 
= 1000000(1 ms)
 Should I put my BASE_PERIOD = 100000 (100 microsec) ?
2. TFP_Steurung.hal - In this file, I want to attach the base-thread to my 
function.   But, right now when I do, it says base-thread does not exist. Which 
means it's not created.
 3. emc-gui/src/emc/motion/motion.c In this file, I have a piece of code where 
its mentioned create base thread only if its faster than servo thread. Right 
now, its equal to servo period.

I tried to change base  period, but seems my file dosen't compile. I don't have 
any idea how to compile this file. Can you please suggest something how to 
compile ? Because I put my rtapi_print msgs and it also doesnt appear in dmesg.

I checked in emc-gui/docs/INSTALL these are the steps but not sure if this will 
disturb some linuxcnc settings :

File : 

emc-gui/docs/INSTALL 


"From the top level directory, switch to the source directory:

cd src

In the source directory, build LinuxCNC:

./autogen.sh  (this builds the configure script)
./configure [--with-realtime=uspace|/usr/rtai...]
make clean
make
sudo make setuid

to run the software go back to the top level directory, and issue:

source scripts/rip-environment
linuxcnc
"
 
    
Can you please suggest me the changes I need to make to create a base thread.?
THank you 


Best Regards,ADit Bhargava




    

  
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to