02-27-2009 12:53 AM
Hello
I need to poll on serial port to receive some characters(it is 66 bytes). If I receive that characters then I will have to recieve next 1000 bytes. These total 1066 bytes come together in the port. I am having problem with timeout and buffer property of VISA serial read. Kindly tell me how can I approach.
Thanks in advance
Solved! Go to Solution.
02-27-2009 01:04 AM
What is your timeout, what is the bytes timing, can you post your code and be more precise where your problem is ?
02-27-2009 01:05 AM
Hi somnath,
did you see the shipped examples (Basic and Advanced Serial Write and Read)? You can use a loop and read the "Bytes at port" property. There you can count how many bytes you already have received. After you have your data, you can leave the loop, depending on what you need then.
Mike