I'm using Labview 5, trying to simulate an RS485 communication, using
RS232...
What I need to do, is to assert the DTR, i think. In DOS C, the code I
would use is:
if(format == 1) outp(comport+1,(inp(comport+1)&253));
// assert DTR line for Data direction control - Test Set needs that for
// RS485 port direction control
and then to release the DTR line, it would be:
outp(comport+1,(inp(comport+1)|2)); // Release DTR line - ready to receive
I think I can use the flow control in the Serial port vi's, to do this, but
I'm not entirely sure how I can mimic this code exactly
Any Ideas would be greatly appreciated!
--
Slade Squire
Programmer
Rectifier Technologies Pacific
Melbourne, Australia
SladeSquire@rtp.com.au