Distributed Control & Automation Framework (DCAF)

cancel
Showing results for 
Search instead for 
Did you mean: 

Read Tag Description.vi not working

When using the "Read Tag Description.vi" found in the Utilities palette of the Current Value Table, it was unable to produce any text that was created in the Standard Configuration Editor. Are the tag description entries in the pcfg file not readable with the Read Tag Description.vi?

0 Kudos
Message 1 of 2
(329 Views)

Looking at the pcfg, the tag descriptions are not kept in the CVT section of the file. Additionally, when the tags are created in "CVT runtime.lvclass:create index groupings.vi", it looks like only the data type and name are used to initialize the tag. This also explains why the default values are not correctly passed to the CVT.

 

After figuring this out, then digging a little, it looks like the default value issue was fixed for the latest version of the module available on github. Here's a link to that issue: https://github.com/LabVIEW-DCAF/CVTModule/issues/26. If you wanted the CVT to include the description, you could possibly do it in this vi. The description is not in the dictionary, so you'd have to look up each tag and get its description. Alternatively, you could add the description to the configuration editor for the CVT module and then pass it through the configuration at runtime.

0 Kudos
Message 2 of 2
(292 Views)