Host Engineering Forum

General Category => General Discussion => Topic started by: AustinT on November 11, 2017, 03:53:04 PM

Title: ASCII over tcp or udp
Post by: AustinT on November 11, 2017, 03:53:04 PM
I have several of the same device that responds to ascii strings .  How could I communicate to these devices from a brx over a network. Will a serial Ethernet converter do the job ?

Thanks
Title: Re: ASCII over tcp or udp
Post by: BobO on November 11, 2017, 04:33:46 PM
Let me offer the disclaimer that I haven't used one myself, but was just looking at a couple such devices. They look to be using a TCP port like a terminal, so yes, it should just be a matter of opening a TCP connection (Do-more TCP Client device) to it with OPENTCP and then using STREAMIN/STREAMOUT to read and write.
Title: Re: ASCII over tcp or udp
Post by: AustinT on November 12, 2017, 08:02:40 PM
Tried sending an ascii string over udp with a atc 1000 serial Ethernet converter . Used putty to verify it is working.  Amazing how easy it was to set up with the brx .  Works great

Thank you