05-20-2013 09:23 AM
Hi everybody:
I am using a cRIO 9014 for data aquisition. I have a Master VI that calls another SubVis. My problem is when I make a modification on any VI, save it and deploy it....the cRIO doesn´t make any changes on the program!! In order to see the changes, I need to save the VI as other with a different name and deploy it.... does any one has the same problem?
Thanks for your help!
I´m using LabVIEW 2011!!
05-21-2013 11:57 AM
Hi ivan_rg1!!
Thanks for using NI Discussion Forums!!
Have you tried rebuilding the RT Application EXE?? Have you tried loading the Startup EXE through FTP in MAX??
From what you posted, renaming the VI and saving it with a new name actually rebuilds the Startup EXE, which would explain why this works for you so far.
Hope this helps!!
Regards!
05-21-2013 12:16 PM
Hi Anuar R. Thanks for your response.
I actually rebuilt the RT app exe and it works (it detects the changes) but my question is, must I rebuild everytime I make any changes on a Vi regardless the insignificance of this change? It´s not supossed to see the changes what I made when I click on the Run button?
This is my first time using Scan mode so maybe I´m a little predisposed to the FPGA mode.
Regards!
05-21-2013 12:24 PM
Hi ivan_rg1!!
I'm glad it works now!! No, you do not have to rebuild the RT Application EXE everytime you make a change. In fact, you should only build the RT Application EXE once you want to deploy the final version of your application. Once you deploy the EXE and it has a Startup VI configured, the cRIO controller loads this version as startup regardless of what you deploy under the Project Explorer in LabVIEW. This may be the reason why you did not see the changes everytime you deployed after loading an RT Application EXE.
You can disable the Startup VI from your Build Specification context menu, in order to keep loading the VI from the Development Environment.
Hope this helps!!
Regards!!