Owning Class: libraries
Requires: MathScript RT Module (Windows)
a = lib_isloaded(libname)
Legacy Name: libisloaded
Checks if a shared library is loaded.
| 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. |
| 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. |
Refer to the MathScript Shared Libraries.lvproj in the labview\examples\MathScript\MathScript Shared Libraries directory for examples of calling shared libraries from MathScript.
lib_isloaded('myD')
r = [labviewroot '\examples\MathScript\MathScript Shared Libraries']
lib_load('myDemo', 'demo', 'alias', 'myD', 'includepath', r)
lib_isloaded('myD')
lib_unload('myD')