lib_isloaded (MathScript RT Module Function)

LabVIEW 2012 MathScript RT模块帮助

版本日期:June 2012

产品编号:373123C-0118

»查看产品信息
下载帮助
(仅限Windows)

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

文章是否对您有帮助?

没有帮助