LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a performance hit when the "Description Property" is enable with Shared Variables?

Hello,

I tried searching for information on the "Description Property" for network shared variables with no luck. Can someone please detail what this property is used for and how it works?

0 Kudos
Message 1 of 5
(2,821 Views)

It's a field where you can enter more information about what the particular shared variable is used for.  It would be for good code documentation.  Why do you think there would be a performance hit?

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

Yes, I gathered that would be its primary use. Is the description transmitted with the data? Why have the "Description Enable" setting if it is used only for code documentation?

0 Kudos
Message 3 of 5
(2,814 Views)

What is the purpose of the "Enable Description" check box? Is there a performace hit with it checked?

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

Snord:

 

There is no performance hit from enabling the shared variable description. The description field provides a place to store variable documentation for development purposes. While it is deployed in the local shared variable engine, it is not published with variable updates in any way, and is not remotely accessible.
It can be accessed locally through the variable properties dialogue in your project, or via a "Description" property node on a DSC shared variable refnum (the property will return an error if run on a remote SV client).

Caleb Harris

National Instruments | http://www.ni.com/support
0 Kudos
Message 5 of 5
(2,790 Views)