08-05-2013 12:03 AM
When short RX and RX directly, COM port can feedback data on MAX test panel, but always display "time out" error. What's the possible reason? Thanks.
Home--colinzhang.net: My Blog
Solved! Go to Solution.
08-06-2013 02:06 AM
Hi Colin,
When you read back the data, there is a parameter called "Bytes to read" you need to key in, the default value is 1024, in this case, it will keep waiting for 1024 bytes until the timeout occur.
I found a good article talking about this and you can change the bytes to read in the LabVIEW environment or MAX test panel.
http://digital.ni.com/public.nsf/allkb/874B379E24C0A0D686256FCF007A6EA0
Do let me know after you try it out, thanks.
Regards,
KwokHow
AE NI Singapore
08-06-2013 06:12 AM
If you leave the default port settings, then you can use a termination character to stop the read. By default, it is 0xA (line feed). So if you addend a line feed to your sent data, then it will work much better.
08-12-2013 12:31 AM
Hi Asean,
Thanks your reply, this issue has been resolved. You are right.
Home--colinzhang.net: My Blog
08-12-2013 12:37 AM
Thanks for your reply, your info is useful as well.
Home--colinzhang.net: My Blog