LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

after updating to lv 2010, global variables do not write

I have just updated from LV 2009 SP2 to LV 2010 and found that some of my global variables are written to, but cannot be read from.   Other global variables cannot be written to.

 

How do I fix this? 




metzler CLAD
0 Kudos
Message 1 of 5
(2,683 Views)

It shouldn't happen .. have you tried to open all associated VI of glabal variable to open once and close so that all VI comes in LV2010 version..

0 Kudos
Message 2 of 5
(2,670 Views)

I have opened all the shared variables and re-saved them with LV 2010.  I also have chosen 'Save All' from the main vi in the project.  One thing I did not try is 'save all' from the project explorer - I will try that later today.

 

Do you have any other suggestions if this does not work?




metzler CLAD
0 Kudos
Message 3 of 5
(2,665 Views)

Hello, is that shared variable or global variable ?

 

In my opinion Global variable function are same in 2009 or 2010 so theoretically updating shouldn't effect so it is unly the version issue in executing among the VI .. please make your complete project in updated version if still you get error plz reply with error codes .. 

 

One more thing you can try is to reconnect all variables ..

 

In case it is shared variable  This error can occur if you attempt to read from a write-only variable or write to a read-only variable, or if you do not have permission to access the variable. I am sure this shouldn't be your problem but still have a check on this also ..

 

In next reply please write if you are geting any error code ..

 

BR, HS

0 Kudos
Message 4 of 5
(2,655 Views)

I fixed this by re-creating all the global variables.  I don't know why these were broken, but I have two systems that I updated from LV 2009 SP2 to 2010 and this is the only one that had a problem.

 

Thanks for your advice.




metzler CLAD
0 Kudos
Message 5 of 5
(2,627 Views)