Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69483

labview program working in highlight mode and not working in normal mode

$
0
0

Hi All,

 

I would like to explain my program first,

 

I wrote a program where trying to establish communication between Labview and microcontroller. By this program I am trying to select the serial com port automatically. I have attached VI which clearly shows the logic which I have used. Labview checks each and every port which are working on the computer, visa write 's' and waits to read 's' . If 's' is recived  then loop ends here and diplays the right port where the microcontroler is connected. Otherwsie it continues to search...... every logic is working I tried to check for all cases it is working but it is only working in Highlight mode. When I try to run in normal mode the loop is continuously running not able to read microcontroller properly. I have checked for the Baud rate,no of bytes ect.,,, tried out somany ways....but still it is not working.

 

I have checked with all the delays but i couldn't figure where the problem is coming from. I don't have much expirence with Labview......Can any one please help me to solve this problem?

 

Thankyou

Deepthi


Viewing all articles
Browse latest Browse all 69483

Trending Articles