#linuxcnc-devel Logs

Nov 28 2017

#linuxcnc-devel Calendar

01:09 PM KimK: I did a quick scan through https://github.com/LinuxCNC/linuxcnc/pull/356/files and noticed five lines in the range 7556/7570 thru 7576/7590 that I wanted to ask about. All 5 begin "The7i?? daughter board requires" and then continue with PWM, PDM, or UDM. Are these just typos of PWM, or are PDM and UDM correct? And how about the PWM(?) frequencies mentioned, are those values OK? Any advice appreciated.
01:11 PM KimK: Screenshot at https://imagebin.ca/v/3imhzLLEocPS and https://ibin.co/3imhzLLEocPS.png
01:17 PM cradek: PDM (density) is certainly a thing, where you don't care about the period, just the on/off ratio
01:17 PM cradek: PWM fixes the period
01:17 PM cradek: I don't know what UDM is
01:19 PM jepler: I think UDM is up/down mode
01:20 PM jepler: see the discussion of the encoder output-type in 'man hostmot2'
02:04 PM andypugh: Looks like another bug-by-inspection
02:04 PM andypugh: PCW do you have a system with more than one smart-serial port active?
02:05 PM andypugh: I have a feeling that setting “run” to false on any one port will stop all the higher-numbered ports too.
02:07 PM andypugh: Because this “return” should be a “break”: https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/drivers/mesa-hostmot2/sserial.c#L1214
02:53 PM jepler: "This product is safety, as the power is not high; but you'd better dont touch the electric arc on top of the coil, there will be burning sense.
02:53 PM jepler: "
03:10 PM hazzy: lol
03:11 PM hazzy: jepler: I think that is going to make seb_kuzminsky nervous with that closing quote on a different line
03:35 PM jepler: what's done is done; not closing it at all is worse
03:38 PM andypugh: seb_kuzminsky: Do you think I need to fix that bug above? (hard to test) or should we just accept that as nobody has noticed in 5 years that it’s not major?
03:45 PM seb_kuzminsky: andypugh: i agree it's not major, but since we know about it now we should at least open an issue on github for it, and also preferably fix it
03:45 PM andypugh: I don’t think I have a way to test it, is my only concern.
03:46 PM seb_kuzminsky: maybe pcw has a 2-port system?
03:46 PM andypugh: Or maybe I do….
03:46 PM seb_kuzminsky: heh
03:47 PM andypugh: A 7i80DB + 7i76 + 7i74 setup will give me two ports.
03:47 PM andypugh: I will raise the issue to remind myself.
03:48 PM andypugh: (Trying to resist all the “bargains” here: https://www.seeedstudio.com/act-13.html )
03:50 PM seb_kuzminsky: thanks andypugh
04:18 PM pcw_mesa: I can't get the LinuxCNC test stretch ISO to install, the live part just returns to the install screen and the installer fails to find a CD ROM (USB install)
04:46 PM jepler: pcw_mesa: weird, that doesn't sound familiar to me. anything unusual about your system? I'd also recommend trying a different piece of media if you can.
05:10 PM pcw_mesa: I dont think, so Ive used the same USB drive for multiple installs. I just dd'ed the ISO image to the USB drive
05:10 PM pcw_mesa: I tried on multiple systems, Ill try again with a different drive though
05:11 PM seb_kuzminsky: dd'ing the iso to the usb drive is how i do it too. just be careful to write it to the raw device, not to a partition on the device
05:12 PM pcw_mesa: yeah it was the raw device, the device boots and runs the installer but nothing works
05:13 PM pcw_mesa: I'll have to play with some other images
05:13 PM seb_kuzminsky: try checksumming the usb drive?
05:15 PM pcw_mesa: yeah I'll try re-downloading on a different system
05:27 PM andypugh: pcw_home: r9 or r8?
05:27 PM andypugh: I have seen a few reports of problems with that .iso (someone else says that the config picker doesn’t work)
05:33 PM pcw_mesa: It was just a corrupt image, working now
05:33 PM seb_kuzminsky: that makes sense
05:36 PM pcw_mesa: well I spoke too soon, the live image now works, but the installer still hangs asking for the CDROM
05:49 PM pcw_mesa: Ha! bad USB drive