07-24-2014 07:29 AM
Thank you for replying.
I have tried to set a stop condition for the code. However, it still has the same error. I have attached the code, please have a check.
07-24-2014 07:51 AM
In your sbRIO, I would recommend stopping the loop on an error. Have your writing loop stop with a stop button. What should happen is when you disconnect on the writer side, the reader will have an error (connected endpoint disconnected or something along those lines).
And you will want a wait on your writer side or else you are going to hammer your CPU and fill up the stream really fast. You don't need a wait in the reader.
07-24-2014 08:39 AM
Thanks for replying.
I made some changes based on your suggestion. However, it is still the same error. And another is that should I use the shift register for the reference and error status? I have attached the code again, please have a check.