Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

cRIO variables not updating properly

During the program deveploment the variables work fine now I am triying to run the program to test but the variables do not update properly or not at all.

I am using labview 2011, cRio 9074 with IO's and analog Inputs and Outputs

0 Kudos
Message 1 of 3
(5,303 Views)

Hello Toro,

 

It would be very useful if you could provide us with more information on the behavior you are seeing.  When you say run the program to test, are you deploying it as an executable?  Did you set the executable to be a startup executable?  For more info on startup executables, take a look at the following links:

 

http://digital.ni.com/public.nsf/allkb/52E943F7D6E7C0578625720A001DDF6E?OpenDocument

http://digital.ni.com/public.nsf/allkb/b37fa04a1cb84b6c862571a30060ef03?OpenDocument

http://digital.ni.com/public.nsf/allkb/cd3c7a3f58cbbaaa862570f8007d8d06?OpenDocument

http://digital.ni.com/public.nsf/allkb/a82cef3fdc14dca68625712500009649?OpenDocument

 

Have you made sure to deploy your shared variable library, either from the host or from the target?  Take a look at this link for more info:

 

http://digital.ni.com/public.nsf/allkb/04d9a85b6967ee87862571140065eec6?OpenDocument

 

 

If you could provide more details about the behavior you are seeing, what sort of deployment you are doing, and what you mean by running the program, then I can hopefully provide a more detailed answer that is more specific to what you're actually experiencing.  Thanks!

Patrick
CLA
0 Kudos
Message 2 of 3
(5,294 Views)

Hi:

 

Sorry, I took so long to respond. Thanks for your respond. I was able to solve my problem. I found that I had lost my share variable library I do not Know how it happen. One night I turn my program off then my PC the next day I could not get my program to run. I took me 4 hours to figure it out. To correct the problem I had to make a new Shared Variable Library and update them in my program.

 

Thanks

0 Kudos
Message 3 of 3
(5,227 Views)