Jump to content

Application class/Linker.Read Info From File method: Difference between revisions

From LabVIEW Wiki
Added new method page.
 
Combining duplicate pages
 
Line 11: Line 11:
|}}
|}}
{{TOCright}}
{{TOCright}}
 
The LabVIEW linker (aka linker) is a core piece of LabVIEW code. It is recommended not to use it by NI technicians. The linker connects VIs to other VIs, classes, dll's.  The linker provides this information via a private method called Read Linker Info From File.
==Parameters==
==Parameters==
{{ambox|text=Parameters Table is incomplete.  Please help to add missing information.}}
{{ambox|text=Parameters Table is incomplete.  Please help to add missing information.}}
Line 58: Line 58:


== Uses ==
== Uses ==
{{ambox|text=Specific use cases for this method.}}
===Inputs===
==== Paths To Read  ====
 
Instructs the linker which files to check.
 
*Array of Paths.
 
<!-- Tidy found serious XHTML errors -->
<!-- Tidy found serious XHTML errors -->
 
==== Recursive ====
 
Instructs the linker whether only the '''Paths To Read''' or the callees as well.
 
*Boolean
<!-- Tidy found serious XHTML errors -->
 
====Links to Include====
Instructs the linker which types of links need to be returned.
*Enum
**Include all<br/>
**Run time only<br/>
**Run time only (No typedefs & polys)<br/>
 
===Outputs===
The linker returns an array with the linker info on the files that needed were checked:<br/>
[[Image:Linker_Info_BD.png]]
 
====Linker:Read Info From File====
An array of clusters with the linker info.
====path====
Path of the file that is described in this array element, can be symbolic path.
*(Symbolic)Path
====iState====
Unknown parameter
*U32
====iStyle====
Unknown parameter
*U16
====wStyle====
Unknown parameter
*U16
====buttons====
Unknown parameter
*U16
====viflags====
Unknown parameter
*U32
====viflags2====
Unknown parameter
*U32
====links====
Pointers to files used by this file, the number is the index of the file in the owning array.
*Array of U32
====type====
Info on the actual LabVIEW filetype of the file
{|border="1"
!Enum value
!Description
|-
|Invalid file
|Default value, not a file
|-
|Unknown type
|Not a valid LabVIEW file
|-
|Instrument
|VI, VI template
|-
|Control
|Control, control template
|-
|Polymorphic VI
|Polymorphic VI
|-
|Project
|LabVIEW project file (lvproj)
|-
|Library
|LabVIEW libary file (lvlib)
|-
|LVClass
|LabVIEW Class file (lvclass)
|-
|XControl
|LabVIEW XControl file (xctl)
|-
|XNode
|LabVIEW External node (xnode), officially not supported by NI
|-
|Shared library
|File called by a CLN (.dll, .so)
|-
|.NET assembly
|.NET class file
|-
|ActiveX interface
|ActiveX interface
|-
|CIN
|CIN file
|-
|Run-time menu
|Run-time menu of a VI or control
|-
|Palette menu
|MNU file
|-
|Help file
|CHM file
|-
|LLB
|LLB container file
|-
|XNode Edit Dependency
|
|-
|Class Private Data Control
|Implicit control, this control is embedded in the containing lvclass
|-
|}
 


== History ==
== History ==
Line 75: Line 196:
{{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:VI Server Method]]
[[Category:Private Method]]

Latest revision as of 13:34, 7 May 2020

VI Server Method Information
Method ID 89C
Scope Private
Data Name Linker.Read Info From File
Short Name* Linker.Read Info From File
Long Name* Linker:Read Info From File
* 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 Common Cluster Array data type

Common Cluster Array

Invoke Node Linker:Read Info From File

The LabVIEW linker (aka linker) is a core piece of LabVIEW code. It is recommended not to use it by NI technicians. The linker connects VIs to other VIs, classes, dll's. The linker provides this information via a private method called Read Linker Info From File.

Parameters

Data type Name Required Description
Common Cluster Array Linker:Read Info From File Yes. Return value.
Path Array Paths To Read Yes
Boolean Recursive? Yes
Boolean Exclude Edit Time Dependencies No
Boolean Exclude Typedefs No
Boolean Exclude Poly VIs No
Boolean Exclude Unused Library Items No

Uses

Inputs

Paths To Read

Instructs the linker which files to check.

  • Array of Paths.


Recursive

Instructs the linker whether only the Paths To Read or the callees as well.

  • Boolean

Links to Include

Instructs the linker which types of links need to be returned.

  • Enum
    • Include all
    • Run time only
    • Run time only (No typedefs & polys)

Outputs

The linker returns an array with the linker info on the files that needed were checked:

Linker:Read Info From File

An array of clusters with the linker info.

path

Path of the file that is described in this array element, can be symbolic path.

  • (Symbolic)Path

iState

Unknown parameter

  • U32

iStyle

Unknown parameter

  • U16

wStyle

Unknown parameter

  • U16

buttons

Unknown parameter

  • U16

viflags

Unknown parameter

  • U32

viflags2

Unknown parameter

  • U32

links

Pointers to files used by this file, the number is the index of the file in the owning array.

  • Array of U32

type

Info on the actual LabVIEW filetype of the file

Enum value Description
Invalid file Default value, not a file
Unknown type Not a valid LabVIEW file
Instrument VI, VI template
Control Control, control template
Polymorphic VI Polymorphic VI
Project LabVIEW project file (lvproj)
Library LabVIEW libary file (lvlib)
LVClass LabVIEW Class file (lvclass)
XControl LabVIEW XControl file (xctl)
XNode LabVIEW External node (xnode), officially not supported by NI
Shared library File called by a CLN (.dll, .so)
.NET assembly .NET class file
ActiveX interface ActiveX interface
CIN CIN file
Run-time menu Run-time menu of a VI or control
Palette menu MNU file
Help file CHM file
LLB LLB container file
XNode Edit Dependency
Class Private Data Control Implicit control, this control is embedded in the containing lvclass


History

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

See Also

External Links