• Members 3 posts
    Oct. 25, 2020, 11:18 p.m.

    Hello,

    I have an old ink plotter, Sekonic SPL-450, its an A3 size plotter. I wanted to bring it back to life...

    On Windows, the serial port connection didn't want to work at all.
    It took a long and deep investigation to find out that the twisted.internet.serialport and its reactor were causing the problem.
    Instead of using twisted.internet.serialport I think it is better to use QSerialPort because that is made to live with the Qt event-loop.
    So I made a new connection type (in inkcut\device\transports) that uses only QSerialPort!

    Inkcut-QSerialPort.png
    I'm on:
    Inkcut Version: 2.1.2dev
    Python: 3.7.9
    system='Windows', release='10'
    Qt: 5.15.1
    (I think the latest of everything.)

    I can control the plotter nicely with the joystick buttons, I can also transfer files now!!

    However, I don't know how to upload all this to git, so I welcome the advice of an experienced developer.

    Inkcut-QSerialPort.png

    PNG, 18.8 KB, uploaded by Ducsi on Oct. 25, 2020.

  • Oct. 26, 2020, 12:02 p.m.

    Great work! Many windows users will be glad to hear this!

    If you want to try and create a pull request on github that would be ideal so the changes can be attributed to you. Or you can zip up the files you added/changed and attach them somewhere I can add it into the repo.

  • Members 3 posts
    Oct. 28, 2020, 9:25 p.m.

    Thanks. I sent the pull request!
    I hope it will work well for everyone who tries it.

  • Members 3 posts
    Oct. 29, 2020, 6:58 p.m.

    The QtSerialPort connection works on linux as well.

    Inkcut-ubuntu-QtSerialPort.png

    (I had to install python3-pyqt5.qtserialport first, and chmod 666 /dev/ttyusb0 then logoff logon)

    Inkcut-ubuntu-QtSerialPort.png

    PNG, 146.7 KB, uploaded by Ducsi on Oct. 29, 2020.