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  

Similar Messages

  • 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~

  • 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.

  • 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.

  • Report(3.0) not executing from Forms 6.0.

    Hello
    I am trying to run a report (developed in Report designer 3.0) from a form (developed in Form Builder 6.0) as follows :
    -- message ('Before Report...');
    -- run_product (REPORTS, 'proj', SYNCHRONOUS, RUNTIME, FILESYSTEM, listid ) ;
    -- message ('After Report...');
    DECLARE
    repid report_object ;
    rep VARCHAR2(100);
    BEGIN
    message ('Before Report...');
    repid := find_report_object('PROJ');
    rep := RUN_REPORT_OBJECT(repid);
    message ('After Report...');
    END;
    I have tried both of these methods (Run_Product and Run_Report_Object) but nothing works. What is the difference between Run_Product and Run_Report_Object for report processing point-of-view ? It is displaying both messages but giving no error. The Properties of PROJ node in 'REPORTS' class are as follows :
    Name : PROJ
    File-Name : <full-path>/proj.rdf
    Execution Mode : RunTime
    Communication Mode : Synchronous
    Data Source Block : Null
    Query Block : Null
    Report Destination Type : Screen
    Destination Name : Null
    I am not able to see the results even by executing in form builder.
    Any help will be appreciated.
    Manish

    Hi Shay
    Thanks for your reply. I have compiled the report (repname.rdf) in Report Builder 6.0 and trying to execute it from a form, developed in Form Builder 6.0, as follows :
    PROCEDURE run_report IS
    list_id ParamList;
    run_date date;
    repid report_object ;
    repout varchar2(100) ;
    BEGIN
    run_date := sysdate;
    list_id := Create_Parameter_List('input_params');
    Add_Parameter(list_id, 'DESTYPE', TEXT_PARAMETER, 'FILE');
    Add_Parameter(list_id, 'DESNAME', TEXT_PARAMETER, '/home/mgupta/orep.ps');
    -- Run_Product(REPORTS, 'Full-Path/repname.rdf', synchronous, runtime, filesystem, list_id);
    repid := find_report_object('repname');
    repout := run_report_object(repid);
    Destroy_Parameter_List(list_id);
    END;
    I have tried both methods (Run_Product and Run_Report_Object) but nothing works. What is the difference between Run_Product and Run_Report_Object for report processing point-of-view? Note that I have given full path for Run_Product while report-name is given for Run_Report_Object. The full path is also given in the property palette report. It is displaying both messages but giving no error. The Properties of REPNAME node of 'REPORTS' class in Object Navigator of specified form are as follows :
    Name : REPNAME
    File-Name : <full-path>/repname.rdf
    Execution Mode : RunTime
    Communication Mode : Synchronous
    Data Source Block : Null
    Query Block : Null
    Report Destination Type : Screen
    Destination Name : Null
    This report is running fine if I execute it in Report Builder but not running thru form.
    Any help will be appreciated.
    Manish

  • Runtime process not working from servlet container

              Hello,
              I'm executing a standalone executable from the Runtime class, using exec.
              Process process = Runtime.getRuntime().exec(buildCommand.toString());
              There are threads monitoring the input and error streams. This same use of the Runtime
              class is used at least 5 other times in the servlet with no problems. The same method
              is also called from a JUnit test and also executes properly.
              The method called from the servlet however does not work. the executable it's calling
              is a C++ executable that uses an ODBC alias set up on the machine to connect to the
              Oracle database. For some reason the ODBC layer throws an exception while trying
              to connect when the executable is called from the servlet, rather than called from
              the command line or JUnit test.
              Does the servlet have a different environment than a client call from the JUnit test?
              Would it not have access to ODBC drivers it needs? Could there be some sort of security
              setting that the servlet container is set too low?
              Any information would be terrific.
              Thanks,
              Sara
              

    Thanks!
    I borrowed a DVD drive and everything installed correctly.

  • I get a "vi is not executable" error when building an application.

    I have an ongoing project that has worked fine in the past when building an application. I have recently added some report generation toolkit vis(Excel) and get an error for some of the ni vis and some of my own that call lower level excel vis. The error is that he vi is not executable, however they run fine in the development environment. I do not get this error if I save all vi's into one llb with save with options command and then build. However, when I try to run the app, this error re-appears. Also, do I have to add the dynamically loaded vi's that are part of the toolkit in my build script? Could this be the cause of the problem? If so, what's the best way to find all of them? Any suggestions?

    You have hit in on the nail! You do need to add the dynamically loaded VIs when you are creating an executable from your VI. You need to add _wordsub.lib and _exclsub.lib as dynamically loaded VIs into your executable. Try this and let us know if you have any more problems with it.
    J.R. Allen

  • Data is not showing from tables

    Hi,
    I have drag some tables in report but data is not executed from the tables.
    Regards,
    Chetan

    Hi Chetan,
    Please provide more info.
    1) What database are you connected to?
    2) What is the version of CR with Patch Level
    3) Does the query generated by CR work when run on the database server directly?
    4) If this an SAP datasource, have you imported the right transports on the SAP Server and does the user running the report have enough Authorizations?
    -Abhilash

  • Runtime.exec not executing the command !

    Hi all,
    I'm connecting to Progress Db thru JDBC trying to execute a stored procedure
    which has a statement
    Runtime.exec("ksh -c aa") where aa is aunix script which i'm trying to run from java snippet .
    when i run this code as a seperate java program it executes the script
    "aa" but thru JDBC connection it does not execute the command
    what could be the reason ???
    thanx in advance,
    Nagu.

    Hi Rick,
    "aa" is the shell script which is lying in the user DIR .
    It is returning a non-zero value. what kind of permissions be there for to execute the Shell command?
    Regards,
    Nagarathna.

  • Running Shell Commands (not Executable) in Unix from Java

    What are my options to run shell commands from Java?
    My goal is to change my existing shell environment variables to some new ones provided by .anotherProfile.
    Using an executable from Java is not an option because it does not work i.e. ( exec(". /home/.profile") ) brings up errors.
    Someone has suggested that I start a child shell with that profile and work from there, but I'm unfamiliar with that sort of syntax and programming in general.
    Any good help equals duke dollars :)

    Well there are some possibilities. In the original thread you mentioned that you wanted the shell script to be executed to change some enviroment parameters of the shell the JVM is executing in.
    If so, and you are able to rewrite the profile so you can parse it manually. Then you can change some environment setting by writing the JNI wrappers for the getenv and setenv system calls. (Check your man pages)
    That will change the environment. I am just wondering what good it will do for you? What's use of sourcing the profile in a JVM?

  • Could not execute 'IMPORT FROM '/dropbox/S0008356087/NASDAQ.ctl''

    Hi All,
    when i am trying to execute the following SQL command in Hana 7 server i am getting the following error message.
    Error message:
    Could not execute 'IMPORT FROM '/dropbox/S0008356087/NASDAQ.ctl''
    SAP DBTech JDBC: [2]: general error: Cannot open Control file, /dropbox/S0008356087/NASDAQ.ctl
    I have checked all the syntax and all are fine.
    my doubt is first i have assigned to hana 5 server.after that due to some outage they have migrated me to hana 7 server.
    due to this do am i getting or i don't have access to that directory.
    Here is folder that i have created the hana dev center.
    Folder name : S0008356087
    and last is for all the hana servers is  FTP folder is same or it will change from server to server

    Hi Jagan,
    Please try again now - your suspicion was absolutely right: you didn't have access to the folder from the new server. Should be fixed now...
    --Juergen

  • UWL Task does not execute.........Gives Portal Runtime Error

    Hi,
    I completed UWL configuration.Some tasks execute properly but some tasks not execute it shows error like...
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/every_user/general/uwl/com.sap.netweaver.bc.uwl.uwlSapLaunch
    Component Name : com.sap.portal.appintegrator.sap.Transaction
    Exception in SAP Application Integrator occured: Application URL ':///sap(ZT1qRnRCaDZMVzlyX2llTjRJZTRGcXp3LS1NTzJqNlpibU42bkFwTzZaejdObTZ3LS0=)/bc/gui/sap/its/webgui' is not valid! Please check the protocol and host entries for system 'B07CLNT100_GB'..
    Exception id: 05:50_27/12/07_0020_7205750
    See the details for the exception ID in the log file
    Please help me out to correct this problem.
    Regards,
    Gurprit Bhatia

    Activate below services in ur back end systems
    With transaction SICF and locate the services by path
    sap/bc/gui/sap/its/webgui
    Activate the full path to these services
    with the context menu.
    goto SE80
    Locate the Internet Services
    SYSTEM
    Publish these services with the Context
    Menu -> Publish -> Complete Service
    and also WEBGUI
    Publish these services with the Context
    Menu -> Publish -> Complete Service
    Regards
    Krishna.

  • Not able to see that particular query which is executed from application

    Hi Friends,
    I have one application which is executing a number of queries in the current session. I want to know which query is taking how much time?
    So I have executed following query in Toad for this purpose, but this is giving details of those queries only which are executed from either Toad or SQL developer.
    I am not able to see that particular query which is executed from application. Please suggest me if I am missing something.
    select ss.schemaname,ss.machine,ss.program,ss.logon_time,ss.sql_exec_start,ss.wait_time,
    sa.first_load_time,sa.application_wait_time,sa.plsql_exec_time,sa.cpu_time,sa.elapsed_time,sa.sql_fulltext
    from v$session ss, v$sqlarea sa
    where sa.hash_value=ss.sql_hash_value
    order by sa.first_load_time desc;
    Oracle Version - Release 11.2.0.1.0 Production
    Toad Version - 9.5.0.31
    Regards,
    Sachin

    Dear Friends,
    is there any option for this through Oracle Enterprise Manager 11g?
    Actually I have done little bit research on EM console and go through SQL Monitoring Executions page but did not get the particular query details executed through the application.
    I have also checked the link - AWR Baseline but not get any result.
    As I am new in database administration activities, Please help me regarding this. You can also suggest me other solution except Oracle EM console.
    Thanks.
    Sachin Jaiswal

  • Personalise value icon not available when query executed from portal

    Hi
    The personalise value icon is not available when the query is executed from the portal.
    Is this the norm or is there anything i must change?
    Regards
    Shalini

    Since you have not given us much information to go on, I will start with the basics...
    Have you activated the Personalization DSOs (0PERS_WTE, 0PERS_BOD & 0PERS_VAR)? 
    If not, you will need to do so in tcode SPRO (SAP Reference IMG --> SAP NetWeaver --> Business Intelligence --> Settings for Reporting and Analysis --> General Settings for Reporting and Analysis --> Activate Personalization in BEx)
    Are you running a BW 3.5 query or a BI 7.0 query?
    If BI 7.0, the way to set personalization values has changed. You have to open the personalization section of the variables refresh screen by clicking on "Show Personalization Values" at the top of the screen, then move the desired variables down to that section.
    Hope some of this helps...
    Bob

  • VB Script is not executing when deployig from SCCM 2012

    Manually my VB script is running successfully when executing from the Batch file which internally calls VB Script to suppress "HyperionSmartViewforOffice_11.1.2.1.0" add-in
    prompts pop up which occurs upon launching MS Excel.
    please  see the attached files for folder structure (Folderstructure.PNG), add-in pop up error (add in pop up error.PNG).
    Batch Script:
    @ Echo Off
    msiexec /x {62190FC2-D90E-45A8-9ED8-9C523EC426E2} /qn
    removeExcelOpenKey.vbs
    vb script :
    Dim objExcel
    Dim addin
    On Error Resume Next
    Set objWb = objExcel.Workbooks("myAddin.xla")
    If Not wb Is Nothing Then
    wb.RunAutoMacros xlAutoClose
    End If
    Set objExcel = CreateObject("Excel.Application")
    For i = 0 To objExcel.Addins.Count
        Set objAddin= objExcel.Addins.item(i)
        If objAddin.Name = "HsTbar.xla" Then
            objAddin.Installed = False
        End If
    Next
    objExcel.Quit
    Set objExcel = Nothing
    tried to fail deploying the package and application (follwed detection method file , registry , windows installer ) as well but no luck.
    appreciated help .
    thanks,

    Manually my VB script is running successfully when executing from the Batch file which internally calls VB Script to suppress "HyperionSmartViewforOffice_11.1.2.1.0" add-in
    prompts pop up which occurs upon launching MS Excel.
    please  see the attached files for folder structure (Folderstructure.PNG), add-in pop up error (add in pop up error.PNG).
    Batch Script:
    @ Echo Off
    msiexec /x {62190FC2-D90E-45A8-9ED8-9C523EC426E2} /qn
    removeExcelOpenKey.vbs
    vb script :
    Dim objExcel
    Dim addin
    On Error Resume Next
    Set objWb = objExcel.Workbooks("myAddin.xla")
    If Not wb Is Nothing Then
    wb.RunAutoMacros xlAutoClose
    End If
    Set objExcel = CreateObject("Excel.Application")
    For i = 0 To objExcel.Addins.Count
        Set objAddin= objExcel.Addins.item(i)
        If objAddin.Name = "HsTbar.xla" Then
            objAddin.Installed = False
        End If
    Next
    objExcel.Quit
    Set objExcel = Nothing
    failed to deploy the package and application (followed detection method file , registry , windows installer ) as well but no luck.
    appreciated help .
    thanks,
    Gc.Hanumareddy

Maybe you are looking for