This can be an issue as there is no way to know when the TX is complete unless you turn off flow control and use a timer.
However, if you're using a NI RS485 interface, you can use the "Two-wire Auto" mode which automatically turns on/off the transceiver for you.
