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
Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉