LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

serial port loopback

Hi
I am using LV 8.0 full development sytem
 
I want to complete the serial port communication on the same PC by loopbacking the serial port by using the 9DB connector.
 
My requirement is that serialport configuration,serial port write and serial port read should be independent.  i.e, they should appear as three individual vi's.The visa serial port resources should be specified only once .
 
can we do this.If it is possible can u suggest me how to do this
 
Regards
kiran
0 Kudos
Message 1 of 4
(3,157 Views)
You are going to have to explain exactly what you mean. The VISA Configure Serial Port, VISA Write, and VISA Read are three separate and individual functions/VIs.If you want to only configure the serial port once, then write your program so that it's only done once. You would typically do this at the very beginning of your program.
0 Kudos
Message 2 of 4
(3,146 Views)

Hi Dennis

my intention is that code modules for serial port init,write and should be independent similar to that code modules we write for digital input/output,analog i/o etc

0 Kudos
Message 3 of 4
(3,140 Views)
They already are independent. They are separate functions on your palette. They are only dependent if you make them so in your program by wiring them together.
0 Kudos
Message 4 of 4
(3,126 Views)