I have a serial device, device responds to ASCII messages:
Reguest string:
!1100/
Responce from device:
!1100/#xx$xxxx/
x - ASCII characters.
I need to communicate with devise using RS232. Device has RS485 port (2-wire). RS232/RS485 converter data direction is controled by RTS line.
In my program I do something like this( single read for now): configure serial port, delay, asserted RTS line, transfer string, delay, unasserted RTS, read string, close port. I use VISA serial. Now I receive garbage. Where the problem might be ?