![]() bring up both coolterm and Xojo Project so both running and disconnected from any port.Modifications are to add a button that writes to the serial port a line and removes the if statements from serial port data available so that it logs everything coming back Xojo project to test with is a slightly modified version of the example program for communications with a barcode reader. No, the thing does get an error if there is something else with the port open. ![]() Xojo should be able to do it too but it (and I) must be missing something in the connection. There is NO data coming into DataAvailable at all (never fires).įWIW: I get this same behaviour with VS2017 VB.NET and I thought I check this with something simpler than that.Īnyone got any ideas on what this could possibly be? This isn’t hard. I connect to COM9 (9600,8,N,1 no flow) with no errors given Using the serial port example in Xojo 2018R4 that is looking for CRLF lines coming back from a barcode reader and putting them on the screen (sorry, wasn’t paying enough attention when I opened it as to what the name of it was, but it was under the communications dropdown of examples): ![]() I see all this traffic with TeraTerm without problems. The device is spitting out a couple of bytes with a CRLF at the end of it 2/second so this isn’t exactly fast or rocket science stuff. If I open it with TeraTerm, 9600,8,N,1 no flow control, I get bidirectional communications without problems. ![]() I’ve got a USB device that is presenting a virtual serial port on my windows machine. ![]()
0 Comments
Leave a Reply. |