LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Updating tag Properties (Binding) using Shared Variable Property Node Takes long time

Hi All,

 

We are using Labview 8.2.1 with Labview DSC 8.2 in our application.

 

We are having 200 shared varaible configured for Alarm and Data Logging.

 

Our Application needs the Data Redundancy. In order to achieve data redundancy, We are using "Binding" property of Shared Variable Property Node.

 

We are able to rebind the tags programatically , how ever we are facing a problem of rebinding the 200 tags took about 80 seconds approximately. Which is unacceptable to our application. We are using Shared Variable Property node for rebinding the tags (Deployed Shared Variable).

 

Is there any better way to rebind the tags faster?

 

We have even tried using the Shared Variable Property Nodes in parallel to edit multiple shared variable but this did not provide any improvements in execution time.

 

Thanks

Vijay Jayabalan.

Message 1 of 3
(3,153 Views)

Hi Vijay,

 

What are you binding your shared variables to?   Can you post your code or a screenshot?

Regards,

Jeremy_B

Applications Engineer
National Instruments
Message 2 of 3
(3,129 Views)
Vijay,On my computer it takes about 0.1 seconds to bind one single shared variable programmatically using the property node method (a very good method). In my estimation, the time delay you are seeing is not that unreasonable and I would consider expected behavior. During the bind of a shared variable there is a lot going on. There is not a lot that you can do to go faster if you want to stick with shared variable because of the features/overhead (networking, alarming, logging, time stamping, buffering… ) associated with shared variables.

Hopefully you can find a way to initialize your shared variables before you need to start going fast. Shared Variables are a great tool for doing data management because of all their features/overhead. However, it is not uncommon for developers to have to go beyond shared variables when issues such as speed become a problem. One such example is the STM VIs which can send/receive data faster than shared variables but lack features such as alarms.
Message Edited by Charlie M. on 09-16-2008 01:40 PM
Charlie M. CLD
Message 3 of 3
(3,116 Views)