04-06-2018 05:43 AM
Hello
I use network stream to send DATA( 50channels ) from PXI to PC, the communication is OK but after few hours (5 - 10) of test i have this error in PXI
Error -314220 occurred at Write Single Element to Stream in RT_PAS_STREAM_Loop.vi:3130001->RT_PAS_Dyn_P0.vi - - Possible reason(s): - LabVIEW: The remote endpoint has been destroyed.
so if anyone has a suggestion. I would be glad to hear it
thinks
04-06-2018 07:50 AM
So many questions.
Bob Schor
04-06-2018 09:40 AM
Hello BOB
PXI.JPG is the code for the Remote
IHM.IPG is the code for HOST
I can't attach the project is confidentiel & contains a lotoff vis
the application turn well but after few hours i have this errors
thanks
04-06-2018 12:56 PM
Sorrry, I can't edit/inspect/modify/test pictures, only VIs. I'm getting tired of harping on this ... PLEASE ATTACH VIs.
Bob Schor
04-09-2018 05:00 AM
Hello RchB
I did some research about your error and I found some ideas you can test.
First of all, it could be a problem due to the network but it's strange because your application works more than 5 hours.
What you can do is increase the timeout of the "Write Stream VI" because the error occurs just after its wrong execution (try 5 seconds).
You can also create a state machine to control the loss of the connection. In the case you lose the connection or if you have an error, you can try to reconnect your network. After two or three attempts and fails (if it's impossible to reconnect your PXI to your PC or if you still have an error), you can destroy your "Destroy Stream VI".
Benjamin C
National Instruments
04-09-2018 05:22 AM
Hello BenjiC,
thanks for your answer.
that what i did I increase the time out (-1) and i lunched the test Friday night but the test has stop sunday afternoun
4/8/18- 10:55:40 AM : L'erreur -314220 s'est produite à : Write Single Element to Stream : - LabVIEW: The remote endpoint has been destroyed.
i have the same error.
today i try the second solution: reconnect if i have an error.
02-24-2023 08:12 AM
I'm curious if you ever found a solution to this as I'm running into the same problem. Please advice if possible. Thanks!
02-24-2023 09:16 PM
If you are having "the same problem" as one last discussed several years ago, I recommend that you start a new Post and, unlike the original Poster of this message, you include the LabVIEW code (not pictures, but actual code) so we can understand what you are trying to do.
Bob Schor