05-05-2016 04:21 AM
Hi,
I am getting the error -201390 and I could not find information about it on the internet.
It only appears after many hours of execution of the software (normally about a week). The software keeps running (at least the display of the clock does not stop, but the sensors are not read). As "source" LabVIEW displays something like "VI_Name.vi <append> <B> Task Name: </B> _unnamedTask <1>".
Thanks in advance!
Solved! Go to Solution.
05-05-2016 05:46 AM
That error means that a network connection was lost. What are you trying to communicate with? How often are you communicating with it?
05-05-2016 05:53 AM
I'm communicating with an NI cDAQ- 9188 and the software is always communicating with it because it is part of a monitoring system.
Maybe I should review the network configurations.
Thanks!
05-05-2016 08:40 PM
After you get this error, are you able to just run your program again and have it work? It could just be a momentary loss but if it isn't there might be other ways to get information about the state of the system when it receives this error.
05-06-2016 03:35 AM
Yes, I simply stop it by pressing the "abort execution" button and after I press the "run" button and everything works normally and well. I do not need to close and open the program again.
Could you indicate what are the other ways of getting information about the state of the system when it receives this error?
Thanks!
05-06-2016 05:01 AM
So it sounds like a simple network hiccup. What you should do is detect that error and close the DAQmx task and then reinitialize the task to get it running again. Then you just continue as normal. If you have a good state machine architecture, this is a very simple fix.
05-06-2016 05:30 AM
ok, but that solution isn't going to provoke a loss of data, even for a few milliseconds or seconds, is it?
05-06-2016 06:09 AM
@brosandi wrote:ok, but that solution isn't going to provoke a loss of data, even for a few milliseconds or seconds, is it?
When you get this error, you are losing data regardless. At least automatically recovering will result in less loss of data than aborting and restarting manually.
05-07-2016 04:32 PM
Some switches automatically periodically disconnect connections and reconnect to test the network layout. This is to test the network layout for network communication optimisation, are you directly connected to the cDAQ or a network?
If through a network, do you know what switches and routers are within the network? If so, I would look into their documentation and see if they do perform this function.
05-08-2016 03:38 PM
I'm connected to a network. I will try to check it and implement the crossrulz's suggestion.
Once again, thanks a lot for your feedback.