Search the Community
Showing results for tags 'endpoint'.
I've got a stream reader endpoint, and I'm trying to avoid waiting for a timeout from the reader endpoint creation. Do you have to wait until the writer end is created before you can create the reader end? The LabVIEW help says that both are needed, obviously, but doesn't explicitly state precedence or a requirement that they be created at the same time. Never mind. I see from reading http://www.ni.com/white-paper/12267/en that "The endpoint that is created first will wait until the other endpoint has been created and is ready to connect, at which point both create functions will exit. The stream is then ready to transfer data. Used in this manner, the create function effectively acts as a network rendezvous where neither create function will progress until both sides of the stream are ready or until the create call times out." This raises a different question, now. If these endpoint attempts are preventing my program from exiting, is it possible to force them to stop before their timeout? Perhaps I'll just put them in loops with short timeouts and made the loops aware of my exit conditions. Ryan R.