The ComSetEscape function provides support for some advanced functionality including the RS-485 transceiver mode. Just call the function on your opened port and pass the value WIRE_2_AUTO. Refer to the function help for more supported values.
Mert A.
National Instruments