INFO and DEBUG messages

More
6 years 1 month ago #182322 by phillc54
Is there a way to prevent the displaying of INFO and DEBUG messages like the below when embedding Qtcvp into Axis?

Attachment not found

Please Log in to join the conversation.

More
6 years 1 month ago #182325 by cmorley
Replied by cmorley on topic INFO and DEBUG messages
How were u loading it?

Please Log in to join the conversation.

More
6 years 1 month ago #182326 by phillc54
Replied by phillc54 on topic INFO and DEBUG messages
like so:
Code:
[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 to join the conversation.

More
6 years 1 month ago #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 to join the conversation.

More
6 years 1 month ago #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 to join the conversation.

More
6 years 1 month ago #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 to join the conversation.

More
6 years 1 month ago #182334 by phillc54
Replied by phillc54 on topic INFO and DEBUG messages

cmorley wrote: 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 to join the conversation.

More
6 years 1 month ago #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 to join the conversation.

More
6 years 1 month ago #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)

Please Log in to join the conversation.

More
6 years 1 month ago #182344 by phillc54
Replied by phillc54 on topic INFO and DEBUG messages

cmorley wrote: 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 to join the conversation.

Time to create page: 0.086 seconds
Powered by Kunena Forum