Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

lib_isloaded (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: libraries

Requires: MathScript RT Module (Windows)

Syntax

a = lib_isloaded(libname)

Legacy Name: libisloaded

Description

Checks if a shared library is loaded.

Details

Examples

Inputs

Name Description
libname Specifies the name of the shared library you want to check. If you assigned an alias when you loaded the shared library, use the alias for libname. libname is a string.

Outputs

Name Description
a Determines whether the shared library is loaded. This function returns 1 if the shared library is loaded. Otherwise, this function returns 0.

Details

Refer to the MathScript Shared Libraries.lvproj in the labview\examples\MathScript\MathScript Shared Libraries directory for examples of calling shared libraries from MathScript.

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized

Examples

lib_isloaded('myD')

r = [labviewroot '\examples\MathScript\MathScript Shared Libraries']
lib_load('myDemo', 'demo', 'alias', 'myD', 'includepath', r)
lib_isloaded('myD')
lib_unload('myD')

Related Topics

labviewroot
lib_call
lib_funclist
lib_load
lib_unload


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit