From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Shared Variables To Lib

Hi everybody,

 

I'm changing the attributes of a single shared variable and running the variable through the "SharedVariablesToLib.vi" to save the settings in the variable engine. I have som trouble about the time the vi uses:

 

With 20 variables deployed in the library it use 450 ms

With 100 variables it use 1640 ms

And finally with 710 variables it use 54100 ms

 

Does anyone know why it should take that amount of time for such a simple operation? Why should it use longer time with more variables deployed in the library when i'm just changing one?

 

 

LabVIEW 8.6 and DSC 8.6

 

Thanks,

Tomas

0 Kudos
Message 1 of 2
(2,539 Views)

 

Hi Tomas,

 

LabVIEW will allways have to deploy the whole library, because the variable is part of it. When you change the attributes of the variable you also change the lib. it self.

 

Sorry, but the only way to save deployment time is to split the library.

 

Best regards

Rüdiger 

0 Kudos
Message 2 of 2
(2,512 Views)