Hello
Have you been able to verify this by doing a loopback test and verify the size of the data written and the data returned?
This also sounds like something the help for InstallComCallback mentions
"Since the callback is internally called via a window message, the callback can get called even when there are no bytes in the input queue, even though there were some at the time the message was posted. Calling ComRd multiple times in the callback can lead to this kind of issues. For this reason, It is recommended to always check the input queue size before doing anything in the callback."
I hope this helps
Bilal Durrani
NI
Bilal Durrani
NI