LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Create Network Stream is not producing timeout error after timing out

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.

Labview Clip.png

 

Case statement tied to error shows no error after executing on a PXI 8110 running Labview Real-Time 14.0

 

 

0 Kudos
Message 1 of 5
(3,066 Views)

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.

0 Kudos
Message 2 of 5
(3,064 Views)

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.

0 Kudos
Message 3 of 5
(3,021 Views)

Gave up.  Using TCP which seems to work well.

0 Kudos
Message 4 of 5
(3,008 Views)

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.

0 Kudos
Message 5 of 5
(2,780 Views)