LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

serial communcaton problem with a device needing RTS

I am trying to perform a serial communication with a device via LabView 6.0.2. The device needs an RTS.I used visa node properties and set the modem lines. RTS asserted and DTR unasserted.I ve tested the device on terminalcom program and it s working normally. Does anyone has an idea? Is there anyway we can control the other modem lines?
0 Kudos
Message 1 of 2
(2,550 Views)
You cannot write to CTS and DSR because Labview serial interface acts like DTE equipment (Data Terminal Equipment, like a terminal). DTE affects RTS and DTR. In comparison DCE equipment (Data Communications Equipment, like a computer that a terminal connects to) affects CTS and DSR. In order to affect those lines with Labview, you would have to use a null modem cable, sometimes called a crossover cable, which swaps RTS and CTS pins, and swaps DSR and DTR pins (also swaps TD and RD pins). Then you could change the state of RTS to actually change CTS, and change DTR to actually change DSR. Is this clear?
Since your device needs RTS as an input, it is a DCE device. Usually a DCE device sees RTS (Request To Send)and grants CTS (Clear to Send)if it is ready to
receive data. Why do you want to control CTS or DSR (outputs from DCE) if your device is already DCE?
- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 2
(2,550 Views)