Advanced Search

Search Results (Searched for: )

  • Johnnysacalu
  • Johnnysacalu
03 Jul 2025 16:01
Replied by Johnnysacalu on topic Configuración thcad2 con mesa 7i96s

Configuración thcad2 con mesa 7i96s

Category: General LinuxCNC Questions

Ahora otra pregunta yo mido con un multimetro la salida del plasma la que va al thc lo mido en DC y me da mas de 600V que es en maximo de mi multimetro asi que no se cuanto exactamente, tengo una resistencia de 2,4 mohm en serie en el “negativo” si mido después de la resistencia me da 104V.

Que tengo que hacer?
  • cmorley
  • cmorley
03 Jul 2025 15:54 - 08 Jul 2025 01:16
Replied by cmorley on topic Import pin value in handler.py

Import pin value in handler.py

Category: Qtvcp

No.
to write to a pin you made in qtdragon handler depends on how you made a reference to it.
for instance if you created the pin like this:
self.myPin = QHAL.newpin("MyPin", QHAL.HAL_BIT, QHAL.HAL_OUT)

then you could use:
self.myPin.set(True)

or it you didn't keep a reference to the pin (the 'self.myPin' part)
self.h.myPin.set(True)

To write to a system pin directly (it can't be connected to anything)
QHAL.setp('qtdragon.myPin','1')

or
self.h.hal.set_p("qtdragon.myPin","1")
Displaying 14731 - 14732 out of 14732 results.
Time to create page: 0.710 seconds
Powered by Kunena Forum