From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
06-17-2015 01:15 PM - edited 06-17-2015 01:25 PM
Hi,
I have been reading other discussions regarding the same error but they either do not present a solution or do not correspond to my current set up. First, I want to highlight that I can run project 1 (see attachments) without problems, which also uses network streams but I cannot run project 2 using the same RT device and host. I have no idea what is happening, I have been getting this error since last week.
I already tried swapping the pasive endpoint and changing the timeout. Also, I am sure I am using the right URLs, I have Network Steams installed and I do have a Labview 2014 license up to date.
Any kind of help is appreciated!
06-17-2015 09:34 PM
A couple of observations and suggestions.
I notice that your code doesn't seem to take "unknown timing" of starting Host and Remote into account. Are you manually ensuring that you start both within 15 seconds of each other? Otherwise, make one side (I recommend the side indicated by having a URL or IP) keep repeating "for a long time" (in my case, it is "forever") until a connection is made. Also, put your code into a LabVIEW Project. And make sure you report Errors correctly, including making sure you indicate which program threw the error.
Bob Schor
06-18-2015 10:15 AM
Thanks for the reply Bob.
I am using a LabVIEW project, sorry for the confusion. I just decided to attach the VIs in folders. I have tried making the connection both using the URL of the host and remote separately. None of them work.
Also, I'm running the VIs at the same time and if I do not specify a timeout it seems like the VIs can run forever without doing anything; no connection is stablished, no errors of any kind.
06-18-2015 05:37 PM
Post the complete LabVIEW Project. That way I can try it and see if I understand what is wrong. Also, please tell us something about the two machines (or maybe it is a single PC?) that are "Host" and "Remote". What are they? What operating system are they using? What IPs are they using?
BS
06-19-2015 11:14 AM
Hello Bob,
I literally do not know what I did but I spent the whole day yesterday trying to make it run using other VIs that I knew worked as a base and that is how I finally got it. However, sometimes if I make small changes for example changing the folder where I'm saving the data or the name of the file it completelly breaks the code and makes it unfixable so I have to go through the whole process of modifyng the original Vis again. Also, I noticed that if I try to code both VIs from stratch it will not run even though I'm using exaclty the same piece of code that I got running previously (and I am not copy pasting it). I'm thinking that maybe I'm dealing with a LabVIEW environment bug or something like that but at least now I know the trick to get it working.
Anyway, thank you for the help!!
Have a good day