Jump to content

CallLibrary class: Difference between revisions

From LabVIEW Wiki
Started page
(No difference)

Revision as of 23:38, 1 September 2019

VI Server Class Information
Return to VI Server Class Hierarchy
Class Name CallLibrary class
Class ID 16417
Scope VI Scripting
Class Inheritance
Class Children

This class has no children.


The CallLibrary class is a class in the VI Server Class Hierarchy, (see also VI Server).

Properties

Show/Hide CallLibrary Properties Table

Legend
R/WReadable/Writable Permissions
RTEAvailable in the Run-Time Engine
Basic Development Environment
VI Scripting
Private
Deprecated
CallLibrary Properties Table
Property ID Short Name (English) Description R/W RTE
636D40D AbortCallback Sets or returns the name of the abort callback function that LabVIEW calls. R/W
636D405 AllowPrealloc R/W X
636D403 AnyThread Indicates whether the function is reentrant. R/W
636D402 CallConvention Uses the calling conventions to call libraries.

Valid values include 0 (C Call) and 1 (stdcall (WINAPI)).

R/W
636D40A DynamicLib Sets the Call Library Function Node, in write mode, to execute with the library path you specify. In read mode, this property returns whether LabVIEW configures the Call Library Function Node to load the library dynamically.

With the dynamic library property set in write mode, the library loads when LabVIEW executes the node. When you wire a different path, the Call Library Function Node unloads the previous library and loads the new library. When you wire a NULL path, the Call Library Function Node unloads the previous library and loads the NULL path in the same way.

R/W
636D40E ErrorCheckingLevel Sets or returns the error level for the Call Library Function Node.

Valid values include 0 (maximum), 1 (default), and 2 (disabled).

R/W
636D401 FuncName Sets or returns the name of the function you configure the Call Library Function Node to call. R/W
636D408 InputTerms Returns a 1D array of references to the input parameters. R X
636D400 LibPath Specifies the path to the DLL or shared library the Call Library Function Node calls. R/W
636D406 NIValidated R/W X
636D407 OutputTerms Returns a 1D array of references to the output parameters. R X
636D409 ParamInfo Sets or returns an array of clusters with information for the parameters of a function.

Each cluster in the array represents a parameter of the function, starting with the return value. The property only returns the fields relevant to the parameter type. For example, if the parameter type is a numeric, the property returns a value to the Param Passing element but not to the Array Passing element.

R/W X
636D40B ReserveCallback Sets or returns the name of the reserve callback function that LabVIEW calls. R/W
636D40C UnreserveCallback Sets or returns the name of the unreserve callback function that LabVIEW calls. R/W

Methods

Show/Hide CallLibrary Methods Table

Legend
RTEAvailable in the Run-Time Engine
Basic Development Environment
VI Scripting
Private
Deprecated
CallLibrary Methods Table
Method ID Short Name (English) Description RTE
636D001 CreateCFile Creates a C file for the Call Library Function Node at the specified path. X
636D000 Prototype Returns the C prototype string for the currently configured function.
636D002 TypeOnlyParam X

Events

No Events for this class.

History

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

See Also