The screen shot resembles data corruption but you said that the transmission is correct with another application so it probably is not the physical connection. ![]() Rb_log.AppendText(sp_stampante3D.ReadExisting) Received characters and display them as they arrive: Private Sub sp_stampante3D_DataReceived(sender As Object, e As IO.Ports.SerialDataReceivedEventArgs) Handles sp_stampante3D.DataReceived Discussed before, Marlin 1.1 and 2.0 can support serial flow control.As foosel pointed out, a glaring omission was that there was no method for a host to test if the target supported this feature in order to allow easy-enable (and admittedly, direct testing of protocol support at connect time would be much more host-side dev effort and infinitely more prone to breaking unsuspecting targets). ![]() As a test you might want to try reading only the If the problem still occurs with out the Try-Catch and there is no exception then the microcontroller must not be sending quite what you think or perhaps the connection settings are not quite right. It is unlikely that an error is occurring during the read operation but if it is you won't see it. XON/XOFF flow control to be enabled when the changed to Stream mode. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |