Advanced Search

Search Results (Searched for: )

  • tightmopedman9
  • tightmopedman9
23 Sep 2025 18:14
Replied by tightmopedman9 on topic QtVCP Cannot Connect Message Dialog Box Hal Pin

QtVCP Cannot Connect Message Dialog Box Hal Pin

Category: Qtvcp

OK, the problem was my understanding (or lack thereof) of HAL I/O pins.

I was able to resolve this particular issue by using the custom component passthru from this post: forum.linuxcnc.org/forum/24-hal-componen...id-pin-problems#6489

It looks like I could have also used the existing component TRISTATE_BIT as well.

I guess I don't understand what the purpose of a HAL pin for a dialog box is, if that dialog box can't be set within HAL. Is the idea that the dialog box should only be opened by a Python file?

As for the probe error routine handler function - is there any way to prompt a user and wait for input from within a running python routine?
  • JT
  • JT's Avatar
23 Sep 2025 16:13

FlexGui touch - FSC-like myOwn tab from ext UI file

Category: Flex GUI

I just tried this and it works fine
from functools import partial

def startup(parent):
	parent.slider_1.valueChanged.connect(partial(slider_1, parent))
	parent.slider_2.valueChanged.connect(partial(slider_2, parent))

def slider_1(parent):
	parent.label_1.setText(f'{parent.slider_1.value()}')
	if parent.slider_1.value() >= 15:
		parent.slider_2.setMinimum(80)
	else:
		parent.slider_2.setMinimum(0)

def slider_2(parent):
	parent.label_2.setText(f'{parent.slider_2.value()}')
  • JT
  • JT's Avatar
23 Sep 2025 15:38

FlexGui touch - FSC-like myOwn tab from ext UI file

Category: Flex GUI

That would have to be done in your custom Python code using the sliders valueChanged() signal to trigger a call to your function and use the setMinimum() function of the slider to change the minimum set point.

JT
Displaying 13351 - 13354 out of 13354 results.
Time to create page: 0.899 seconds
Powered by Kunena Forum