You should be able to detect if one of the handshaking lines is asserted or
not. For instance the DTR line is on pin 4. To monitor this in Labview 6,
you must use a property node connected to a VISA resource control set to
com 1. Look for the property called Line DTR State in Modem Line Settings.
For Labview 5 do the same thing but instead of a VISA resource control use
an open VISA session to ASRL1. The other handshake lines are available also.
It is worth remembering that if you use a null modem cable, several of the
lines are swapped from one end to the next.
Bruno Hartmann wrote:
>hi NG,>is it possible to connect a simple switch to the COM1 and detect
whether its>open or closed?>Which Pins should i use?>Which Vi's?>>Thanks>Bruno>>