Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

modified VI not deploying to cRIO

Hi there,

 

My cRIO has a very strange behavior.  I have a cRIO 9075 running in Scan mode, not using the FPGA at all (simply programmed more like a PLC, interfacing with an HMI).

 

I'm still developing this application, so I deploy it everytime I need to to test it.  I built a real time application, and every time I try to deploy it, it goes back to an old version of the code I had.

I have reset the cRIO to factory defaults and reinstalling its software again twice, the problem does not goes away.

It turns out that if I rename the VI (or subVIs) that I have changed since my previous deployment, the problem is fixed!!

 

Unfortunately, there is a subVI right now that even though I change the name again and again does not seem to take the changes I make to it!  When I run it from "My PC" works OK, but when I try to deploy it or run it on the target cRIO (from the project), it does not reflect the changes.

 

Any suggestions or thoughts?

 

I'm running LV 2011 with NI-RIO 4.0.0

 

Thanks,

Luis

0 Kudos
Message 1 of 3
(4,318 Views)

Forgot to attach the project.

 

The project is under the folder "Project"

The SubVi I'm having issues with is "MFM Bus v4.vi".

The startup Vi is "RT_Main_V10.vi"

 

Thanks

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

Hey Luis,

 

Do you have your exe set to run at startup? Try using the No App switch to turn off the VIs running at start up, its possible that your SubVI's previous versions are just continuing to run with even when the new ones are saved.   

Regards,

Eric L.
Applications Engineering Specialist
National Instruments
0 Kudos
Message 3 of 3
(4,306 Views)