qdragon.var file from PYTHON

More
4 years 7 months ago #236128 by Mduran
Some way to use the parameters of the qdragon.var file from Python code in the same way that they can be declared from MDI (example: #4000 = 60)

Please Log in to join the conversation.

More
4 years 7 months ago #236147 by andypugh
I think you could probably just read the file into a string and parse it.
(I would probably use regex)

Please Log in to join the conversation.

More
4 years 7 months ago #236152 by cmorley
I'm not exactly sure how you want to use the varfile data.

You can, qtvcp widget origin_offsetview does this.
You must be careful when you read/write to it as linuxcnc does not monitor it for external changes and only syncs the file at specific times.

Please Log in to join the conversation.

Time to create page: 0.136 seconds
Powered by Kunena Forum