shared library problem MathScript

I have a shared library of labview created in labview 8.2.1.  This labview dll contains a three functions, having to turn a number of mathscript embeded nodes inside of them.  The reason for their compilation in a shared library dll is because I want to call this dll of labview 7.0.  I have a test program of work created in labview 8.2.1 and labview 7.0.

The problem I had is that these executables both run ok on my machine development, but when I move them to another machine with only the installed runtimes (7.0 and 8.2.1) labview dll function calls fail to do anything.  No errors appear, so it is very difficult to find where the problem occurs.    I have two different dll called in the example program.  The first dll just manages the file access and has not all the mathscript in bits, but the second, which is the one that I'm really interested in, has the mathscript node.  The memory usage in looking, I see it's the appeal of the file access dll but do not do the mathscript one.

I have installed an evaluation version of labview 8.2.1 on this laptop with only the runtime, run the program and it works fine.  I think there must be something not in the dll but I don't see anything in the options to add something.  I have the mathscript check box selected in the build option.

I know there are a number of functions that do not work with just running, but I'm not all there that use my program.

Does anyone have advice?

OK, I found the solution to my problem.  It was a problem with the version of the runtime that I used.  Labview CDs development is only a partial performance and include all of the files to run applications full (time to install it on his own).  Go to the website of national instruments, there is a period of standard edition which includes everything you need.  Download and install this version seem to have solved the problem.

Tags: NI Software

Similar Questions

  • shared library problem

    Hello
    I have a SWF (intro.swf) who shares a few Bgs for a library (sharLib.swf) common and all the contents are placed in the 2nd intro.swf keyframe.

    I'm loading intro.swf in the main stub. onLoadInit, I move the playhead to the 2nd keyframe by gotoAndStop (2).

    Here's the problem, when I check for the '_currentframe"intro.swf by an enterframe function, it shows _currentframe is '0' and nothing I can see when to publish the stub or by ctrl + enter.

    But when I run the stub.swf by double clicking, his works very well.

    What is the problem? Why the _currentframe shows "0"? and why its not working when I ctrl + enter?

    It will be a great help if anyone make it clear.

    Thanks in advance.

    you check in for _currentframe using the trace() function and you are publishing for flash 6 or an earlier version?

  • Get a precise timing in a C++ shared library in VxWorks

    Hello world

    I am developing a shared library for VxWorks for my compactRio access a «no massive strorage» usb device

    I work with gcc (see develop shared libraries for the cRIO-901 x and other targets of VxWorks for more details).

    The usb part works fine, but I now have to obtain a precise timing in one c++ shared library functions. I tried the functions clockLib (e.g. clock_gettime () - see page 8 of the http://www-ad.fnal.gov/controls/micro_p/manuals/vxworks_application_api_reference_6.6.pdf for more details), but they seem to have a resolution of 1 ms, which is not enough for me.

    There is a clock source faster on the cRio (at least 1 Mhz, one used for timed loops) but I do not know if such a source could be used in a shared library. If so, anyone knows what are the functions of call?

    Thank you very much

    Martin

    OK, I thought about it.  These functions are exported as C functions, so you should use extern 'C' instead of extern just by itself, as I did originally.  Once I did, I was able to compile the following code in its own. File AND it works fine:

    #include
    extern 'C' unsigned long niTimestamp32();

    extern 'C' Sub TimeTest()
    {
    unsigned long ts = niTimestamp32();
    printf ("niTimestamp32 () = 0x%08X\n", ts ");
    }

    Good luck and let me know if you have any problems and more.

  • Unable to load the shared library LVASPT_WA.*

    Hello

    I have a hope that easy to fix the error: I want to use the function "WA Detrend' to the signal processing tool advanced in a real-time application running on a cRio 9030. When I try to run the VI I get the following error:

    ...

    Deployment NI_AdvSigProcWA.lvlib:WA decimation Filter.vi

    NI_AdvSigProcWA.lvlib:WA decimation Filter.vi loaded with errors on the target and was closed.
    LabVIEW: Unable to load the shared library LVASPT_WA.*ptDecimationFilterH:C. make sure that the library is present on the target of RT. Either MAX allows you to install software from OR or FTP to transfer custom RT target libraries.

    ...

    I reinstalled signals Advanced processing toolkit and linked things 'add new software' MAX, but the error persists.

    A picture of what the system looks like to the MAX is attached.

    Also, I Fund this post:

    http://forums.NI.com/T5/LabVIEW/problem-error-deploying-item-on-RT/m-p/3201345/highlight/true#M92822...

    could someone tell me what he means by "Please check the installation of the custom software all mode '?

    Can you telll me what I am doing wrong?

    Thank you very much in advance!

    I ran your situation in R & D, and the problem seems to be as a result of Advanced Signal Processing Toolkit is not not compatible on the x 64 under Linux RT OS in the 9030.  The product page could be clearer on this gap.  I am currently a web application to get this fixed!

    Best,

    David

  • Call to a shared library a VI on a target NI Linux RT (cRIO 9068)

    Hi, I wrote a very small shared library (.so) with Eclipse (toolchain 2014), which essentially serves as a wrapper for more complex, but I am having problems with the call go to in LabVIEW RT on a target Linux RT - specifically, the cRIO 9068. First: the library was copied in/usr/lib and ldconfig has been correctly implemented. More important yet, I have also written a C program (using Eclipse as well) that calls the single function currently implemented in the shared library: this works perfectly, both in Eclipse and you connecting directly on the cRIO with a Putty terminal. So I guess the shared library itself is ok and can be called from code/external programs. Now, dating back to LabVIEW (2014 here btw). Here's where things get difficult, I guess. Initially, I had the symptoms listed here--> http://forums.ni.com/t5/LabVIEW/How-to-create-a-c-shared-library-so-for-linux-real-time-for/td-p/302... who prevented me from actually run any code on the target of RT. Then I changed the call library function node: various tutorials suggest to put name_of_library.* in the path text box or the name of library, but unfortunately it doesn't seem to work, so I had to put the name and the extension too. But it still produces the error below ("the name of the function is not found" etc.) So I check the box 'specify path on diagram' and add/usr/lib as a parameter to the node library function call: now the VI can work and is actually transferred to the target of the RT... but the cluster of output error returns error 7, which is a kind of "File not found" error. However, I believe that this error message is misleading: indeed, if I try to debug remotely this library shared under Eclipse, I am actually able to pause it. and when I press the Pause button on the debugger, the goal of RT VI pauses, then continues as soon as I press the Resume button, I'm stuck... I tried searching forums and Google as well, but I have not yet found a solution. Any ideas on what's going on? Moreover, I can add more details if needed.

    Problem solved, it was a bad configuration of the node library function call which prevented the actual library (.so) to be called.

  • How to create the shared library for linux real-time target in labVIEW Windows?

    I use myRIO running linux in real time. In my project, I need to pack some C code, so I tried the node library function call.

    I know that I should use the tools compile cross - compile linux on Eclipse to compile c code in linux .so library. But the problem is that call library function node does not recognize the .so file because my labVIEW runs on a Windows PC.

    What should I do to fix and how to combine C code with labVIEW during programming for devices shipped as myRIO?

    Basically, you must also create a Windows DLL that exports the same functions. These functions can be empty stubs if you do not want to run the code correctly on Windows, otherwise you will need to consider how to implement the equivalent functionality on the Windows API.

    Then you can write in your node library call as the name of the library ". "*" and the name of the shared library Windows ".dll" while the Linux version is called "name of your library > .so". LabVIEW will replace the * after the comma in the name of library with everything that is the preferred extension shared library for the platform it is running on and therefore load the right shared library.

    Alternatively you can wrap call all the nodes of the library in a structure that contains the node library in the case of Linux RT and all what you want to run on other platforms in the case of default or a case of specific platform, call the conditional compilation.

  • Warning message about the shared library file

    I got this warning message when I try to open the sample xml configuration.

    C:\Program NIUninstaller Instruments\LabVIEW reference (Impl) 8.6\vi.lib\xml\Close .vi (NI_XML.lvlib: Close Reference (Impl) .vi)
    -The shared library should happen to "": \addons\internet\dom\DOMUserDefRef.dll "has been charged with"DOMUserDefRef.dll"."
    C:\Program NIUninstaller Instruments\LabVIEW .vi reference (NdList) 8.6\vi.lib\xml\Close (NI_XML.lvlib: Close Reference (NdList) .vi)
    -The shared library should happen to "": \addons\internet\dom\DOMUserDefRef.dll "has been charged with"DOMUserDefRef.dll"."
    C:\Program NIUninstaller Instruments\LabVIEW .vi reference (NNMap) 8.6\vi.lib\xml\Close (NI_XML.lvlib: Close Reference (NNMap) .vi)
    -The shared library should happen to "": \addons\internet\dom\DOMUserDefRef.dll "has been charged with"DOMUserDefRef.dll"."
    C:\Program NIUninstaller Instruments\LabVIEW reference (node) 8.6\vi.lib\xml\Close .vi (NI_XML.lvlib: Close Reference (Node) .vi)
    -The shared library should happen to "": \addons\internet\dom\DOMUserDefRef.dll "has been charged with"DOMUserDefRef.dll"."
    C:\Program NIUninstaller Instruments\LabVIEW 8.6\vi.lib\xml\Get Child.vi first non-text (NI_XML.lvlib:Get first non-text Child.vi)
    -The shared library should happen to "": \addons\internet\dom\DOMUserDefRef.dll "has been charged with"DOMUserDefRef.dll"."
    C:\Program NIUninstaller Instruments\LabVIEW 8.6\vi.lib\xml\Get Sibling.vi non-text next (NI_XML.lvlib:Get next non-text Sibling.vi)
    -The shared library should happen to "": \addons\internet\dom\DOMUserDefRef.dll "has been charged with"DOMUserDefRef.dll"."
    C:\Program NIUninstaller Instruments\LabVIEW 8.6\vi.lib\xml\Get text Content.vi (NI_XML.lvlib:Get text Content.vi node) node
    -The shared library should happen to "": \addons\internet\dom\DOMUserDefRef.dll "has been charged with"DOMUserDefRef.dll"."
    C:\Program NIUninstaller Instruments\LabVIEW 8.6\vi.lib\xml\Load XML File.vi (NI_XML.lvlib:Load XML File.vi)
    -The shared library should happen to "": \addons\internet\dom\DOMUserDefRef.dll "has been charged with"DOMUserDefRef.dll"."
    C:\Program NIUninstaller Instruments\LabVIEW 8.6\vi.lib\xml\New.vi (NI_XML.lvlib:New.vi)
    -The shared library should happen to "": \addons\internet\dom\DOMUserDefRef.dll "has been charged with"DOMUserDefRef.dll"."

    I've recently updated to 8.6 and I try to compile an executable, but b/c of this warning my executable is not running sends me weird errors. I took the code that calls the XML that is read, and it is fixed. How should I do? Thank you!

    I get this error message when I tried to run the .exe with the xml configuration reader.

    "The application failed to start because xerces - c_2_7.dll was not found. Reinstalling the application may fix this problem. »

  • Unable to load the shared library nilvce.*

    When you try to deploy a Labview 2009 real-time application, I get the message:

    Deployment XDNodeRunTimeDep.lvlib:loadnilvce.viXDNodeRunTimeDep.lvlib:loadnilvce.vi loaded with errors on the target and was closed.

    LabVIEW: Unable to load the shared library nilvce. *: niLVCtrlEngineReserveProc:C on the target RT device.
    Completed with errors of deployment

    I reformatted the CRIO-9073 and reinstalled the software, but this did not help.

    Any ideas on how to solve this problem?

    I was able to solve this problem by changing the settings in a timed loop Structure.

    The Source Type has been set to "synchronize in the scan engine.  This change to the problem solved 1 kHz clock source.

    This vi was initially written for the interface of the scan engine and reused on another project that uses the FPGA interface.

  • Error during the generation of shared library for OSX

    Hello

    I am trying to build a shared library (.framework) using LabVIEW 2011 as Mac.

    My Version of OSX is 10.7.3.

    When I run the build process, TI allways give up showing the error message:

    There is 1 error in DLL - C compile Source File.vi Possible reason (s): you must have the Apple Developer tools installed to build a shared library. Install the Apple Developer tools and attempts to reconstruct the shared library.

    I don't know what developer tool is missing or if there is another problem with my environment.

    Thank you

    Gschwert

    Hi Gschwert,

    in the meantime, I received a response from our developers in Austin.

    Developer Tools Apple which refers to should be X-Code.

    They work with X-Code Version 3.0 and have no problem. They will try to work with your versions (4.2 and 4.3) too and take a look, if there is something special to look for.

    Have you tried using X-Code 3.0? Then you get the same problems?

    Good day

  • Error message "unable to load the shared library.

    I try to get my programs for school to work, and I get these error message whenever I try to run anything. The last line of the State of deployment is as follows:

    Deployment time get NLVSim and isAcceptedStep.vi IsAcceptedStep.vi and NILVSim get busy with errors on the target and has been closed.

    LabVIEW: Unable to load the shared library NILVSim.*: SIM_GetTimeAndIsAccepted:C. make sure the library is present on the target of RT. Either MAX allows you to install software from OR or FTP to transfer custom RT target libraries.

    I tried everything I can think of to fix this. I checked NEITHER Max and I'm all for date on the software. I reinstalled LabVIEW twice, and I reset my myRIO. My classmates do not experience problems with getting theres to work. I start to lose hope and hope someone might know what the question. Thank you for your help.

    WubaDee,

    NILVSim is part of the LV Control Design and Simulation Module. This one is correctly installed on your Windows development system and you installed it on your myRIO?

    Norbert

  • Failure to build LabVIEW application on Linux using "Shared library".

    In order to create a LabVIEW application on linux without X display, I have respected the LabVIEW VI using the shared library for Linux. I did it by clicking with the right button on construction Specifications and selecting New > Shared Library, and in the section Advanced , check the box labeled embedded version using the runtime engine. At the end of the build process, a message to inform that the build failed with the following message:

    "Error 127 to the Exec System: sh: gcc: command not found".

    The error code is not set. No one has provided a description for this code, or you could have wired a number which is not an admission of error code error code. »

    I have had no compling the LabVIEW VI in normal mode, so am confused about which is the problem.

    Hi Julian,.

    GCC is a compiler C and C++ under Linux.  A simple way to check if it is installed is to open a terminal and type 'gcc', if the command is recognized then the package is already installed, and the problem must lie elsewhere.  If this slot of Linux has a package manager, then it must be posted in here also.  If not then it could point to him being not installed or missing a dependency makes not accessible from the command line.  Here is a link that should hopefully scroll you through installation of gcc with Redhat: http://www.cyberciti.biz/faq/centos-linux-install-gcc-c-c-compiler/ .

  • libblackberry.so (Shared library is corrupted)

    Hello

    I have compiled the ARM and x 86 library of Gitorious and Github. Apps helloworld opens with splashscreen to my Simulator. (I'm using QT Creator deployment). However, the GUI elements and the button does not appear, I got following error below. Any help? Thank you. I have over the idea.

    QFactoryLoader::QFactoryLoader() looking at ' / apps/ID.testDev_ID___91b___/native/plugins/platforms/libblackberry.so '.

    QLibraryPrivate::loadPlugin failed on "/ apps/ID.testDev_ID___91b___/native/plugins/platforms/libblackberry.so": ' unable to load library /apps/ID.testDev_ID___91b___/native/plugins/platforms/libblackberry.so: (Shared library is corrupted).

    "Cannot load the /apps/ID.testDev_ID___91b___/native/plugins/platforms/libblackberry.so library: (Shared library is corrupted).

    could not load

    QFactoryLoader::QFactoryLoader() looking at ' / apps/ID.testDev_ID___91b___/native/plugins/platforms/libqminimal.so '.

    ("small") keys

    Failed to load plugin 'blackberry' of the platform. The available platforms are:

    A minimum

    BTW, I solved the problem after the active path reorganize before env var...

    It's my xml


    http://www.QNX.com/schemas/application/1.0">
    ID
    QtHelloWorld
    1.0.0
    DESCRIPTION


    None
    fake
    true
    landscape

    QtHelloWorld

    SplashScreen.PNG
    Icon.PNG


    lib
    plugins
    imports

    Icon.PNG
    SplashScreen.PNG

    run_native





    -platform
    BlackBerry

  • How to create a shared library of Qt and use it on App without a head?

    Hi all

    I'm experimenting with some waterfalls headless basic application development, and I just hit another problem of blocking.

    I want to create a Qt library with some shared code between the head and user interface elements.

    That's what I did:

    1. created a new application without head the wizard project
    2. created a new library shared by using the wizard project. Adds a simple C++ (Qt not) class
    3. Set up the two parts of the Headless App to use the shared library ("Library in the workspace project" option from the "Add library...) (' Assistant).   Everything compiles and works very well so far.
    4. Now, I want to use the shared library Qt. I choose 'Library of the Standard BlackBerry platform' and ' platform > Qt Core "from the «add library...» "Wizard. Now, I had this error on the shared library project: C:\dev\bbndk\host_10_2_0_15\win32\x86\usr\bin\ntoarm-ld: could not find lQtCore.

    How to create a shared library of Qt and use it on App without a head?

    In fact, I would also use other NDK libraries on library shared as lbbdata and libbbdevice.

    I expect that workers would deal with all the problems for me. As an improvement, I suggest you add the selection screen platform library of the Wizard "Add library...". «the wizard «Shared Library Project»

    There is a model of library project

    https://github.com/BlackBerry/Cascades-community-samples/tree/master/Cascades-library-template

    Unfortunately, the library create Assistant isn't really useful #t

    There is also a great series on using headless headless library and user interface:

    http://devBlog.BlackBerry.com/2014/02/a-flexible-architecture-for-enterprise-mobile-applications-par...

  • Shared Library containing a static library

    Hello

    I was wondering if it is possible to integrate a static library, in a shared library project.

    I'm creating a shared library, which will be released, so other developers can integrate my shared library in their application. However, I need to use a static library in my shared library.

    I followed the instructions below, for the creation of a shared library and the static library, but also adding them to my projects. Everything compiles fine and I don't get any problems.

    However when a third party developer incorporates my shared library, the compiler complains about the header files that come from the static library?

    http://supportforums.BlackBerry.com/T5/Cascades-development-knowledge/how-to-use-a-third-party-share...

    I was wondering if someone at RIM, or anyone who has done this before can confirm if it is still possible to do?

    Thank you

    I was able successfully to achieve this. Thank you

  • fail to compile the shared library vorbis for BB10

    I'm using the SDK native on Windows 7 and downloaded the source from Github OggVorbis-Blackberry code. I create a shared library project and import the source code to IDE, but finally get a static version. The makefile contains built in a static library it is not shared. How to solve the problem? I don't know how to use autotools in Windows 7. Can I rebuild the autoconf and automake files in Linux and copy files to Windows 7? Thank you.

    If you are not fluent with the Makefiles then use managed build.

    > I create a shared library project and import the source code of the IDE, but finally get a static version.

    Make sure you have - here shared key:

Maybe you are looking for

  • Is there a way to disable transition effects in Windows XP sp3 via the registry?

    Hi all: In our school district, students are not able to access the display properties and therefore cannot disable fade effect which seems to be the default setting.  Uncheck the checkbox under administrator removes the effect of fade for the admini

  • System Recovery Windows 7 with partition

    I really hope someone can help me! I am at my wits end. I'm doing a system restore on my laptop HP Windows 7 with partition. I haved active partition, but when I do a system recovery, either from the desktop or using F11... recovering the system open

  • Why the CD/DVD drive is not detected by VISTA OS: laptop HP DV6000

    Tried the system restore, it will not be displayed.  BIOS shows is not the CD, but 'my computer '.  How can I get the CD/DVD to be detected by the operating system: VISTA Home Premium?

  • Create forms of vector layer command missing in CS5.5?

    I'm doing the tutorial from Eran Stern on shape layers. It says > place the .ai file in the layer. Did. Go > layers > create vector layer forms--but this option does not exist. Can someone help me understand this. If it is in a higher level of AE and

  • How can I extract text on a screen capture

    I can do a select color to choose all the blue text on this screenshot, but I can't seen to move text to another layer - or I can change the color of the blue text in the color of the background screenshot.   I am a beginner and I bet it's really eas