02-03-2014 01:43 PM
Hi,
I have a small problem regarding my labVIEW VI. I am doing following things:
The problem I am having is that when the bytes read (at Property Node) is less than 4000, the data read is perfect. But once the bytes at port reaches 4000, the data I get has periodic zeros. I think that the problem is with synchronisation of sending of data from microcontroller with the LabView. I dont know what to do with it. Could someone please advise me regarding it?
Thanks in Advance
Regards
Solved! Go to Solution.
02-03-2014 02:34 PM
You are only reading 49 bytes at a time. You are telling me that your buffer is getting larger than 4000 bytes? That tells me you have a major timing issue.
If you will always get 49 bytes per message, then just read 49 bytes. Get rid of the delay and the Bytes at Port. They are usless. And since you are also using a termination character, that makes them even more useless. The VISA Read will wait up to the timeout for the number of bytes you told it or a termination character is recieved. If you are truely using a termination character, I would even set the bytes to read to something totally outrageous, like 500.
02-05-2014 09:22 AM
Hi,
Thanks a lot for showing me my mistake. Really appreciate it.
Regards,
Sris