09-13-2002 02:20 AM
09-13-2002 06:07 AM
09-14-2002 10:23 AM
06-13-2006 06:15 AM
Hello,
How can I control other pins of the serial port?
For example:
Write/Read RTS(pin7 of serial port) signal.
Thanks advance!
Steven
06-13-2006 08:14 AM - edited 06-13-2006 08:14 AM
have a look at the VISA property node.
Start with the bytes at serial port on your diagram and select the modem line of your choice and decide if you want to read or write the value
Message Edited by Henrik Volkers on 06-13-2006 03:16 PM
06-13-2006 09:12 AM
Hi Hans,
If I had understood your question right, you need to control the serial port pins ( switch it ON and OFF as and when you wish)??? If that is so, you can do it in two ways either with VISA or by writing directly into the registry for the ports in your computer. For the latter, you may use Out Port.VI to switch ON/OFF the port pin and IN Port.VI to read the status of the port pin. I think with VISA, you could not read the status of the pins, though i'm not sure of that.
To get an idea about this, look at the LV examples in the category "portaccess". I use this VI to control the Parallel Port of my computer from my LV application and it is simply fantastic and easy to programm.
But note, you have to first determine the address of the serial port register in your computer to control your port.
Regards,
Mohan.
06-13-2006 07:24 PM
Oh, thanks guys,
The one way that W/R the port form properties it is OK. but in another way how can I get the port address? how about the pin definition?
06-15-2006 09:05 AM
06-15-2006 01:40 PM