Jump to content

Application class/Code Coverage.Uncovered Diagrams method: Difference between revisions

From LabVIEW Wiki
Added new method page.
 
Add method and parameter descriptions
 
(3 intermediate revisions by one other user not shown)
Line 12: Line 12:
{{TOCright}}
{{TOCright}}


Returns an array of diagram references to diagrams that aren't covered (''wasCoveredFlag'' is currently not set) in the context with name specified.
'''Important note''': Although this method is documented as "spec'd method that may not be implementable", it does return diagram references for contexts of a local host application (should work as long as no remote VI Server calls are needed).
==Parameters==
==Parameters==
{{ambox|text=Parameters Table is incomplete.  Please help to add missing information.}}
{| class="wikitable"  
{| class="wikitable"  
|-
|-
Line 24: Line 26:
| '''Context Name'''
| '''Context Name'''
| Yes  
| Yes  
|  
| The name of the context. For example, acquired with the [[Application class/Application.Context Name property|App.ContextName]] property.
|-
|-
! scope="row" style="text-align:Center;" | [[File:Path.png|frameless|border|Path|link=Path data type]]
! scope="row" style="text-align:Center;" | [[File:Path.png|frameless|border|Path|link=Path data type]]
| '''VI Path'''
| '''VI Path'''
| Yes  
| Yes  
|  
| Path to the VI for which uncovered diagrams should be returned.
|-
|-
! scope="row" style="text-align:Center;" | [[File:LVClassBDConst Refnum Array Indicator.png|frameless|border|LVClassBDConst Refnum Array|link=LVClassBDConst Refnum Array data type]]
! scope="row" style="text-align:Center;" | [[File:Diagram Refnum Array Indicator.png|frameless|border|Diagram Refnum Array |link=Diagram Refnum Array data type]]
| '''Uncovered Diagrams'''
| '''Uncovered Diagrams'''
| Yes
| No (return value)
|  
| An array of uncovered diagrams (''wasCoveredFlag'' is currently not set).
|}
|}


Line 55: Line 57:
{{ambox|text=Add links to external resources that would also help.}}
{{ambox|text=Add links to external resources that would also help.}}


[[Category:Method]] [[Category:VI Server Method]]
[[Category:Private Method]]
[[Category:VI Server Method]]

Latest revision as of 13:28, 28 September 2020

VI Server Method Information
Method ID 922
Scope Private
Data Name CodeCov.UnrunDiags
Short Name* CodeCov.UnrunDiags
Long Name* Code Coverage:Uncovered Diagrams
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 1
Owning Class Name Application Class
Return Data Type No return value
Invoke Node Code Coverage:Uncovered Diagrams

Returns an array of diagram references to diagrams that aren't covered (wasCoveredFlag is currently not set) in the context with name specified.

Important note: Although this method is documented as "spec'd method that may not be implementable", it does return diagram references for contexts of a local host application (should work as long as no remote VI Server calls are needed).

Parameters

Data type Name Required Description
String Context Name Yes The name of the context. For example, acquired with the App.ContextName property.
Path VI Path Yes Path to the VI for which uncovered diagrams should be returned.
Diagram Refnum Array Uncovered Diagrams No (return value) An array of uncovered diagrams (wasCoveredFlag is currently not set).

Uses

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links