linuxcnc.command.flood taking a long time to complete..

More
24 Feb 2022 00:01 #235668 by sagreen
I'm doing some experimenting with the linuxcnc python interface running on the latest version of PathPilot.

I'm executing this code... (this is a fragment)
   
self.lc = self.linuxcnc.command()
...
    elif ( cmd[0] == self.CMD_FLOOD ):
        error_handler.log("in CMD_FLOOD")
        self.lc.flood(1)
        error_handler.log("after CMD_FLOOD")

The error_handler.log function I'm using from pathpilot. It has timestamps so I know when the message was written.

The command lc.flood(1) is taking a full 5 seconds to complete. Is this normal? Any ideas how to speed it up as its almost unusable in its current state.

Thank you,
Scott...

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

More
24 Feb 2022 06:41 #235678 by cmorley
What mode are you in when setting flood on?
The command loos good so it's some other related problem.
you can some times use linuxcnc's status program to see what's going on compared to another gui.

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

Time to create page: 0.053 seconds
Powered by Kunena Forum