11-04-2014 02:57 PM
I am trying to create a simple network stream and the help indicates that if the URL is not given the create should time out and the error should indicate a timeout error. However, no timeout error is occuring after it times out.
Case statement tied to error shows no error after executing on a PXI 8110 running Labview Real-Time 14.0
11-04-2014 03:03 PM
Please post the VI if possible. We don't have enough information to really help you.
You have the "error out" wired and going somewhere. My guess is that it is in fact producing an error, but you are doing something with it before the automatic error handling kicks in - meaning you never see the error.
11-05-2014 09:16 AM
Still investigating the issue. So far it looks like it is load related. It works when I copied that portion of the diagram into a stand alone program. It also works when I use the diagram disable structure to remove other parts of the real time system. When I added a second stream, I had to disable more of parts of the diagram. The parts of the diagram that are being disabled is not important since I can change which parts are disabled and still have it work. It appears to be code size related.
11-05-2014 12:08 PM
Gave up. Using TCP which seems to work well.
02-20-2015 12:26 PM
I get the same problem, no timeout error in my application code.
I have two connection running in parallel one Reader endpoint and a Writer, simply in my application code they do not generate timeout error after 2000ms (or any other time).
If a paste only the connection network stream code in an empty vi, they generate the timeout error (they work).
If the connection is established they work fine.
To solve this I have to add a property node Network Stream Endpoint Connected?, and verify the boolean output.