08-12-2019 07:09 AM
Solved! Go to Solution.
08-12-2019 07:21 AM
I would remove your read before the loop. Inside the loop, read 4096 bytes each iteration. If the number of bytes read is less than the 4096, it is fairly safe to assume the termination character was read, and you therefore have all of your data.
08-12-2019 08:01 AM
Thank you for your reply. If the number of bytes read is less than 4096, it will report a timeout failure. How should I set it so that I can read the termination character is quite safe?
08-12-2019 08:09 AM - edited 08-12-2019 08:09 AM
08-12-2019 08:35 AM
Thanks to GerdW N's suggestion, your suggestion is very useful, but I have just started getting LABVIEW, and I can use the function to read the timeout value. Can you give detailed advice in this regard? Thank you very much, by the way, I used lv2014
08-12-2019 08:55 AM
Hi Stone-AT,
I can use the function to read the timeout value.
I never mentioned to "read the timeout value"…
Can you give detailed advice in this regard? Thank you very much, by the way, I used lv2014
When you want help for your VI then you should attach your VI!
Until now all we got from you is an image, which is hard to debug with LabVIEW…
08-12-2019 08:58 AM - edited 08-12-2019 08:59 AM
@STONE-AT wrote:
How should I set it so that I can read the termination character is quite safe?
08-12-2019 09:18 AM
First of all, GerdW is very sorry, I have no habit of adding VIs in the forums before, they are all added pictures, obviously this is my problem.
Second, I am very grateful to crossrulz, I can't wait to try your suggestion, but we are already at night, the oscilloscope is not around me, I have to wait until tomorrow.
Finally, I am very grateful to GerdW and crossrulz, I will tell you if there is good news. good night.