LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

-1950679023 Shared Variable Engine and the NI 9148

I'm running an RT application on a cRIO-9074 that calls I/O from a connected cRIO expansion chassis (NI 9148). At some point some digital input variables throw he following error

 

-1950679023, The connection to the server was disconnected.

 

What's strange is that its only some of the inputs that have this problems. Other variables on the same module work just fine. What's going on here and how can I get my system to recover from this error once throw?

 

 

I'm running RT 2011.0.1  and Network Variable Engine 1.8.1

 

Craig

0 Kudos
Message 1 of 4
(2,434 Views)

Hi Craig,

 

Here is a KnowledgeBase on why this error typically appears, http://digital.ni.com/public.nsf/allkb/7BA64956A475405F862570ED007B2A88?OpenDocument . Could you give a little more detail on your set up? What module are you using? What are the digital inputs that are erroring out connected to? What are your non-error producing digital inputs connected to? What do you have to do in order to recover from this error (restarting your VI, rebooting the hardware, etc.)? 

 

Regards,

Miles G.
National Instruments
Staff Applications Engineering Specialist
0 Kudos
Message 2 of 4
(2,420 Views)

Sorry to just now respond. I've been seeing this issue less now that i've optimized my cRIO to run at a lower CPU utilization (from 85% down to 65%). I have a cRIO 9074 connected to a switch that has a two 9148 connected in addition to an HMI running windows XP. The cRIO runs headlessly controlling a test application and runs at about 65% CPU with 47mB of available RAM at runtime.

 

I see the error on two IO variables. One variable is located on a NI-9422 of the first expansion chassis and the second variable is located on a NI-9422 on the second expansion chassis.

0 Kudos
Message 3 of 4
(2,337 Views)

Hi Craig,

 

Do you see these same problems if you place the two offending modules in the 9074's chassis instead of an expansion chassis? If you do make this switch do you then see errors on other modules?

 

Have you tried programmatically reading the variables instead of using shared variable nodes? You can find an example of this if you're not familiar with it here, https://decibel.ni.com/content/docs/DOC-12548. 

 

When you see these errors does your application stop running, or do you just see the errors being carried through the variables as it continues to run? Also, just to double check, you're seeing these errors intermittently not every time you run correct? Also is there anything noticeable happening when this error occurs other than the error itself?

 

Finally, could you post a little bit of your code, or some screenshots of where you're accessing these variables and how often you're doing so? 

 

Thanks,

 

Miles G.
National Instruments
Staff Applications Engineering Specialist
0 Kudos
Message 4 of 4
(2,326 Views)