- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In my case, I need synchronous mode to receive data, while the waiting time before data is uncertain. So I configured the timeout to Infinite. But I found that when I needed to stop, there seemed to be no way to stop.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Instead of setting the timeout to infinite, please call the XferData at regular intervals again and again with finite timeout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Instead of setting the timeout to infinite, please call the XferData at regular intervals again and again with finite timeout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Of course, I tried.
The test found that the data could not be received when the next transmission was started after a timeout.
For example, set timeout to 5 seconds, and the data comes at the sixth seconds, then I could not get the data at all.
Do you have any ideas?
Thanks
Chad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please refer to the control center and streamer source code to and handle the transfer error, the same way it is implemented in our examples.
Regards,
-Madhu Sudhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Madhu,
Thanks,I had solved it。
Thanks
Chad