Console stops displaying messages

Moderators: TomKerekes, dynomotion

Post Reply
Moray
Posts: 302
Joined: Thu Apr 26, 2018 10:16 pm

Console stops displaying messages

Post by Moray » Fri Sep 21, 2018 9:47 pm

I'm guessing this has something to do with communication priorities, but when I've got KMotion and KMCNC running, then run my app via Visual Studio, messages stop being displayed on the console. The only way to get them to then display is to close and reopen KMotion. Everything else I've looked at KMotion is still updating as I'd expect.
Is this to be expected, or is there something I can do to keep the console working?

It's not a major problem, but it's helpful having the console open in the background to display messages from the KFlop.

User avatar
TomKerekes
Posts: 2741
Joined: Mon Dec 04, 2017 1:49 am

Re: Console stops displaying messages

Post by TomKerekes » Fri Sep 21, 2018 10:29 pm

Hi Moray,

The KMotionServer sends Console Messages to the last Application that requested to receive them. Possibly your App is registering the callback to take the messages away from KMotion and then not displaying them?
Regards,

Tom Kerekes
Dynomotion, Inc.

Moray
Posts: 302
Joined: Thu Apr 26, 2018 10:16 pm

Re: Console stops displaying messages

Post by Moray » Fri Sep 21, 2018 10:57 pm

There's no possibly about it, my app doesn't do anything with messages.

I'll add some code so messages are displayed directly in my app.

Post Reply