02-26-2013 03:44 AM
I am trying to run "Basic 2 port serial write and read.vi" from the labview example using the 2 different com ports of same laptop. My serial cable is fine. It has passed loopback test. Also I have successfully communicated with the microcontroller(via max232) using the same cable. Still In the given example, I am not recieving character that I have written in the "string to write" window. I have confirmed the com port numbers. The cable I am using is simple 3 wire tx-rx and ground cable. I have also tried to connect two ports on two different pc's that also doesnt work. What may be the problem? I can't see any.
02-26-2013 04:38 AM
Post your VI friend. This will help us to debug the problem better.
VI in 2011 compatible format
02-26-2013 05:46 AM
Is the cable a straight through or a NULL Modem? You will need a NULL Modem cable which means that the TX on one side is connected to the RX on the other side and visa versa.
02-26-2013 06:06 AM
The .vi given in the labview example "Basic two port serial write and read". I am using two usb to db9 convertor to convert my usb port into com port. and then connecting both of them with crossover serial cable.but nothing can be recieved at the read window and timeout occurs.
02-26-2013 06:07 AM
tx to rx , rx to tx and ground to ground confirmed
02-26-2013 06:15 AM
2011 compatible please
02-26-2013 06:19 AM
02-26-2013 06:28 AM
Are you changing the data being sent? As currently configured, you need to make sure the \n stays at the end of the data. To avoid this, turn the termination character off (input on the top of the Configure Serial Port, wire a FALSE constant to it).
02-26-2013 06:37 AM
still no success 😞 In fact i can't establish communication between two different applications also. i.e between hyperterminal to labview, between labview to matlab etc..
02-26-2013 06:39 AM
1.Which 3rd party software you are using for USB to db9 conversion.
2. In both the PC labview is installed ?