Launching Actor From Tools Menu

I have written a configuration tool(lets call it application ABC for simplicity) within the actor framework for a very large API.  Application ABC was designed/intended to be launched from the Tools Menu in LabVIEW.  For development I ran application ABC directly using a development style "splash screen" that I would run from the project that owned the source code.  My development splash screen has a crude pop-up that allows you to select the VI that you want application ABC to act like it was launched from.  As part of the final stage of development I wrote a VI that uses the App.MenuLaunchApp and AppMenuLaunchVI properties to retrieve the VI to configure.
Here is where the trouble started.  Application ABC runs well and closes as expected with no sort of odd behavior while closing when run using the development splash screen.  When launched from the Tools menu application ABC acts normally and allows me to run all of the methods/msgs for the actors without any hints of trouble.  Closing application ABC LabVIEW crashes whenever the launch originated from the Tools Menu.  This is very consistent.  
My guess as of right now is that it has something to with the actor framework running in a private application context (LV.Dialog).  I am assuming that LV.Dialog is making assumptions that I am breaking.
I haven't tried a simplfied example yet; but I am interested to know if anybody else has tried something like this....  Is the AF Message Maker in the actor framework?
LV2012SP1
My customer won't let me share the code.
I attached the debug output in case that interests anybody.
Solved!
Go to Solution.
Attachments:
lvlog.txt ‏4 KB
Crash Dialog.PNG ‏42 KB

I was able to work around this error...
First I made a simple example and found that I couldn't recreate the problem(no surprise).  I then started building up the simple example until I realized that I needed to have the actor open up it's own referance to the parent VI(the VI that's tool menu was used) and not use a referance opened by the splash screen.  Even if the referance to the parent VI ref was valid for the actor to use while running it would crash LabVIEW upon closing.  I added the VI name and application service name to the class data of the actor and then used pre-launch init to call a method that would open the parent VI ref.  I should also not that enquing the open parent VI ref method from the splash screen still results in a LabVIEW crash upon closing the actor.
Fun stuff...
If anybody wants to chip in as to why this is occuring I would be glad to learn more.

Similar Messages

  • HIDE FORM EXTENSIONS ITEM FROM TOOLS MENU

    HI
    can any one let me how to hide Form Extensions menu item from Tools Menu.
    Disabling is possible but i could not able to hide it completely, i mean making it not to visible/appear.
    Thank You!!!

    I'm not familiar with the 'Form Extensions' menu item but have you tried using the CUSTOM.pll and set_menu_item_property(menu_option_id,DISPLAYED, PROPERTY_OFF);
    You should be able to do it with forms personalizations but I'm afraid I don't know the steps for that.

  • VI ran from tools menu does not work correctly

    I have a VI that I created in LV7.0 and it works great in 7.1 now I am trying to get it to work in 8.0 and I get a very weird thing going on in 8.0 that I cannot understand. If I run the vi as is it works great it finds all the vi's in memory as it should but when it is run from the tools menu. (I did this by saving it to the projects folder) it does not find all the vi's in memory. So i started doing some debugging and found the code was OK. The I tried the example called memory monitor and when it is run standalone (ie double clicking on it in the example finder) everything runs great but when I save it to the project folder it does not show all the vi's in memory as it should. Does anyone have an explantion to this.
    Joe.
    "NOTHING IS EVER EASY"

    Hello Joe,
    Yes, this is the result of a fairly significant change in LabVIEW 8.  LabVIEW now has more than one "sandbox" so-to-speak such that you can have multiple copies of the same VI (or different VIs with the same name) in memory at the same time.  These separate "sandboxes" are referred to as "Application Instances".  VIs launched from the menus run in a different application instance than user VIs do.  Page 11 in the LabVIEW 8 Upgrade Notes, section header "User VIs", discusses in more detail this issue and what you can do to achieve the old behavior.
    http://digital.ni.com/manuals.nsf/websearch/5F99F274F2C663AA86257060001F8EF8
    Hope this helps!

  • How to export/import database from tools menu in sql developer.

    Hi,
    I need to export database from a server and import it on another db server using the export database function under tools menu in SQL developer. How do I import it? This is for Oracle 10g database.
    Thanks

    Depends what are you trying to do? Are you making a database copy or just creating an empty schemea or creating schema with the data?
    With 10g, you have also options of using datapump (expdp/impdp) and conventional export/import which is very usefule and easy to use when it comes to create a clone (duplicate schema) or an export/import of some objects.
    If you right click on table object, you have options of export ddl/export data and import data but thats different thant what expdp/impdp or conventional export/import provides. For very small database you can use sqldeveloper but consider
    using other above mentioned options. Hope this helps
    Regards

  • Error 1000 when opening a vi from tools menu

    Hi All,
    I have created a vi(attached), which creates a new library and adds another vi to it. This vi seems to be working fine when we open and run it from its location on the disk. If I try opening and then running this vi by selecting it from the LabVIEW tools menu (This was done by placing it in the location-National Instruments\LabVIEW 8.6\project ), I get an error 1000 after the property node for 'Name' . Error 1000 states 'The VI is not in a state compatible with this operation'. I would be really glad to know why this happens or even an alternate solution for it.
    Thanks in Advance,
     Ibrahim.
    Attachments:
    AddtoLibrary.vi ‏14 KB

    If you run it from the tools menu, it is running in a seperate Application Instance called NI.LV.Dialog of LabView. You need to get hold of the Main Application Instance.
    Have look at this link:
    http://forums.lavag.org/Accessing-VIs-across-contexts-t12950.html&pid=57735
    But be warned, that it is located under the rusty nails section and this stuff is not officaially supported by NI or anyone else.
    Felix
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

  • Deployment utility missing from Tools menu

    I'm using NI TestStand 4 (Development system) and I only get Customize... button on Tools -menu. There used to be Deploy TestStand System button but now it's gone. Any ideas what is wrong? I don't remember doing any changes to TS Sequence editor or LabVIEW.

    Your 'Tools.INI' file within the C:\Program Files\National Instruments\TestStand 4.0\Cfg directory was either deleted or moved.  Once TestStand restarts, it creates a default file upon opening.
    Just copy the 'Tools.INI' file from another PC if available.
    Thanks,
    PH

  • Sessions entry missing from Tools menu

    I have just upgraded to Firefox 8. The "sessions" entry has vanished from the "Tools" menu. I had about 20 sessions recorded and would like them back.
    If this feaature has been reemoved from Firefox, can anyone tell me where the data might be stored on my haard drive? If I have to, I will go through the file with a hex editor.

    I just realised that the "sessions" entry was part of an add-on, Tab Mix Plus, which had been disabled by the Firefox upgrade. When I enabled it, everything worked fine:)

  • Hyper-V Manager missing from tools menu

    I've just installed a new domain. It has one domain controller (Windows Server 2012 R2), SVR0 and one Hyper-V Server (not the Hyper-V role...Hyper-V Server), SVR1. I joined SVR1 to the domain and now I wan to manage it from a Windows 8.1 client. I've installed
    RSAT on the client and I can open Server Manager no problem. The problem that I am having is that there is no sign of Hyper-V manager anywhere. Server Manager knows that SVR1 is a Hyper-V server but still there are no Hyper-V Manager links anywhere. I was
    expecting it to show up in the tools menu on Server Manager but it did not. I made sure that Hyper-V management feature is installed on SVR1, but still nothing.
    What am I doing wrong?

    Hi,
    After you setup the Hyper-V server did you create the external and all that external virtual switch has configured as “Allow management operating system to share this network
    adapter” ?
    If you want the Hyper-V can be managed by Server Manager that is running on a remote server, you need to enable your local server to run the Windows PowerShell cmdlet
    Configure-SMRemoting.exe –Enable.
    If you want to use RSAT Please reconfirm you firewall configure correctly and disable your Hyper-V server firewall and use the domain administrator account to try the management,
    thanks.
    The related KB:
    Manage Hyper-V Server Remotely
    http://technet.microsoft.com/en-us/library/jj647785.aspx
    More information:
    Manage Windows Server 2012 Remotely with RSAT tools for Windows 8 RTM
    http://blogs.technet.com/b/keithmayer/archive/2012/09/13/manage-windows-server-2012-remotely-with-updated-rsat-tools.aspx
    Description of Remote Server Administration Tools for Windows 8.1 and Remote Server Administration Tools for Windows 8
    http://support.microsoft.com/kb/2693643
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Cannot clear data from Tools menu with FF 21

    I just installed Firefox 21. I do not see the Clear History item in the Tools menu any more. Is there any way to get that back? I prefer to have easy voluntary control over clearing the history and other data. Why did the developers not set the item in the Privacy panel to ask first before clearing anything, the way it did before?

    Thanks. I found it by reading a description on a Mozilla addons page. Why did nobody mention that something was moved from one menu to another in the release notes? I actually read the release notes page for FF 21 and there is not a word about that there. I rarely open the History menu, which is why I did not notice that item in there. I'll be opening that menu a lot more now.

  • Create Data Link missing from tools menu in Labview 8.5

    I've updated to Labview 8.5 and cannot locate the "Create Data Link" under the "Tools" menu. What happened to it ?

    The "Create Data Link" is available in LabVIEW 8.5, and is found under "Tools" on the toolbar.  Make sure that you have the Database Connectivity Toolset installed correctly.  Please let me know if this helps, thanks!

  • JKI VI Package Manager missing from tools menu?

    Hi all, I have recently updated JKI VIPM to version 2012.0.0 but now find that the application is no longer visible in my LabVIEW 2011 SP1 tools menu.  Has anyone else experienced this problem?

    Hi,
    You should probably report this on JKI website: http://jki.net/support
    Regards,
    Rodéric L
    Certified LabVIEW Architect

  • EXPORT DDL from TOOLS menu in Rel 4

    I am trying to use the tools->export-> objects--> tables option to extract DDL from tables
    I have given the file name to save in options. After clicking APPLY nothing is happening.
    File is created with 0 bytes

    I do have a similar issue with the export function. Below is all of the
    information - downloaded today (Fri, 17-Feb-06 and am current with
    updates).
    The Export is not creating the expected DDL script; output file was
    created with 0 bytes.
    Other than that I like what I see in SQL Developer.
    Thank you,
    Jeff
    Downloaded          Fri, 17-Feb-06; current updates downloaded also
    SQL Developer          1.0.0.11
    Version               1.0.0.11.84
    Build Main          11.84
    JAVA               1.5.0_05
    Oracle IDE          1.0.0
    Oracle SQL Developer     10.1.3.1215
         Reports     10.1.3.1215
    Raptor Help          10.1.3.02.60
    SQL Formatter          10.1.3
    DB Version          9.2.0.6.0
    Tools -> Export -> Options - file=c:\temp\absences_test.sql; checked-storage,
                   pretty print, constraints as alters
              -> Objects - Connection-DEV2; check table ABSENCES;
         then Apply -- no output
    expected DDL for a partitioned table with
    local bitmap indexes, global b-tree indexes (PK, UK, and FK)
    OS Name     Microsoft Windows XP Professional
    Version     5.1.2600 Service Pack 2 Build 2600

  • "Photoshop" Missing from Tools Menu

    CS5 let me use Photoshop's Image Processor from Bridge; has it been removed for CS6?

    not yet.
    Can you start image processor from PS?  That should tell you if it is working or not.

  • How do I launch report from menu using RUN_REPORT_OBJECT?

    Hi all,
    Re: How do I launch report from menu (and have it print to the screen) using RUN_REPORT_OBJECT?
    I am using Oracle 9iAS on Windows 2000 and I have a similar problem with launching reports from the menu. The application should call the report via the RUN_REPORT_OBJECT builtin feature from Forms. The report is never displayed.
    The report is in the same folder as the menu form calling it. Do the reports have to be in a specific format? How do I get the report_id?
    The name of the report is seconds_calls. No user-specified parameters are passed. Also, the report object in the object navigator in Forms is Report4 (is this relevant?)
    When I try to run report via the form using this code:
    DECLARE
         report_id REPORT_OBJECT;
         rep_status VARCHAR2(200);
         v_rep VARCHAR2(100);          
         report_job_id VARCHAR2(200);
    --     job_number NUMBER;
    --     server_name VARCHAR2(200) := 'repserver';
    BEGIN
         report_id:= FIND_REPORT_OBJECT('seconds_calls');
         rep_status:=REPORT_OBJECT_STATUS(report_job_id);
         v_rep := RUN_REPORT_OBJECT(report_id);
    END;
    I get this error message:
    FRM-41219 Cannot find report:Invalid ID
    And this message
    FRM-40738 Argument 1 to builtin RUN_REPORT_OBJECT cannot be null
    When I tried to use the same code (above), substituting the object name for the form name,
    I got these messages:
    FRM-41219 Cannot find report:Invalid ID
    FRM-40738 Argument 1 to builtin RUN_REPORT_OBJECT cannot be null
    And FRM-10259 Invalid null argument to packaged procedure or function (???)
    Any ideas?
    Cheers,
    Pippa

    Philippy,
    substr(v_rep,instr(v_rep,'_',-1)+1)
    This code extracts the Reports job id from the Reports Server name. The run_report_object() built-in
    retrieves e.g. RepServ_9 as a job id, but in Reports9i you only need the '9' as a value to retrieve the
    output.
    Use the following sample a template. It is a procedure that expects the reports object name, teh reports server name and the
    output format as an argument. The call to Web.show_document expects the ReportsSrevices to be accessible from teh same server
    (relative addressing is used)
    PROCEDURE RUN_REPORT_OBJECT_PROC (vc_reportobj Varchar2, vc_reportserver varchar2, vc_runformat varchar2) IS
    v_report_id           Report_Object;
    vc_ReportServerJob      VARCHAR2(100); /* unique id for each Report request */
    vc_rep_status      VARCHAR2(100); /* status of the Report job */
    vjob_id               VARCHAR2(100); /* job_id as number only string*
    BEGIN
    /* Get a handle to the Report Object itself. */
    v_report_id:= FIND_REPORT_OBJECT(vc_reportobj);
    SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESTYPE,CACHE);
    /* Define the Report output format and the name of the Reports Server as well as a user-defined parameter, passing the department number from Forms to the Report. We don't need a parameter form to be displayed, and therefore paramform is set to "no". */
    SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESFORMAT, vc_runformat);
    SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_SERVER, vc_reportserver);
    SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_OTHER,      'p_deptno='||:dept.deptno||'paramform=no');
    vc_ReportServerJob:=RUN_REPORT_OBJECT(report_id);
    /* remove the Reports Server name from teh job id */
    vjob_id := substr(vc_ReportServerJob,length(reportserver)+2,length(vc_ReportServerJob));
    /* Check the report status if finished. */
    vc_rep_status := REPORT_OBJECT_STATUS(vc_ReportServerJob);
    IF vc_rep_status='FINISHED' THEN
    /* Call the Report output to be displayed in a separate browser window.
    The URL for relative addressing is only valid when the Reports Server
    is on the same host as the Forms Server. For accessing a Remote Reports
    Server on a different machine, you must use the prefix http://hostname:port/ */
    WEB.SHOW_DOCUMENT ('/reports/rwservlet/getjobid '||vjob_id ||'?server='vc_reportserver,'_blank');
    ELSE
    message ('Report failed with error message '||vc_rep_status);
    END IF;
    END;
    Frank

  • Run time prompts not appearing when launching BR from a right click menu

    Hi!
    I have a problem when trying to launch a business rule from a right click menu which is assigned to a dataform.
    The rule launches but does not show/ask for the run time prompts as it should do. The run-time prompts should not be hidden (I checked also Eas and data form selections).
    When using the rule form the Tools-Business Rules menu, the rule works fine. It prompts for the required variables and as they are filled in, the rule does what it is expected to.
    Also, when using the same rule attached into a form (and selected "use members on form"&"run on save") the rule works correctly.
    We are using version 11.1.2.1.
    I already have tried restarting Planning services but without success.
    What might cause this?
    kind regards,
    user637777

    Hi!
    I found out from the Oracle knowledge base:
    This issue is caused by unpublished Bug 11064867 - RIGHT CLICK MENUS NOT RENDERING RUN TIME PROMPTS
    In version 931 run time prompts worked correctly when launching them from a right click menu, I checked this out.
    In our current version I got this working (this is kind of a workaround) by adding a new RTP variable (using the same dimension as the original RTP variable). This way I got the rule to "ask for more information" (like what were you asking for? ) and not running the rule without interruptions. This instruction was given in Oracle support (knowledge base).
    kind regards,
    user637777

Maybe you are looking for

  • HT4623 How can i update my iphone 3gs from ios 4.2.1 to ios 6.1

    Already tried to sync with itunes and was advised when selecting check for update that current ios is 4.2.1. ios 5 or higher is needed for most apps on app store.

  • Connection Pooling in Portal?..Can we do that?

    Hi to all. Not sure if this the correct forum to ask, but maybe anybody have any ideas.. We have a problem. We are using Oracle Portal R2 9.0.2.0.1. The case is, we found out that the most of the database connection we create while using JSP Portlet,

  • Converting Photos

    Trying to prepare a small newspaper ad. Is there a way, after dragging a color photo into Draw or Paint, to convert it to Black & White or Grayscale ? I know I can go through iPhoto...just looking for a quick way in AW. Thanks, Lenny

  • Repeating group level headings.

    Using the table wizard, I have created a "group above" table with two levels like this: Group Level 1 Group Level 2 table_element_1 table_element_2 table_element_n On the first page, both group level 1 and group level 2 print. As I get subsequent gro

  • How can I turn off sharing contacts?

    My fiance and I have 1 iTunes account. I updated both of our phones, ipad and Mac with the new update. Now we are sharing contacts, we don't mind sharing everything else, but we want our contacts to be separate. Everytime I turn off the contacts, it