09-20-2012 09:49 AM
Hello Friends.
I am getting continuous communication error with PIC µC reading through RS 232. Our µC programmed by external company and according to Communication protocol. µC sends 11 data packets in 43 ms and then delay on 50 sec. Actually Original labview code is developed in LabView 7.0 and now I am trying to update new installer to LabVIEW 9.0. I am attaching my LabView communication VI and capture data. If you see in the ComSerial.Vi, you can find when 8000! case is detected only that time 3 value sent to µc. In µc there is a Protocol, that when it receive 3 wrong packet (or damage packet) out of 10 then it send Error code 07 means communication error. Can you please take a look in to this ComSerial.vi and suggest me some Solution. I already spend more then 10 days to just figure it out.
TejasKumar patel
09-20-2012 09:58 AM
I would suggest to start with the examples for the serial communication with LabVIEW and then built on them further. This way you will be sure about your code and then also for your communication and afterwards you can implement the further logic. Try those vis and see if your recieving the right data or not if not may be there is problem on hardware side!!
09-20-2012 10:27 AM
thanks for reply.
But code is alredy made by someone else... and I have to update it ,... So, if its possible with some modification would be great help to me...:)
This ComSerial Vi. works proper when I use in some another Vi as sub.vi.