Error 1198 when launching re-entrant VIs

I am trying to launch multiple instances (just two instances for right now) of a re-entrant VI using a static reference to the VI and the Run VI method. I am trying to do this in parallel. I am not waiting for the VI to finish and am auto-disposing the reference. To set the VI up, I am also modifying the VI's control values before launch using the Set Control Value method.
Sometimes when doing this I receive Error 1198 -- "The VI is not in a state compatible with this operation. Please change the execution mode of the referenced VI to reentrant for this operation."
The VI is already re-entrant though so I'm not quite sure what's going on or if I'm trying to run things in parallel that shouldn't be.
Any insight into what else this error might be indicative of? The only other symptom is that it gives me the error sometimes and sometimes it doesn't.

I tried to mimic your problem and came up with something similar. I received Error 1000 stating that the 'The VI is not in a state compatible with this operation'.
I think you were missing an input on your Open VI Reference VI. You actually have to prepare the VI for a reentrant run. You can do this by wiring a constant value to the 'Options' terminal of Open VI Reference. Refer to the detailed help for the Open VI Reference:
Here is the part that I think will solve your problem
" options is a bit set that specifies how the VI reference is treated. options can be a combination of the
following values.
0x08 Prepare for reentrant run. Reserves the target VI so it cannot be edited and if the
target VI is reentrant, allocates a dedicated parallel data space for this VI reference. If the
target VI is not reentrant, the function returns an error. When you release the VI reference,
LabVIEW unreserves the reentrant target VI and deallocates a parallel data space. When you set
this option and use the Run VI method, you can run multiple instances of a reentrant VI
simultaneously. Refer to the examples\viserver\runvi.llb for examples of using this option."
I am attaching a VI that demonstrates the same. Note, once you create the constant you have to change its format to Hex and then type in the value '8'
Attachments:
ReentrantVI.vi ‏25 KB

Similar Messages

  • Uninstalled Old PS Versions - Now Get "One Or More File. . .etc" Error Message When Launching PS CC

    I just unistalled PS C3 through 6 on my computer leaving only PS CC for use going forward.  Having done this I now get this error message when launching PS CC:  "One or more files in the Adobe Application Support folder, necessary for running Photoshop, are missing.  Please run the Photoshop installer and re-install Photoshop."  The thing is PS CC still appears to be working okay once that error message is cleared.  How can I get rid of that error message?  I can't reinstall using the CC Updater because it still sees PS CC on the system thus it won't install another copy.  I'd just as soon not uninstall it and I'm not sure that would fix the issue anyway.
    Any ideas?

    Hi jpolster,
    You can uninstall PS CC through the Control Panel in windows/Utilities in MAC & the reinstall PS CC.
    Thanks

  • "Internal error occurred" when launching Acrobat Pro X (AAMEE 3.1.150.0)

    AAMEE 3.1.105.0 generated packages run fine when pushed to Macs that do not have an existing previous version of CS.
    However, if pushed to a Mac that has CS4 installed, CS6 installs but Acrobat Pro X will not launch ("Internal error occurred").
    We are using the latest Adobe CS6 Design & Web Premium installer DMGs from licensing.adobe.com and we are following the standard workflow.
    I know Adobe's position is "We don't recommend or support concurrent installs of Creative Suite" (I get that).
    Since OS X lacks package management (ala Yum, RPM, etc.), the term "Uninstall" is vague, but we appreciate Adobe's "cleaner tool".
    Unfortunately the "cleaner tool" is only marginally effective, it leaves a mess behind.
    And...when "cleaner tool" is used to remove CS4, it whacks CS6.
    Wait...it gets worse...when "cleaner tool" is used, we now can't push our CS6 package to the Mac...we get...<drumroll>..."Internal error occurred" when launching Acrobat Pro X.
    Someone shoot me...please put me out of my misery.
    Why can't deploying CS6 be as simple as...
    http://www.toysrus.com/product/index.jsp?productId=3938350&CAWELAID=479925582
    Don

    OK, we resolved the issue. Apparently there was a ~/Library/ColorSync folder present, not owned by the logged in user, and the logged in user had no access. Given OS X's domain model, it looks like Acrobat Pro X looks at that folder when it launches, even though it doesn't need to, and it can't get into it, so it tosses up the error.
    Removing the folder (since it's not needed) resolves the issue. If the folder was needed, we would change ownership and permissions so Acrobat Pro X could access it.
    Problem solved.
    Thanks,
    Don

  • The error 16 when launching Photoshop elements 12

    Ok I keep getting the error 16 when launching Photoshop elements 12, 1) It says to re-install (did that and did not work twice), there is also the Cache.db unlock (did that - not a solution either)... I need more information on what the problem could be ?

    if that's the shared tech error, http://helpx.adobe.com/photoshop-elements/kb/troubleshoot-installation-photoshop-elements- premiere.html#main_Error__Below_mentioned_applications_have_failed_to_install__Shared_tech nologies_

  • Error-code when launching Time Machine from MacBook Pro

    I´ve get this error-code when launching Time Machine: An unaspected error has acourd (errorcode -6584)
    Solution on this?

    Sounds like OSX has lost track of where it is.  Try a "full reset" of Time Machine, per #A4 in Time Machine - Troubleshooting.
    If that doesn't help, try repairing your backups, per #A5 there.

  • [SOLVED] error message when launching deluge

    Hi everyone, i see this error message when launching deluge torrent client ( its not launching at all from menu)
    [bb@arch ~]$ deluge
    [ERROR   ] 00:59:41 ui:168 No module named gobject
    Traceback (most recent call last):
      File "/usr/lib/python2.7/site-packages/deluge/ui/ui.py", line 149, in __init__
        from deluge.ui.gtkui.gtkui import GtkUI
      File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/__init__.py", line 1, in <module>
        from gtkui import start
      File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/gtkui.py", line 37, in <module>
        import gobject
    ImportError: No module named gobject
    [ERROR   ] 00:59:41 ui:169 There was an error whilst launching the request UI: gtk
    [ERROR   ] 00:59:41 ui:170 Look at the traceback above for more information.
    Xfce4 as DM
    i dont have a clue about this one
    thanks in advance
    Last edited by memax (2012-05-13 00:49:09)

    slithery wrote:
    mhelvens wrote:Edit: But wait... Then why did Deluge have an icon in Gnome without the optional dependencies installed?
    Because the .desktop file is part of the upstream source, it's always created as part of the build procedure.
    I did not mean "what is the direct cause of the icon". I meant "why did the maintainers choose to include the icon when there is no GUI application to link it to" (see below).
    I don't see why there is an issue with these optional dependencies at all, the deluge wiki page is perfectly clear on the subject.
    The issue is that a broken `.desktop` file is being added. The fact of the matter is that if both Deluge and some window manager have been installed, `pygtk` should become a mandatory dependency. Unfortunately, pacman is not capable of that kind of reasoning.
    See an earlier post of mine for some more general problems I have with the pacman dependency system.
    Last edited by mhelvens (2014-07-24 13:11:37)

  • Why do I get Error -1073807343 when calling the open visa function ?

    Hello,
    I am running a Labview 6i under Linux (kernel 2.4) and I have Error -1073807343 when calling the open visa function. I have verified the name of the session (GPIB0::9::INSTR), and I can communicate with my instruments with ibic.
    More informations : I use NIVISA 2.5 and nigpib-0.8.2. I have downloaded the lastest drivers of my instruments but it doesn't work better.
    Thanks very much for your help.

    We've had several NI-VISA releases since 2.5 - so I suggest you upgrade to NI-VISA 3.0. While there isn't anything specific to your type of problem in the Linux version of our readme.txt, I know we've made a number of other fixes.
    While the most recent release is NI-VISA 3.1, I still recommend you upgrade only to 3.0.
    This is because NI-VISA 3.1 requires the new NI-488.2 release for GPIB-ENET to be installed (even though you aren't using that product). This is due to some internal rearchitectures, and the PCI-GPIB product is not released. If you do want to go with NI-VISA 3.1, the new NI-488.2 release for GPIB-ENET on Linux will still work with the PCI-GPIB beta driver that you have installed.
    Dan Mondrik
    National Instruments

  • Error message when launching PowerPivot Window using Excel 2010

    I have installed the latest version of Powerpivot on several of our workstations.  Some of them are running the application just fine and some of them are getting an intermittent error message when trying to launch the PowerPivot Window.
    We are running Windows 7 ENT 32bit with Office 2010 32bit
    The error message given is : An operation that uses the database driver could not be completed.   If the driver is a Microsoft driver, make sure the drvier file isn't damaged, and if it is, reinstall the driver by re-installing Microsoft Query.  
    You can then try again and it will work.
    In fact the majority of the time this error message won't appear.
    The application has been removed and reinstalled.
    When I checked event viewer i'm finding this error which I think is related
    The description for Event ID 1 from source MSOLAP$LocalCube cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

    MSOLAP$LocalCube cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted.
    Hello,
    It's just a guess: Power Pivot uses the MSOLAP = "Microsoft OleDB Provider for OLAP" and maybe that Provider is damaged on the machine. You may try to reinstall the Provider, you can get the installer named "SQL_AS_OLEDB.msi" from
    Microsoft® SQL Server® 2012 SP2 Feature Pack  =>
    ENU\x86\SQL_AS_OLEDB.msi (for 32 bit)
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Firefox 4.0 displays an error code when launching: "TypeError: Components.classes[cid] is undefined", add-ons doesn't work and I can't open any web pages

    Hello
    I've been running Firefox 3.6.16 with no problems at all, and this morning decided to upgrade to Firefox 4.0, as the developer of the them I use, Foxscape, has upgraded it to work with 4.0. The installation appeared to be as normal, but when I launched 4.0, the following error message appeared: error "when launching firefox 4.0 TypeError: Components.classes[cid] is undefined". The browser launched, but while I could go to webpages if they were in my bookmarks, so no problems with my internet connection, but when I typed in a URL (for example google.co.uk) and pressed "go", nothing happened. Similarly, when I tried to go to add-ons, it was as if I hadn't clicked anything. I wondered whether it was an issue with Foxscape (although I've never had any problems before when upgrading, as the standard theme just appears) so I reverted to 3.6.16, switched the theme to standard, then tried upgrading to 4.0 again. The same thing happened, so I'm positive it's got nothing to do with Foxscape.
    I run Windows Vista Home Edition on a Dell Inspiron. I also have IE 9 installed (I installed it a few weeks ago, and it's been running fine with 3.6.16). I've never had any problems with Firefox before; I'm very keen to upgrade to 4.0, and would appreciate your help in fixing this.
    Thanks

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • Error 16 when launching adobe photoshop elements 10

    I purchased this product and downloaded it. The setup and installation went fine. However when launching the application I get error 16.
    I followed the instructions 3 times doing shutdown after installation. Problem still there. Please let me know if there is an answer to this.

    Do you receive any errors when installing?  I would recommend using the Adobe Support Advisor to analyze your installation logs.

  • What action can I take to eliminate the following error message when launching iTunes?

    Since the iTunes upgrade last week I persistently get the following message when launching iTunes. "You are signed in with a different Apple ID than previously used with Podcasts. Do you want to sync these podcast subscriptions and stations with ------------ "
    I only have one Apple ID of which I am aware. I changed the password just before the update, after receiving an email advising access from a device that I did not recognise.
    The error message goes on to refer to a Windows XP, desktop system as the previous platform for this synchronisation. I have been relying upon the old MacBook Pro since March, when iTunes on the Desktop crashed. I gave up trying reinstallation etc. on the desktop as nothing appeared to resolve the problem. I have "uninstalled" the application in Windows but lack the necessary skills to remove all traces. I still get error messages about iTunes when opening Windows XP but there is no evidence of application elements on the Hard Drive / System that I am able to recognise.
    iTunes appears to lack a process for updating to recognise that the current platform should be the default.

    Try signing out of iTunes, then back in again. This worked for me and a few others. To sign out, in the iTunes menu bar, click "Store" > "Sign Out".

  • Error Message when launching crystal 10

    When launching crystal 10 I can not get past the following error. Any help is appreciated. I have reinstalled and still nothing.
    AppName:crw32.exe

    Hi,
    If you have Crystal Reports (CR) 10 and when refreshing an existing report with linked tables, or when creating a new report and linking the tables, this error message "Crw32.exe has encountered a problem and needs to close. We are sorry for the inconvenience" appears, it means the file SACommonControls.dll is not registered properly.
    CR 10 needs to have the copy of SACommonControls.dll in the C:\Program Files\Common Files\Crystal Decisions\2.5\Bin folder registered.
    To Register the Correct Version of SACommonControls.dll
    1. Click the 'Start' button, and then click 'Run'.
    2. Enter the following in the 'Open' combo-box:
    Regsvr32 "C:\Program Files\Common Files\Crystal Decisions\2.5\bin\SACommonControls.dll" 
    3. Click 'OK'. A dialog box will appear indicating you have successfully registered the DLL. Click 'OK'.
    Now, when you open reports with linked tables in CR 10 the error message will not appear.
    Hope this helps,
    Thanks
    -Azhar

  • NIPALU.dll entry point error message when launching application

    A previously working application (written in VB6.0, using Measurement Studio 6 and NI-IMAQ1394) now has a fatal error message when starting:
    "The procedure entry point _pkgModulePackageEventLog@20 could not be located in the dynamic link library NIPALU.dll".
    This fatal error is only observed on some of our customers' systems, others work fine after the upgrade. WE NEED URGENT HELP!
    Attachments:
    Error Message Screen Shot.png ‏8 KB

    MSOLAP$LocalCube cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted.
    Hello,
    It's just a guess: Power Pivot uses the MSOLAP = "Microsoft OleDB Provider for OLAP" and maybe that Provider is damaged on the machine. You may try to reinstall the Provider, you can get the installer named "SQL_AS_OLEDB.msi" from
    Microsoft® SQL Server® 2012 SP2 Feature Pack  =>
    ENU\x86\SQL_AS_OLEDB.msi (for 32 bit)
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Oops! Error msg when launching Firefox

    Just installed Firefox 3.6 on my sister's computer. When launching Firefox a msg box pops up ( on what appears to be a Google page ) that says Oops! Firefox could not find www.download-services.net
    Did not even try to access this site, but Firefox automatically does.
    Couple of things we already tried were:
    Completely Uninstalling a very old version of Firefox she already had
    Uninstalling the Google toolbar using Add/Remove programs ( but it's still there? )
    Uninstalled and re-installed Firefox 3.6 two times
    Still get this msg box.
    Also, tried to set AOL as homepage and it will not take
    Please advise. Thanking you in advance!

    I've tried checking the firewall issue; removed and reinstalled Firefox several time; run multiple anti-virus programs looking for issues; and it still doesn't work. However, today Google Chrome began working as my internet connection; and it works beautifully using Firefox (Go figure!). However, when I again reinstalled the actual Firefox program, it still does not work; so I have once again removed it. I find this very interesting.

  • My Application gets Error 37 when using Serial Port VIs.

    My Application works fine developed with LV 6.1. Then I updated to LV 7.1 and now the Executable of my application gets error 37 when using the old serial port functions. The "serpdrv" file is located in the application directory and is from 02/2002. The application runs well in the development environment after I placed the "serpdrv" file in the LabView directory. I tried to put a line with "serialDevices=..." in the .ini-file of my application but this did not cause an improvement. I also tried to rebuild the EXE with this line in the "labview.ini" file but nothing changes.
    Does anybody have another idea ?
    Many thanks for help
    Thomas

    >Did you actually replace the old serial functions that come with 7.1 with the functions from 6.1?
    Yes. E.g. "open serial driver.vi" uses "open device" with "serpdrv" as device string.
    I had the same problem running my application as VI´s. After the copy of serpdrv into the LV 7.1 directory everything works fine.
    I don´t understand why the application running as a .exe doesn´t find the serpdrv when it is in the same directory....
    Nevertheless many thanks for your answer
    Thomas

Maybe you are looking for

  • Stock Differene in mb5b

    Dear Gurus When i tried to check the report through mb5b t-code, there is a stock difference in the report Ex: a) while selecting stock type sotrage location/batch it shows 3 qty  for x material b) for the same material if i select stock type valuate

  • Re: Tecra S11 - Dual boot Windows 7 and XP

    I have installed Windows 7 (from the hidden recovery section of the hardrive) on my new Tecra S11. I would like to know whether I can use the Windows XP recovery media provided by Toshiba to create a dual boot Windows 7/Windows XP rather than reverti

  • CS4 : AS3 : How do I access a Global Instance?

    When I created a Symbol in a Scene, I gave it an Instance Name.  How do I access it later on from within an objected added to the Scene.  The only stuff I've found is for AS2.0 Thanks

  • Can't open zipped files

    I can't open zipped files that have been sent to me. I have found the files I saved in Archive Utility and when I try to open them a dialogue box says the default app is BOMArchive Helper. If I click that something I cant read flashes on the screen b

  • Deployment issue related to cached ressources

    Hi, My projetc is well compiling with no error nor warning, but it doesn't deploy and raises a compilation error at deployment time. The error is as follows : BUILD FAILED C:\apps\jdevstudio10134\jdev\mywork\FT_PoC\InterfaceOrderToActivateEBF\build.x