On Thu, 04 May 2000 16:47:40 +0300, Ori Idan wrote:
>Is there a way to read the status of CTS or DSR lines of a serial port?
>Also in what pins are these lines on standard PC?
While looking for info on printing I found the following:
How can I control the DTR and RTS serial lines?
Serial Port Init.vi can be used to configure the serial port for
hardware handshaking; however, some applications may require manual
toggling of the DTR and RTS lines. Because the interface to the
serial ports is platform-dependent, each platform has a separate
mechanism to control the lines.
(Windows) The LavVIEW for Windows distribution contains a VI which you
can use to drive the DTR and RTS serial lines. The VI serial line
ctrl.vi, located in vi.lib\Instr\_sers
up.llb, can be used to control
these lines. The VI will toggle these lines according to the function
input. Valid codes for the input are:
0 noop
1 clear DTR
2 set DTR
3 clear RTS
4 set RTS
5 set DTR protocol
6 clr DTR protocol
7 noop2
(Macintosh) ..................
(Sun).............................
From LabVIEW User Manual page B-13
Hope this helps.
Regards,
Steve Drake