Jump to content

VI class/InternalStats method: Difference between revisions

From LabVIEW Wiki
m Added Private Method Category to page
Add list of modifiers
Line 34: Line 34:
== Uses ==
== Uses ==
{{ambox|text=Specific use cases for this method.}}
{{ambox|text=Specific use cases for this method.}}
== List of modifiers ==
This is an incomplete list of modifiers available to this method. Modifiers must be provided in a JSON-formatted string. Multiple modifiers can be provided at once:
  { "ds_details": true, "vi_link_info": true }
{| class="wikitable"
!Modifier
!Example
|-
|<code>basic_members</code>
|<syntaxhighlight lang="json">{
    "vi_pointer": 517786824,
    "vi_sizeof": 430,
    "vi_shared_data_sizeof": 597,
    "vi_nclumps": 0,
    "vi_reentrancy": "non",
    "vi_ncallees": 0,
    "ds_block": 496176576
}</syntaxhighlight >
|-
|<code>code_info</code>
|<syntaxhighlight lang="json">{
    "code_block": 497903936,
    "code_begin": 522473024,
    "code_size": 6108,
    "code_pointers": [
        34115712,
        ...
    ],
    "code_entry": {
        "sizeof": 40,
        "offset_to_init_ptrs_proc": 4448,
        "ptab_offset": 4544,
        "n_basic_blocks": 243,
        "code_end_offset": 6016
    },
    "code_end": {
        "sizeof": 20,
        "signature_name": "",
        "code_end_offset": 6016
    }
}</syntaxhighlight>
|-
|<code>compiler_reflection</code>
|<syntaxhighlight lang="json">{
    "compiler_vectorNodeIDs": [
    ],
    "compiler_loopInvNodeIDs": [
        658,
        1117
    ],
    "compiler_constFoldedNodeIDs": [
        83,
        775,
        1137,
        1833
    ]
}</syntaxhighlight>
|-
|<code>ds_all_clone_nums</code>
|<syntaxhighlight lang="json">{
    "ds_all_clone_nums": [
        0
    ]
}</syntaxhighlight>
|-
|<code>ds_all dataspaces</code>
|<syntaxhighlight lang="json">{
    "ds_all_dataspaces": [
        496176576
    ]
}</syntaxhighlight>
|-
|<code>ds_all_subvi_patches</code>
|<syntaxhighlight lang="json">{
    "ds_all_subvi_patches": [
    ]
}</syntaxhighlight>
|-
|<code>ds_deep_sizes</code>
|<syntaxhighlight lang="json">{
    "ds_deep_sizes": [
    ],
    "ds_deep_invar_sizes": [
    ]
}</syntaxhighlight>
|-
|<code>ds_details</code>
|<syntaxhighlight lang="json">{
    "ds_details": "Top Level DataSpace [0x1D930DC0 -> 0x1E1B9200]\r\nviStartUpActionNeededFlag=0x01\r\nwindowFlag=0x00\r\n..."
}</syntaxhighlight>
|-
|<code>ds_link_info</code>
|<syntaxhighlight lang="json">{
    "ds_link_info": "LinkObj(0x1E0F81D8) VIDS \r\n    LinkName: InternalStats.vi\n    LinkCtxt: Main Application Instance\n    LinkPath: InternalStats.vi\n  No Referencers\r\n  No References\r\n"
}</syntaxhighlight>
|-
|<code>ds_size_info</code>
|<syntaxhighlight lang="json">{
    "ds_begin": 505123328,
    "ds_top_size": 1628,
    "ds_header_size": 496,
    "ds_deep_nblocks": 0,
    "ds_deep_size": 0,
    "ds_tm_nitems": 53,
    "ds_hilite_table_size": 496,
    "ds_probe_table_size": 80
}</syntaxhighlight>
|-
|<code>ds_tmi_to_uid_map</code>
|<syntaxhighlight lang="json">{
    "ds_tmi_to_uid_map": [
        {
            "tmi": 4,
            "uid": 0,
            "dot": true,
            "dist": 4
        },
        {
            "tmi": 6,
            "uid": 122,
            "dot": true,
            "dist": 0
        },
        ...
    ]
}</syntaxhighlight>
|-
|<code>vi_link_info</code>
|<syntaxhighlight lang="json">{
    "vi_link_info": "LinkObj(0x1A337140) LVIN \r\n    LinkName: InternalStats.vi\n    LinkCtxt: Main Application Instance\n    LinkPath: InternalStats.vi\n  No Referencers\r\n  No References\r\n"
}</syntaxhighlight>
|}


== History ==
== History ==
Line 44: Line 182:
|More info to come.
|More info to come.
|}
|}
== See Also ==
== See Also ==
{{ambox|text=Add links to internal wiki pages that would also help.}}
{{ambox|text=Add links to internal wiki pages that would also help.}}

Revision as of 08:47, 11 January 2025

VI Server Method Information
Method ID 4AB
Scope Private
Data Name InternalStats
Short Name* InternalStats
Long Name* InternalStats
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 2
Owning Class Name VI Class
Return Data Type String data type

String

Invoke Node InternalStats

Parameters

Data type Name Required Description
String InternalStats Yes. Return value.
String modifiers No

Uses

List of modifiers

This is an incomplete list of modifiers available to this method. Modifiers must be provided in a JSON-formatted string. Multiple modifiers can be provided at once:

 { "ds_details": true, "vi_link_info": true }
Modifier Example
basic_members
{
    "vi_pointer": 517786824,
    "vi_sizeof": 430,
    "vi_shared_data_sizeof": 597,
    "vi_nclumps": 0,
    "vi_reentrancy": "non",
    "vi_ncallees": 0,
    "ds_block": 496176576
}
code_info
{
    "code_block": 497903936,
    "code_begin": 522473024,
    "code_size": 6108,
    "code_pointers": [
        34115712,
        ...
    ],
    "code_entry": {
        "sizeof": 40,
        "offset_to_init_ptrs_proc": 4448,
        "ptab_offset": 4544,
        "n_basic_blocks": 243,
        "code_end_offset": 6016
    },
    "code_end": {
        "sizeof": 20,
        "signature_name": "",
        "code_end_offset": 6016
    }
}
compiler_reflection
{
    "compiler_vectorNodeIDs": [

    ],
    "compiler_loopInvNodeIDs": [
        658,
        1117
    ],
    "compiler_constFoldedNodeIDs": [
        83,
        775,
        1137,
        1833
    ]
}
ds_all_clone_nums
{
    "ds_all_clone_nums": [
        0
    ]
}
ds_all dataspaces
{
    "ds_all_dataspaces": [
        496176576
    ]
}
ds_all_subvi_patches
{
    "ds_all_subvi_patches": [

    ]
}
ds_deep_sizes
{
    "ds_deep_sizes": [

    ],
    "ds_deep_invar_sizes": [

    ]
}
ds_details
{
    "ds_details": "Top Level DataSpace [0x1D930DC0 -> 0x1E1B9200]\r\nviStartUpActionNeededFlag=0x01\r\nwindowFlag=0x00\r\n..."
}
ds_link_info
{
    "ds_link_info": "LinkObj(0x1E0F81D8) VIDS \r\n    LinkName: InternalStats.vi\n    LinkCtxt: Main Application Instance\n    LinkPath: InternalStats.vi\n  No Referencers\r\n  No References\r\n"
}
ds_size_info
{
    "ds_begin": 505123328,
    "ds_top_size": 1628,
    "ds_header_size": 496,
    "ds_deep_nblocks": 0,
    "ds_deep_size": 0,
    "ds_tm_nitems": 53,
    "ds_hilite_table_size": 496,
    "ds_probe_table_size": 80
}
ds_tmi_to_uid_map
{
    "ds_tmi_to_uid_map": [
        {
            "tmi": 4,
            "uid": 0,
            "dot": true,
            "dist": 4
        },
        {
            "tmi": 6,
            "uid": 122,
            "dot": true,
            "dist": 0
        },
        ...
    ]
}
vi_link_info
{
    "vi_link_info": "LinkObj(0x1A337140) LVIN \r\n    LinkName: InternalStats.vi\n    LinkCtxt: Main Application Instance\n    LinkPath: InternalStats.vi\n  No Referencers\r\n  No References\r\n"
}

History

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

See Also

External Links