04-07-2014 03:51 AM
Hello everyone,
Can you share the exact code you're using? (my eyes can't clearly distinguish what is happening in the screenshots)
This will allow me to do a quick test at my side with the code to see if I can reproduce it. I have a 9022 and LV2012SP1 install locally on this pc.
There are several things that I would not advise to do in your code.
Here are the first two things that pop into my mind:
- your timed loop (TL1) that has highest priority, does not contain any error handling.
- in TL1 you also are plotting to a waveform chart.
In an ideal situation an RT VI should have no graph or charts.
Especially your highest priority loop shouldn't have a graph or chart.
Do you have any information concerning your CPU and memory usage when you "lose connection"?
PS: I could be heading in the wrong direction, so please provide me with MAX Reports of your cRIO and your PC:
http://digital.ni.com/public.nsf/allkb/271F252B4EF0A2E0862570E70056A1E4?OpenDocument
04-17-2014 06:10 AM
Hello everyone,
I have solved the problem. I am putting it here so when someone encounters this problem in the future, they can view this post. It is a combination of solutions from other topics.
1. reinstall the software
2. Restart the cRIO
3. important: first run the VI on the cRIO, then the VI located on the computer. When stopping the VI, first stop the VI on the cRIO, afterwards the VI on the computer.
Thanks all for the help!
Niels Van Ransbeeck
04-22-2014 08:11 AM
Hello Niels,
Thank you for the loopback!