If you want to use DTR for automatic handshaking for RS-232 communication, look at the function panel help for SetCTSMode in CVI's RS232 library.
If you want to manipulate DTR indepently of RS-232 communication, look at the SDK function EscapeCommFunction
here.