VI seen as not executable from LV runtime, but only in Full-Featured UI

Hi,
I have a very strange situation that one of my VIs is claimed by TestStand as broken but only in Full-Featured UI with LV Runtime.
- SeqEditor runs it fine both in LV Development and LV Runtime 
- Simple UI does the same (Program Files\National Instruments\TestStand 4.0\UserInterfaces\NI\Simple\LabVIEW\TestExec.exe)
- Full-Featured UI runs fine in development but shows Error -18002 in Runtime (Program Files\National Instruments\TestStand 4.0\UserInterfaces\NI\Full-Featured\LabVIEW\TestExec.exe)
This is even more weird that in our UI what created from Full-Featured this vi works fine in LV Runtime.
The vi does reading of .ini file from the disk. If it runs correctly and can not find the .ini it shows the selection dialog. I've created the dummy sequence Read INI.seq for this vi and copied its hierarchy.
I'm using LV 8.6 and TS 4.0
Message Edited by skof on 07-09-2009 12:24 PM
Sergey Kolbunov
CLA, CTD
Attachments:
Read INI example.zip ‏218 KB
error 18002.PNG ‏18 KB

"Besides that, the error message text looks different in case of "same name" issue, something like:
Error
Message: Unable to load VI 'D:\<...>\Log
Object_LogEventByReference.vi'. LabVIEW already has the VI
'D:\<...>\ZCAT.exe\Log Object_LogEventByReference.vi' loaded and
cannot load different VIs with the same name. [Error Code: -18002]"
Is this your error message?  If so then it is definitely the fact that you are trying to load two VIs with the same name.  Have you changed the Full-Feature UI. Could it be another VI in your sequence?  
it looks like you have a VI named Log Object_LogEventByReference.vi somewhere. 
I tried your example but I don't think I did it right.  When I get back to work Monday I'll give it another peak.
Regards,
jigg
CTA, CLA
teststandhelp.com
~Will work for kudos and/or BBQ~

Similar Messages

  • VI seen as not executable from LV runtime, correct in LV development

    My current problem is the following:
    On the same PC, having TestStand 4.0 & LabVIEW Development 8.5, I try running a sequence with both adapters: LV development 8.5 and LV runtime 8.5.
    My sequence steps call VIs that call subVIs in a full hierarchy (let's say 1500 VIs are involved in a test sequence).
    The sequence runs with the development adapter, and with the runtime, I got a -18002 LabVIEW error: Vi not executable, broken, etc.
    Of course, when I open the VI within the development environment, everything is correct.
    As I'm testing both adapters on the same PC, the full hierarchy, including LV libraries provided with LV development are at the same location.
    Due to the large amount of VIs I use, I cannot guess which LLB could be missing or not inaccessible.
    Is there a way to investigate the cause, despite the fact that everything is correct under the development environment?
    Is it possible to tell the LV runtime where it should search for LLBs or other required dependencies that the LV development seams able to find?
    Thanks in advance for your help,
    JJD
    Solved!
    Go to Solution.

    Hello,
    I've seen this error when two VIs withthe same name were loaded in memory; this VI was called from a TestStand sequence and from the user interface (very poor design of a customer that I will not mention ^^).
    I'm not sure to understand youy problem: everything works fine when you are using Developpment system (Active Version 8.5) but, do you have this error when you set the adapter to LabVIEW Run-Time Engine 8.5, right? Are LabVIEW and/or VIs used in your sequence open when you run your sequence in Run-Time mode?
    Cordially,
    .mrLeft{float:left} .mrInfo{border-left:solid 1px #989898;font-size:x-small;color:#989898}
    Mathieu R.  
      CTD - Certified TestStand Developer / Développeur TestStand Certifié  
      CLAD - Certified LabVIEW Associate Developer  

  • PO Response approval Work item is not executing from approver inbox.

    Hi,
    PO Response approval Work item is not executing from approver inbox. After click the approve button system is not showing any error and also work item is not clearing from user inbox. When we checked the status of the work item in SWI1 Transaction is still READY.
    Standard Task: TS14508055 - Transfer purchase order response data to purchase order
    Business Object: BUS2209
    Scenario:
    1. Create PO in SRM System, Vendor belongs to SUS System Vendor
    2. SUS Vendor creates the PO Response SUS system, POR Value is greater Than PO Value
    3. Approval Work item will go to Buyers of purchasing group
    4. Buyer trying to approving The PO Response from his approval inbox
    Regards,
    Surya Sankar

    what all buttons do you see when you open the workitem in the approval inbox.
    as far as i know , there will only button 'transfer response to purchase order'..
    what happens if you click the above button.

  • Since the last update I have been unable to print from Firefox. No problem printing from Safari or any other program. I've seen a few responses to this problem but only to people running Windows. I'm on a Mac running v. 10.5.8

    Since the last update I have been unable to print from Firefox. No problem printing from Safari or any other program. I've seen a few responses to this problem but only to people running Windows. I'm on a Mac running v. 10.5.8.

    Also when I click on the link in my email to activate my account (in the hopes that a solve will be emailed to me) I get this message -
    "Something is wrong
    We could not activate your account. Please make sure that you have clicked the correct link in your email or typed in the correct address."
    Same message if I cut and paste the link.

  • I want to delete my mobile me account not just from my iPhone but from existence. I want to delete it so that no emails can be received to it, and the sender would receive an undeliverable message. Is this possible?

    I want to delete my mobile me account not just from my iPhone but from existence. I want to delete it so that no emails can be received to it, and the sender would receive an undeliverable message. Is this possible?

    No, you can stop using the account, but you cannot delete it.

  • External video projector - How can I hook up my Mini DisplayPort to DVI Adapter onto my new MacBookAir if the machine does not have a mini port (but only 2 USBs and 1 Thunderbolt)?

    Hi
    How can I hook up my DVI Adapter onto my new MacBookAir if the machine does not have a mini port (but only 2 USBs and 1 Thunderbolt)?
    Is there a DVI adaptor already for Thunderbolt?
    Thanks,
    JFR

    The Mini Display port and Thunderbolt port use compatible connector bodies. Your current Mini Display to DVI or VGA adapter will still work as before on the newer Thunderbolt capable machines.

  • I just bought a new mac mini and an external DVD burner. I want to burn a DVD video and it will not play on the TV but only on the computer? Need this figured out for tomorrow.

    I just bought a new mac mini and an external DVD burner. I want to burn a DVD video and it will not play on the TV but only on the computer? Need this figured out for tomorrow. Can anyone help me?

    Congratulations on the new Mini. Are you saying you tried burning and it does not play, or do you want to burn it only for the computer to be able to play it?
    OS X Mountain Lion: Burn a CD or DVD may help.

  • SSIS Catalog views are not executing from PROC calling from a service broker

    Hi Exprets,
    I have a package deployed on SSISDB (the new concept in MS SQL 2012, SSIS catalogs). I have t-sql code in which i will be able to execute SSIS package in SSISDB with no problems. But if i place the same t-sql code inside of a procedure which will be called
    by a service broker , the code is not executing.
    I am using the following code to execute a package in the SSISDB catalog
    Declare @execution_id bigint
    EXEC [SSISDB].[catalog].[create_execution] @package_name=N'LoadToABC.dtsx',
    @execution_id=@execution_id OUTPUT, @folder_name=N'ABC', @project_name=N'LoadToABC',
    @use32bitruntime=False, @reference_id=Null
    DECLARE @var0 NVARCHAR(200)
    = N'D:\MyData\SampleText20120830100001.txt'
    EXEC [SSISDB].[catalog].[set_execution_parameter_value] @execution_id, @object_type=30,
    @parameter_name=N'strFileName', @parameter_value=@var0
    EXEC [SSISDB].[catalog].[start_execution] @execution_id
    This code executes if run it alone or placed in a regular stored procedure , but not executes if i palce this same code inside of a procedure which is being called/executed by a service broker call like this:
    CREATE QUEUE dbo.SampleQueue
    WITH STATUS=ON, ACTIVATION
    (STATUS = ON, MAX_QUEUE_READERS
    = 1,
    PROCEDURE_NAME = spMessageProcSample,  
    EXECUTE AS OWNER);
    The problem occurs if we call the SSIS catalogs inside a proc which will be calling through a service broker queue.
    I am running all these steps on my local instance of SQL SERVER 2012 in which i am the administrator.
    Please advice where i am doing wrong ?
    Thanks,
    Jyodhu.

    Hi ArthurZ,
    Thanks for reply. What i ment was i tried with all the "EXECUTE AS" options. but no luck.
    Can you please explain step by step if you can ? That would be great help.
    This is the error message from server log.
    Message
    The activated proc '[dbo].[spMessageProcSample]' running on queue 'FileTableDB.dbo.SampleQueue' output the following:  'The server principal "USA\cccsat1nmg" is not able to access the database "SSISDB" under the current security context.'
    I logged in with WIndows authentication (Admin) and i created all the objects including Integration services Catalog.
    Thanks,
    Jyodhu.

  • Tried the solutions posted for this "SubVI filter not executable​. Undefined error" but not solving the problem

    Hello,
    I am trying to use a lowpass filter for my application but getting the error "SubVI filter not executable. Undefined error".I tried working with the solutions at this post 
    http://forums.ni.com/t5/LabVIEW/SubVI-filter-not-e​xecutable-Undefined-error/m-p/1996701#M657751 and results with
    1. Create a blank vi, put a VI filter in the block diagram (this should not be functional as it is not wired), copy it and paste it in my other project. I believe if the filter is the first vi of a blank project, it is funcitonal and then you may copy it wherever you need to.
    Result:
    2.Tried to open the filter panel of the Filter but showing the same error as shown inthe below image
    Don't why the solutions worked for others are not working.Can someone suggest a solution for this.
    thanks in advance.

    Hi PatanGova,
    Very strange error. Actually, there are no required inputs on this express VI, so it should be able to run even without wires. It is not correct as you said: "this should not be functional as it is not wired". Nothing will happen, true, but the run arrow should not be broken.
    For some reason, the VI with the Filter express VI fails to compile. I tried it on my computer (LV 2013) and get no error when I add it to a new VI. As was suggested in the linked forum thread, you need to open the front panel of the Filter VI and run it to see the explicit error.
    If you do, do you also get the error:
    "This VI claims to be part of a library that does not include the VI. The VI might have been deleted from the library. Add the VI to the library again or select File - Disconnect from the library."?
    If you do, it seems that you may have a project library somewhere that has taken ownership of the express VI. The ownership prevents you from running or editing the express VI. To free the VI, you need to do one of two things. Either, you need to load the library into memory, or you need to disconnect the VI from the library. Either way, you need to find the project library that has taken the ownership of the VI. As soon as it is released, it should run for you. You release it by selecting File»Disconnect from Library on the VI.
    The workaround described in your link (and also here: http://forums.ni.com/t5/LabVIEW/compatibility-prob​lem-labview-2009-2010-2011-quot-This-VI-claims/td-​... tells that you can make a copy of the VI and thereby create another instance that is free. This solution may work for you as well, but if not, you may not have created the copy properly. Maybe your copy of the VI also became part of some project library that took ownership. In either way, you should rather find the project library to release the VI before trying the workaround to copy it.
    If project library ownership is not the problem, maybe the problem is connected to LV 2011, as most forum posters report that it only happens here.

  • Macbook 2012 not booting from internal drive but booting from external usb drive

    hi everyone!!
    here is what happened:
    i have worked all day on my macbook pro, normally. when i got home and turned it on (i always power it off for rolling with it) it just didn't load the OS.
    i run mavericks on a i7 mid 2012 macbook pro 13". it had an accident on last december and fell on the ground, but i've changed the hdd and it worked normally until last week when this happened.
    i have a copy of my system on a usb drive and tried to start up from it and it worked.
    i took my hdd from inside the lap top and started from it (yes, the same hard disk that was inside the machine) and it worked.
    i took the macbook to an apple store and the "apple genius" that was there started up my machine from inside with another hdd running yosemite that they have in the store for testing.
    today i bought a new hdd and put it in. but i can't format it or install the system. i had these 2 errors on disk utility
    "partition failed with the error: wiping volume data to prevent future accidental probing failed"
    and
    "restore failure an error (32) occurred while copying. (broken pipe)
    so:
    it loads from my internal drive, but only when its connected via usb
    it loaded the apple store drive internally
    it does not format my new drive nor install the system on it
    ANY suggestions, please??? it's really difficult to me to solve this problem...
    thanks a lot!!!

    Must be a bad SATA cable undetected by Apple Techs. A result of the drop but they are also quite fragile.
    Disturbing the cable can cause it to work for a while. Cheap repair at iFixIt.

  • HT4796 The migrate assistant does not say from PC to mac, only mac to mac, etc.

    migrant assistant doesn not say transfer from pc to mac, only mac to mac, etc.

    http://support.apple.com/kb/ht4796

  • ISight not working with Apple apps but only with Skype and flash....

    Hi guys, don't know why but suddenly my isight stopped working with every apple application, like ichat, imovie and photoboot, but it still works with skype and safari (flash).
    The camera simply doesn't work, the green led stays off.... I tried resetting PRAM, SMC, deleted .plist files, tried new account and everything...
    Maybe the problem is facetime, I uninstalled it by simply dragging it to the trashcan, so I followed a thread here and manually deleted its last files but no luck....
    Please guys help me, I really hope I don't have to FORMAT my mac... sounds so windows to me XD...

    V4N0 wrote:
    ...Well the camera is seen in system profiler and it works perfectly with skype, I'll try a couple of things then... well reset is inevitable....
    Thanks for the "helpful" star, V4N0!
    (1) Your initial post shows you using Mac OS X (10.6.6),
       but your latest post shows Mac OS X (10.6.5).
    Have you "downdated" to 10.6.5?
    (2) iSight works with iMovie, Photo Booth, QuickTime, and other apps like Address Book,
       etc. You need not try every possible app, but please tell us which you have tested,
       and which, if any, work with your iSight.
    (3) Have you tested iSight operation in more than one user account?
       Are the symptoms EXACTLY the same in any user account you test?
    (4) If your only problem is with ALL apps in ALL user accounts, try applying the
       Combo Update using the method suggested in this recent post:
      http://discussions.apple.com/thread.jspa?messageID=12859723&#12859723
    If you want the latest Mac OS instead of 10.6.5, download the 10.6.6 Combo Update:
      http://support.apple.com/kb/DL1349
    instead of the 10.6.5 Combo (http://support.apple.com/kb/DL1324) link in the post.
    Message was edited by: EZ Jim
    Mac Pro Quad Core (Early 2009) 2.93Ghz Mac OS X (10.6.6)
    MacBook Pro (13 inch, Mid 2009) 2.26GHz (10.6.6)
    LED Cinema Display; G4 PowerBook 1.67GHz (10.4.11)
    iBookSE 366MHz (10.3.9); External iSight; iPod4touch4.2.1

  • Is it possible to sync to/from two computers but only sync from a third (no upload to third/work computer, but download from it)?

    Is this possible:
    Two directional sync (to/from) of history, bookmarks, etc on two computers and only unidirectional sync (from only, not to) on a third? I have sync set up on my work computer and I like knowing my work history when at home or on my laptop, but I don't want all of my home history being sent to the work computer. Is there a way to have a two directional sync between 2 computers but only send history from, but not to, a third computer?
    As it stands now, if someone at work would get on my history it would look like I have been looking up flights and buying things on the internet at work, but I only do that at home.
    Thanks.
    -erik

    As far as I know, you can only access the iTunes store of the country you are currently in.

  • One of my keys won't depress as easily as it should.  I have not tried cleaning it yet, but only the bottom of the key will depress.

    My B key on my macbook pro is not typing correctly.  The top half of the key barely goes down as I type.  I have not tried cleaning it yet, but would cleaning it help?

    Hi daslofmastah,
    Delete the song from your iTunes library and re-download it:
    In the iTunes Store click on the Music tab, then on Purchased under Quick Links on the right. Click on Music>Songs>All Songs>Not in My Library, and find the song you just deleted. You should see a cloud on the right-hand side - click on it to re-download.
    Cheers,
    GB

  • Outlook 2013 asks for credentials but does not connect for Exchange email, but only when out of office

    Hi,
    New employee wishes to use his Office 365. Have loaded onto new PC, connected to exchange, loaded his folders, everything is fine.
    When he leaves the office and connects at home, he is asked for credentials.
    I have tried the usual credentials: [email protected] and domain\user
    With each attempt, Outlook displays disconnected
    The password is correct, OWA he can log on fine, he has no problem when returning to the office. He has all the correct permissions in AD.
    No other user has a problem when away from the office, but every other user is using Office 2010
    Advice appreciated.

    Hi,
    Please make sure the user has enable Outlook Anywhere in Outlook.
    To turn on Outlook Anywhere, on the Connection tab, under
    Outlook Anywhere, check Connect to Microsoft Exchange using HTTP, and then click
    Exchange Proxy Settings. Your Exchange admin must enable this feature and provide you the proxy settings. For more information, please refer:
    http://office.microsoft.com/en-in/outlook-help/use-outlook-anywhere-to-connect-to-your-exchange-server-without-a-vpn-HP010355551.aspx
    Best Regards,
    Steve Fan
    TechNet Community Support

Maybe you are looking for