Advanced Search

Search Results (Searched for: )

  • FedX
  • FedX
15 Oct 2024 15:55 - 16 Oct 2024 07:44
KeyError vtk_backplot was created by FedX

KeyError vtk_backplot

Category: QtPyVCP

hi,

i'm not sure if this is a bug or not.. I'm using the devolper version and even re installed it. 

When changing the WCS to another than G54 directly after referencing the machine, i will get a backplot error when loading a nc program. I use the example ones "3D_CHIPS.ngs and THREADING.ngc..

File: vtk_backplot.py line 767, in load_program
point_01_pos = self.path_offset_start_point[prev_wcs_index]

it happens here:
            LOG.debug("
length(path_actors): {}".format(len(self.path_actors)))
            if len(self.path_actors) > 1:
                # Load the start point of rapid from the next offset paths
                LOG.error(f"prev_wcs_index {prev_wcs_index} not found in path_offset_start_point")
                point_01_pos = self.path_offset_start_point[prev_wcs_index]

out:
[qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot][DEBUG] 
wcs_index: 1 (vtk_backplot.py:705)
[qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot][DEBUG] 
current_offsets: [50.0, 50.0, 0.0, 0.0, 0.0, 0.0] (vtk_backplot.py:709)
[qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot][DEBUG] 
current_position: 50.0 (vtk_backplot.py:750)
[qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot][DEBUG] 
length(path_actors): 2 (vtk_backplot.py:766)
[qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot][ERROR]  prev_wcs_index 0 not found in path_offset_start_point (vtk_backplot.py:769)
[qtpyvcp.app.launcher][CRITICAL]  Unhandled exception in vtk_backplot.py line 770 (launcher.py:37)

Seems that this code was changed two months ago.. 

I  just found out that there should be a blank.ngc loaded on startup for initialisation. So i added a ngc file with:
(New Program)

M30

and loaded it as default, but that will directly throw an error on startup:File
"/usr/lib/python3/dist-packages/qtpyvcp/widgets/display_widgets/vtk_backplot/vtk_backplot.py", line 767, in load_programpoint_01_pos = self.path_offset_start_point[prev_wcs_index]
 
  • juliankoenig87
  • juliankoenig87
15 Oct 2024 15:43 - 15 Oct 2024 15:45
Replied by juliankoenig87 on topic linuxcnc trajectory planner

linuxcnc trajectory planner

Category: General LinuxCNC Questions

This is usually the point where I get rid of G2/3 in all my postprocessors of my CAMs... Didnt you had the discussion wheter to use G2/3 or not? I think in the end this whole topic is one reason why a lot of systems use only G1 in small lenght of course. I assume it would make a lot of things easier, or am I wrong?

Best regards
Julian
  • Muecke
  • Muecke's Avatar
15 Oct 2024 15:25 - 15 Oct 2024 15:29

[OT] Zwei USB-Kameras gleichzeitig auf Linux anzeigen und aufnehmen

Category: Deutsch

Hallo zusammen,
ich hoffe, ihr könnt mir weiterhelfen, da ich mich mit Linux nicht gut auskenne.

Ziel:
Ich möchte zwei USB-Kameras gleichzeitig auf einem Monitor anzeigen lassen und idealerweise beide Kameras im selben Fenster aufnehmen.

Hardware:
Aktueller Stand:
Ich verwende aktuell das Programm "Cheese" auf meinem Linux-System. Wenn ich nur Kamera 1 angeschlossen habe, funktioniert alles einwandfrei – ich kann ein Bild sehen und auch Aufnahmen machen, was genau meinen Anforderungen entspricht.

Sobald ich jedoch Kamera 2 anschließe, erhalte ich die Fehlermeldung, dass ein Fehler aufgetreten ist.

Wenn ich beide Kameras gleichzeitig anschließe, kann ich zwar die Kamera 1 weiterhin anzeigen, aber beim Umschalten auf Kamera 2 erscheint wieder die Fehlermeldung.

Meine Frage:
Ist es möglich, beide Kameras gleichzeitig nebeneinander auf dem Monitor anzeigen zu lassen und bestenfalls auch beide gleichzeitig im selben Fenster aufzunehmen, sodass ein Video mit beiden Kameraansichten erstellt wird?

Wenn ja, wie könnte ich das umsetzen? Da ich mich mit Linux nicht gut auskenne, wäre ich für eine detaillierte Anleitung sehr dankbar.

Vielen Dank im Voraus für eure Hilfe!


Beste Grüße,

Mücke

[EDIT] der Editor macht mich noch irre. sorry. Habe den Text noch mal neu Formatirt.
  • arauchfuss
  • arauchfuss
15 Oct 2024 14:58
Replied by arauchfuss on topic Which Mesa Card Should I Buy?

Which Mesa Card Should I Buy?

Category: Driver Boards

Hi I am converting a Tree Journeyman 325 to LinuxCNC. The XYZ analog servo controllers all work so I need 5 encoder inputs: X, Y, Z, Spindle, MPG jog wheel. I have a 5I25 and 7i76 from a previous mill conversion but I don't think they will be useful.
Is a 7I95T a good match? I may want to use the 7I76 for additional IO.

Thanks
  • spumco
  • spumco
15 Oct 2024 14:52
Replied by spumco on topic Probe Basic - intermittent erratic probing

Probe Basic - intermittent erratic probing

Category: QtPyVCP

Just shooting from the hip here, but did anyone try to add 22-100nF capacitors to probe outputs or controller/Mesa inputs?
That is nano farads.
Seems like the probe is being triggered from vibrations while the machine is moving, but i do not have one to test.

Tommy,

I've got a motion-type filter in place so that the probe signal is only connected to motion.probe-input during a probing move.  That has eliminated the 'probe-tripped-during-a-non-probing-move' errors I was constantly getting.

However, that wouldn't do anything for vibration-induced probe triggers during a probing move.  That issue is what I was hoping the debounce filter would eliminate.
  • PCW
  • PCW's Avatar
15 Oct 2024 14:33
Replied by PCW on topic Axes no longer home/move

Axes no longer home/move

Category: General LinuxCNC Questions

Sounds like U5 ,U7 or both are damaged (these are the driver chips for the Step/Dir 0..3 outputs)
  • PCW
  • PCW's Avatar
15 Oct 2024 14:26

Spindel und Laser parallel betreiben laser über M67 ainschalten

Category: Deutsch

7i96s_2pwmd.bin Firmware ersetzt STEP4 durch PWM-Kanal 1.

Die Firmware-Dateien befinden sich in der 7i96s-Support-Zip-Datei von Mesa.

Beachten Sie, dass Sie wahrscheinlich den STEP4-Pin verwenden und den PWM 1
invertieren möchten Ausgabe in der hal-Datei (also PWM ist beim Start bei 0V oder Watchdog-Biss)
  • Muecke
  • Muecke's Avatar
15 Oct 2024 14:25

Unterstützung bei der Automatisierung einer Simulation

Category: Deutsch

1. Zip Ordner runterladen (grüner '<> Code' Button clicken -> 'Download ZIP') und entpacken (zb nach '~/linuxcnc')
github.com/Sigma1912/lcnc_logger

Ok, das habe ich
Downloade: (/home/cnc/Downloads/)
Entpackt: (/home/cnc/linuxcnc/configs/demo2023/linuxcnc_logger/) (4 Dateien)

2. Linuxcnc Konfiguration starten

Was meinst du damit genau? Meinst du damit das ich die Maschine Starten soll (LinuxCNC) offenen?
OK, du meintest das ich mein LinuxCNC Öffnen soll, das habe ich gemacht

3. Terminal öffnen ins Verzeichnis wechseln wo du den Ordner entpackt hast und 'lcnc_logger.py' starten:
python3 lcnc_logger.py


Terminal $ cd linuxcnc/configs/demo2023/linuxcnc_logger
Terminal $ python3 lcnc_logger.py

Cool, habe das gerade getestet, bei mir werden dann auch alle Achsen angezeigt. X, Y, Z und C.

Kann ich das auch in meine INI / HAL einbinden so das der Logger mit gestartet wird beim LinuxCNC Start?
Arbeitest du noch an dem Logger? Oder ist das ein abgeschlossenes Projekt?


Ich glaube, du hast mir viel Arbeit gerade erspart. DANKE für so ein Programm. DANKE !!
  • freemoore
  • freemoore
15 Oct 2024 14:14
Replied by freemoore on topic Request for Mesa 5i23_7i48_7i52 firmware

Request for Mesa 5i23_7i48_7i52 firmware

Category: Driver Boards

Earlier today I removed the 5i23 and disconnected the other cards, rebooted, reseated, and then repeated this procedure another couple of times. mesaflash is now seeing the 5i23 again and my system is back up and running. I'm grateful for the 7i80 firmware though in case it happens again. Thank you as always for the support.
  • Muecke
  • Muecke's Avatar
15 Oct 2024 13:57

Fehler: LinuxCNC Jog_CONT Mode is TELEOP, cannot jog joint

Category: Deutsch

Liegt vermutlich nicht am Controller sondern eher an der hal programmierung.

Im Gegensatz zu 'HALFILE' wird für 'POSTGUI_HALFILE' nur ein Eintrag in der INI berücksichtigt. Wenn du mehrere postgui halfiles laden willst dann musst du eine neue Datei anlegen (zb 'postgui_call_list.hal') mit diesem Inhalt:
...
 

Ok, das habe ich nun gemacht.


Mit deinem anderen Beitrag komme ich nicht ganz zurecht.
Was ist überflüssig und was solte drin stehen?
 
  • Lcvette
  • Lcvette's Avatar
15 Oct 2024 13:46
Replied by Lcvette on topic Probe Basic - intermittent erratic probing

Probe Basic - intermittent erratic probing

Category: QtPyVCP

Not at the mill now, but here are the parameter values I was fiddling with last night:

Traverse: 50-60ipm
Slow probe: 1-4ipm
Fast probe: 15-25ipm
XY back-off clearance: 0.025"-0.050"
Z back-off: 0.025"-0.050"

I can certainly test other values tonight - perhaps start with slow=0, and fast=10ipm?

yeah bump up that clearance, you are likely blowing through that small clearance amount on the fast feed rate if using a wireless probe, give it 0.100 - 0.1500" if using fast and slow probe, make sure you calibration is done at the same final feedrate.  to start i would use just a single touch with slowfr zeroed out. try the below parameters and report back:

 
  • Muecke
  • Muecke's Avatar
15 Oct 2024 13:45
Replied by Muecke on topic Age of the website and forum

Age of the website and forum

Category: Forum Questions

@JT, ah I see, the forum and the website are on an "own" server not with a hosting company.
My website is at Strato.de, they offer me a ready-made, up-to-date server on which I can install my website (Joomla).
So it's not just about the website and the forum, but about the complete server itself.

Where is this server located? In a company? University, at someone's home?

I can just see how big it is. ...

@ Aciera . Yes, I have read that. Thank you.
 
  • Aciera
  • Aciera's Avatar
15 Oct 2024 13:44
Replied by Aciera on topic Ein Neuling sucht Hilfe

Ein Neuling sucht Hilfe

Category: Deutsch

Hier hattest du geschrieben, dass, nach der Referenzfahrt, die Endschalter nicht ansprechen:

Danke für die Info, das Ref. fahren ist ja OK ist wird er Endschalter angefahren Motor verändert die Drehrichtung und wiederholt nochmal das ganze und Endschalter wird frei gefahren. Aber wenn mann Jog gefahren wird werden die Endschalter überfahren.


Dazu habe ich dir bereits eine Antwort gegeben. Hast du denn das in der ini so geändert wie ich dir vorgeschlagen habe?

Jog Geschwindigkeit solltest du irgendwo in der Nutzeroberfläche (ProbeBasic) einstellen können. Dazu kann ich aber nicht mehr sagen weil ich ProbeBasic nicht nutze.
  • tommylight
  • tommylight's Avatar
15 Oct 2024 13:33
Replied by tommylight on topic Probe Basic - intermittent erratic probing

Probe Basic - intermittent erratic probing

Category: QtPyVCP

Just shooting from the hip here, but did anyone try to add 22-100nF capacitors to probe outputs or controller/Mesa inputs?
That is nano farads.
Seems like the probe is being triggered from vibrations while the machine is moving, but i do not have one to test.
  • JT
  • JT's Avatar
15 Oct 2024 13:33
Replied by JT on topic Age of the website and forum

Age of the website and forum

Category: Forum Questions

Thanks to @JT! I didn't realise it was all down to one person!
I only have a small website without a forum and that's a lot of work. Thank you for doing all this and keeping it running.

Just installing and setting it up is not enough, as you say, there is a lot of work to be done.

I've read a lot in the forum and I think I've also read that one or two people have offered to set up a new forum, but I can't find it anymore.

Installing and setting up a forum should be quite easy, the only question is on which server to do it and who will take over the maintenance in the future. (Unfortunately, I don't have the time (or the knowledge) to take over the maintenance)

I can ssh into the forum as root and upgrade the OS and I do that when I think about it.
I don't understand that.

Translated with DeepL.com (free version)
 

To update the Ubuntu OS which the forum is using I have to ssh into the remote as root and do the same things you would do on a local pc like apt update, apt dist-upgrade, apt autoremove, apt clean then reboot

JT
Displaying 22771 - 22785 out of 22890 results.
Time to create page: 1.282 seconds
Powered by Kunena Forum