Handshake/Queue Request

Home Forums TinyG TinyG Support Handshake/Queue Request

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #10318
    LTECH
    Member

    Hello,
    at this time I want to build a new software to work with TinyG in G-Code mode.
    I have big problems with the XON/XOFF handshake.
    After several lines conection is broken down.
    I try the same G-Code file with a other software (JCNC) and it runns perfect.
    Is there anyone make a software use the queue request for push the data?
    I cant find a good literature to help my self…
    Please, if some one have information or a snippet in C (vb) please let me know!
    Regards Kai

    #10319
    cmcgrath5035
    Moderator

    Gcode sender programming is really out of scope for this tinyG user Forum.

    Xon/Xoff has been around for a long time, and is usually handled by the serial driver layer. Are you planning to develop the entire sender, including the serial I/O handler? Big job, timing is critical. You could also use RTS/CTS (hardware) flow control.

    You ask about queue based flow management. The only implementation I have heard of is Chilipeppr and the SPJS(serial port json server). It is all open source, but way beyond a “snipet” in scope and complexity

    Good luck with your project.

    #10320
    LTECH
    Member

    Thank you for your response!

    Ive read about the queue report in Tinys wiki as a good solution.
    OK on the other hand if the XON/XOFF control works proper I will use it.
    But I have the feeling that the String produce an overflow at Tinys buffer. If I send small files 100 Bytes no Problem but every file more than 150 bytes make problems sometime. I am also able to test with a serialport program to check both side of the communication (RX/TX). I send all the G-Code as String…

    Private Sub Button7_Click(sender As Object, e As EventArgs) Handles Button7.Click
    Dim Senden As String = RichTextBox1.Text
    SerialPort1.Write(Senden & vbCrLf) ‘Zeichensatz plus nachfolgendes CrLf zur Datenübernahme
    This could be the problem…
    Regards
    Kai

    #10342
    LTECH
    Member

    I ve solve the problem with the communication several weeks ago.
    The App I have built works well with Tiny…

    Is it possible to work with Tiny and G68 command?
    Regards
    Kai

    #10344
    cmcgrath5035
    Moderator

    I don’t believe I have seen a question on G68 support prior to this one.
    G68 is not listed here:

    So answer is probably no, not supported.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.