Hi Folks,
I have a legacy ham radio with a ADM232LJR UART. The radio would not receive commands. After measuring TX to RX, I discovered only 1.6k Ohms between them and replaced the device. The radio utilizes only the RX, TX, and Gnd pins; and demands four Parameter bytes followed by one Command byte. The condition for communication is 5 bytes, 4800 Baud, No Parity, 2 Stop bits, no Flow Control.
I wrote two utilities to send the easiest command to the radio (xx xx xx xx 85) in LabVIEW and Python. Neither work. I befriended a fellow Ham who wrote many C++ routines (as he did not know the formatting) and his last iteration works.
I then wrote another Listener routine that opens another COM Port and reads the sending COM Port. My code returns the Port Set-up, number of bytes, the ASCII string and of course its Hex representation exactly as the C++ code. Unfortunately, the C++ code is an exe and that is all the information I can extract. After 30 emails between this fine man and myself, I am reluctant to ask for his source code.
If the radio responds with one flavor of code, it should with another. That points to me - I have something wrong, but my Listener says they are identical. Please, is there something I may be missing? How would you troubleshoot the problem?
Thanks,
John

