Debugging components

More
06 Oct 2009 08:29 #924 by nickm
Debugging components was created by nickm
Hi!

I'm writing my first component (the gearchange-thread I started weeks ago).

Now, I'd like to have some printf to see what I do wrong. Doesn't matter if it has to be removed later, the most primitive solution is OK.

How do I do that?

Thanks!
Nick

Please Log in or Create an account to join the conversation.

More
10 Oct 2009 03:51 #934 by mozmck
Replied by mozmck on topic Re:Debugging components
I think you want the rtapi_print(...) or rtapi_print_msg(...)function. I believe this will pop up a little window in Axis with your message.
See here for documentation: www.linuxcnc.org/docview/html//man/man3/rtapi_print.3rtapi.html

Moses

Please Log in or Create an account to join the conversation.

Time to create page: 0.098 seconds
Powered by Kunena Forum