LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cRIO-9035 Disconnects When Running VI

I’m using a cRIO-9035 with several I/O modules, including NI-9472 (24 V digital outputs).
My LabVIEW project was working properly until I added new physical connections and the corresponding variables in the code.
Since then, the cRIO disconnects as soon as I run the VI.

Details:

  • The POWER LED stays on and STATUS is off.

  • All outputs are set to zero at startup.

  • The connection drops exactly when the code begins to execute.

0 Kudos
Message 1 of 5
(105 Views)

Hi joelle,

 


@joelle5678 wrote:

My LabVIEW project was working properly until I added new physical connections and the corresponding variables in the code.
Since then, the cRIO disconnects as soon as I run the VI.


Switch to an older revision of your code when there was no error. (Do you already use a SCC tool? If not: implement one!)

 

Then do your changes again, but test them step by step…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(93 Views)

You are using the word "connection" in two different contexts ("...added new physical connection..." vs "... the connection drops exactly ...").

 

Can you be a bit more specific?

What did you add?

What are "variables"?

What kind of "connection" drops?

0 Kudos
Message 3 of 5
(89 Views)

I added new connections to my NI-9472 digital output module to open and close valves, and I also added thermocouples to my NI-9211 module.
Since then, when I load the code, I lose the communication between the cRIO and my LabVIEW project.

I can still see the cRIO in NI MAX, but I can no longer connect to it from my LabVIEW project.

0 Kudos
Message 4 of 5
(75 Views)

After the problem appeared, I tried to connect the cRIO in a new blank LabVIEW project, but I couldn’t.
So, I restarted the cRIO, and it entered Safe Mode.
I saw that one possible solution was to uninstall and reinstall the LabVIEW software on the cRIO, so that’s what I’m doing right now.

0 Kudos
Message 5 of 5
(73 Views)