Home › Forums › TinyG › TinyG Support › Handshake/Queue Request
- This topic has 4 replies, 2 voices, and was last updated 8 years, 11 months ago by
cmcgrath5035.
-
AuthorPosts
-
March 21, 2017 at 2:44 pm #10318
LTECH
MemberHello,
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 KaiMarch 21, 2017 at 8:02 pm #10319cmcgrath5035
ModeratorGcode 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.
March 22, 2017 at 4:33 am #10320LTECH
MemberThank 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
KaiApril 14, 2017 at 10:57 am #10342LTECH
MemberI 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
KaiApril 15, 2017 at 5:11 am #10344cmcgrath5035
ModeratorI 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.
-
AuthorPosts
- You must be logged in to reply to this topic.