INFO and DEBUG messages

More
16 Sep 2020 02:41 - 16 Sep 2020 02:42 #182322 by phillc54
Is there a way to prevent the displaying of INFO and DEBUG messages like the below when embedding Qtcvp into Axis?

File Attachment:

File Name: qtvcp-messages.txt
File Size:5 KB
Attachments:
Last edit: 16 Sep 2020 02:42 by phillc54.

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

More
16 Sep 2020 02:53 #182325 by cmorley
Replied by cmorley on topic INFO and DEBUG messages
How were u loading it?

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

More
16 Sep 2020 02:55 #182326 by phillc54
Replied by phillc54 on topic INFO and DEBUG messages
like so:
[DISPLAY]
EMBED_TAB_NAME          = Camera
EMBED_TAB_COMMAND       = halcmd loadusr -Wn qtvcp_embed qtvcp -d -c qtvcp_embed -x {XID} cam_align

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

More
16 Sep 2020 03:02 #182327 by cmorley
Replied by cmorley on topic INFO and DEBUG messages
Take the -d out and see how much that helps.

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

More
16 Sep 2020 03:09 #182329 by phillc54
Replied by phillc54 on topic INFO and DEBUG messages
No apparent difference. It is not a showstopper, just a lot of unnecessary (if not debugging) messages.

Apparently I also need some MDI commands to go with this screen. Any hints on where to find them and how to apply them?

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

More
16 Sep 2020 03:41 #182333 by cmorley
Replied by cmorley on topic INFO and DEBUG messages
surprisingly this was answered here recently:
forum.linuxcnc.org/qtvcp/40032-qtvcp-cam-view-dialog?start=0

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

More
16 Sep 2020 03:54 #182334 by phillc54
Replied by phillc54 on topic INFO and DEBUG messages

surprisingly this was answered here recently:
forum.linuxcnc.org/qtvcp/40032-qtvcp-cam-view-dialog?start=0

Thanks Chris, my search foo is broken :blush:

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

More
16 Sep 2020 04:10 #182337 by phillc54
Replied by phillc54 on topic INFO and DEBUG messages
Is it possible to read the rotation of the crosshairs so we could add a rotation to the origin.

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

More
16 Sep 2020 04:20 #182339 by cmorley
Replied by cmorley on topic INFO and DEBUG messages
I haven't tried it but you could add a custom handler file in your config folder to extract the rotation (self.rotation) and send it out as a HAL pin. Would that work?

It's easier to do these things if using a QT based screen (Don't need to use a HAL pin)
The following user(s) said Thank You: phillc54

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

More
16 Sep 2020 04:29 #182344 by phillc54
Replied by phillc54 on topic INFO and DEBUG messages

I haven't tried it but you could add a custom handler file in your config folder to extract the rotation (self.rotation) and send it out as a HAL pin. Would that work?

I think that would be OK, this is just someting I am toying with at the moment.


It's easier to do these things if using a QT based screen (Don't need to use a HAL pin)

Yes, I imagine it would be, one day...
I am wary of making a real screen until the Python3 changover is complete.

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

Moderators: cmorley
Time to create page: 0.093 seconds
Powered by Kunena Forum