ActiveX controls disappear when VI is loaded in a Sub-Panel with Start Modal Dialog usage

Hi,
I have a subpanel in a VI (VI1) in which another VI (VI2) is loaded. VI1 is used as a module for an Action step in TestStand. VI2 has ActiveX controls like ExpressionEdit and Adobe PDF reader etc. VI1 loads VI2 in a sub-panel and calls Start Modal Dialog.vi. I have set 'Show front panel when called' to true for VI1 so that the VI pops up when the sequence is run. When the sequence runs and when the Start Modal Dialog VI is called from VI1, all ActiveX controls in VI2 (loaded in the sub-panel) disappears. Here is the screenshot of the frontpanel of VI1 when the sequence is run:
This problem occurs in TestStand 4.2.1, TestStand 2010 and TestStand 2010 SP1 (as far as I have tested. May occur in older versions too). In the attached file, VI1 is 'ExprEdit Test.vi' and VI2 is 'SubpanelLoad.vi'. The attached sequence is developed in TestStand 2010 SP1.
How can this issue be solved?
Thank you,
Ganesh Kumar
Solved!
Go to Solution.
Attachments:
Subpanel Load ExpressionEdit problem.zip ‏23 KB

Hi,
An update on this issue: I tried changing the order of loading the VI in the SubPanel and the start modal dialog. I called start modal dialog and then loaded the VI (VI2) in the SubPanel. When I ran the sequence, the activeX controls did not disappear (I was pretty sure that the ActiveX controls in VI2 would not disappear since I am calling Start Modal Dialog before loading the VI in the Subpanel). Then I just changed the sequence of operations back to the previous order (loading the Subpanel with the VI and then calling the Start Modal Dialog). When I ran the sequence, the activeX controls where still displayed. But when I ran the sequence with the VI1 backup (that I had taken before making all these modifications) the activeX controls were not displayed. I a nutshell, I now have 2 versions whose codes are the same. But when I run the sequence with action steps for these VIs, the activeX controls disappear when the unmodified backup VI runs and does not disappear when the modified VI is run. I have attached the files that I used along with the sequence file. The details are as follows:
ExprEdit Test (Not Working).vi - The unmodified backup VI for which the ActiveX controls disappear.
ExprEdit Test (Working).vi - The modified VIs in which the ActiveX Controls do not disappear (But same code as ExprEdit Test (Not Working).vi).
ExpreEdit Test.seq - The sequence file containing 2 action steps one each for theabove mentioned VIs.
SubpanelLoad.vi - The VI that contains activeX controls and is loaded in the SubPanel.
Note that the sequence is created in TestStand 4.2.1.
Thank you,
Ganesh Kumar
Attachments:
Subpanel Load ExpressionEdit problem.zip ‏36 KB

Similar Messages

  • When websites are loading it takes longer now with os7 on iPad?

    When websites are loading it takes longer now with os7 on ipad2. Also battery goes down a lot faster? Why are these happening?

    Chaselc wrote:
    When websites are loading it takes longer now with os7 on ipad2.
    How do you do a comparison?
    Chaselc wrote:
    Also battery goes down a lot faster?
    What is your total operating time from full charge to auto-shutdown?

  • Default  Transport controls disappears when i use separate windows

    The title is pretty clear. When i use separate windows for mixer and video, the transport controls disappears. (By the way, STP1 had a much better interface. Why one big closed window in STP 2?) How to have the transport controls back?

    This sounds like a JDeveloper/ADF issue that is not related to JHeadstart. To simplify the test case, you could create a simple drag-and-drop ADF application without JHeadstart and see if the same problem occurs there. Try to access the session variable in a custom data action similar to the way JhsDataAction does it when applying the query bind params.
    If it reproduces, can you please log a TAR at MetaLink ( http://metalink.oracle.com/ ), or ask this question at the JDeveloper forum at http://otn.oracle.com/discussionforums/jdev.html ? Thanks.
    Hope this helps,
    Sandra Muller
    JHeadstart Team
    Oracle Consulting

  • Liquify Cursor disappears when Saving and Loading Mesh (CC 2014.2.2)

    Hello.
    I'm using Photoshop CC 2014.2.2 for Mac on a perfectly built hackintosh (Yosemite, i7-4770K, GTX770, Intuos5 L, 32Gb RAM, 2 monitors).
    The arrow cursor disappears randomly when dragged over the Save Mesh or Load Mesh dialogues. It's not that the arrow cursor disappears completely. Actually, instead of switching from liquify cursor to arrow cursor as it should, it stays a circle and I can see it behind the save/load mesh window. In order to make the arrow appear in front of the save/load mesh, I have to move it out of it, and carefully move it back in. If I drag the save/load mesh window to an area of the screen clear of the liquify filter window or to my second screen, the problem goes away.
    Also, when liquifying, the cursor is a little laggy, like at a low frame rate and behind my pen. I can liquify with no problem, but I can't remember if this is the way the liquify cursor behaves now that the it is GPU accelerated.
    All these problems go away if I disable "use graphics processor", but that's a no go for me. I have tried both OS X Default Graphic Driver and NVIDIA Web Driver, but it makes no difference.
    Any ideas?
    THANKS!

    I've noticed it happens particularly when the arrow touches any of the text input fields, among other ways I haven't identified yet. The save mesh and load mesh are the only dialogs across Photoshop on which this problem happens.
    Notice that the blue cursor drawn by me is where the cursor should be, and note that the liquify cursor can be seen behind the open mesh dialogue. In this case I have to draw the cursor outside of the open window, and drag it back in making sure I don't touch the search field.

  • Palette disappears when script is loaded

    Hi,
    When I run a script that brings up a palette window from ExtenScript toolkit the window behaves as I expect.
    But when I load the same script from illustrator (ctrl+12) the window does not show, or is instantly closed.
    What am I missing ?
    Thank you!
    BR,
    johan

    Hi,
    Just out of interest why does this work ?
    I assume that #target Illustrator is making the script be executed in illustrator. Feels like a safe bet. But please fill me in if you have some additional info.
    I did a quick read on targetengine and from what I understand if I target the main the script will be executed in the main engine which is reset after a script is run so no persistence there. But I also read that this is the default engine, so why do I need to target it? Could I think of the engines as a type of namespace where the scripts are executed? or am I mixing concepts here?
    Any info will be appreciated!
    BR,
    Johan

  • I have programmed a visual basic application using activex controls. WHen I run this application through internet, it appears a message box indicating that the measurement studio is a demo, but I have the correct license. What can I do?

    I run the application in a computer without measurement studio because my application is stored in a web server and I access to the application downloading it from a web page of that server.

    Have you included the lpk file with your control? I've attached the tool you'll need and here is a nice link that goes thru it step by step.
    Hope this helps
    Bilal Durrani
    Bilal Durrani
    NI
    Attachments:
    lpk.zip ‏74 KB

  • Folder disappears when you try to open certain sub-folders

    When double clicking certain sub-folders, the main folder disappears and returns to the desktop. I repaired permissions with Disk Utility and it had no effect. Also verified the disk and it was okay.
    I also am getting an "Unable to read file" message on an Excel file that I had no problem opening a couple of months ago. Don't know if this is related or not.
    iMac 2 Ghz Intel Core Duo   Mac OS X (10.4.9)  

    Hi Daniel,
    This issue is a fairly common occurrence, and reasons of the problems are variously. We can narrow the reasons down as much as possible.
    Please refer to this article, I think the methods of this article are more specific.
    http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2012/05/14/the-definitive-locked-file-post.aspx
    And try these solutions step by step. Above all, you should
     pay attention to the third solution ” Turn off the Preview Pane, Details Pane and pop ups that show information about file and desktop items”, make sure you have unchecked “Show pop-up description for folder and desktop items”.
    If you finish all of methods from this article, the problem still exists. Checking the permissions of users.
    For instance, the permission of user 1 is only read and he opens the [shared] file, the document creates a temporary file in the same directory as the original file. Thus the document gets a temporary lock file. When other users open the [shared]
    file again, they get the error message “file in use”.
    If you want to verify the reason of permission, checking the temporary file. This is a hidden file and it will be the same name as your document, but prefixed with a ~$ symbols.
    The easiest way out is to delete the temporary file, but this not a long-term solution. Checking the permissions of users is radically.
    Trying these solutions and let me know if they work. I am glad to help and forward to your reply.
    Best Regards,
    Emi

  • My cookies disappear when I close Firefox and reopen it. This started about two days ago. Even my Yahoo mail now forces me to login every time. Prior to this, it would retain the login and password for two weeks. What is causing this?

    My bank (ING) has cookies that retain my login. Without the login, I have to answer the challenge questions every time. I am not set for private browsing and I have accept cookies from third party sites and until they expire.

    As a follow up, I've discovered that this is happening in IE on the same websites. When I log into a different computer and test the same scenarios, the cookies do not disappear. It seems to be a problem on my computer. However, if anyone knows how to fix this, I'd be glad to hear it.

  • When I first load Firefox, it comes up with an error message about "script". Can you help me?

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [[/questions/846741]]</blockquote>
    I just double click on the Icon, and it seems it takes forever to load.
    After this action, an error message comes up with a statement that it is trying to read some sort of script. Next it tells me to press continue to go ahead. At this time, it loads up normally. Can you help?

    This issue can be caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Using Property Loader in a sub-sequence with multiple invocations

    I'm using the Property Loader to load a different set of limits for each invocation of a sub-sequence. In my example, I have a sequence to do tests all the tests on a given RF band. But I want the ability to specify different test limits for each band.
    It wasn't hard to come up with an expression based on Parameters.Band to specify different Start and End data markers in the Property Loader step. So far so good.
    I don't necessarily want to override the same limits in every band. For one band, I might be happy with a default limit from the sequence file itself. Trouble is, if I don't specify a limit in the limit-file for a given band, then the limit loaded by the previous invocation of the sub-sequ
    ence is still in effect. This was a surprising behaviour. There's a huge opportunity for errors to creep in here, because the limit files may be edited by "lusers", and it's hard to explain this pitfall.
    Is there an easy way to make the limits reset to the sequence-file defaults before I call the Property Loader? Or alternatively, to make the loaded limits affect only the present invocation of the subsequence (the same way loading Locals only affects the present invocation?)
    BTW, I'm not actually using the official TestStand Property Loader, which I find too unwieldy. We wrote our own Property Loader. But the problem is common to both. Changes to RunState.Sequence.Main... persist across invocations of the sequence.
    - Ron

    Here I go, answering my own question again. For the benefit of anyone else who ever runs up against this...
    The trick is in the Sequence Properties dialog. Turn off "Optimize Non-Reentrant Calls to This Sequence". The little comment there makes it pretty clear that this is what's needed. I tried it, and it works.
    - Ron

  • Flex ActiveX Control Event is Missing

    Hi,
    I wrote an ATL CAxDialogImpl based dialog DLL to host a flash
    activex control. When I launched the DLL dialog box from a command
    line C# program, I can get all the events sent from the flash
    activex control to the dialog instance object, e.g. fscommand,
    FlashCall, OnReadyStateChange, etc.
    Now, I try to load the dialog DLL in IE using a simple local
    html with VBScript, the dialog box shows up and the flash shows up
    too. But I can no longer get fscommand, and FlashCall events from
    the Flash activex control to the dialog instance object,
    interestingly, I can still get the OnReadStateChange events.
    I don't know if this is a known problem already, or it's a
    bug, or is there any workaround for it, or I simply did something
    wrong.
    Your help is highly appreciated.
    Best Regards,
    EJIANG

    Hi,
    This is due to security functionality introduced in Flash
    8.0. I have read the
    Security
    Changes in Flash Player 8 and pages linked in the
    fscommand
    function documentation several times but it's unclear for me in
    which sandbox are put files opened in hosted ActveX Flash control.
    If someone knows this would be very helpful.
    Adobe states that embeding Flash Player ActiveX is not
    supported and stays quiet. Maybe SliverLight guys will be more
    comunicative.
    We have resolved this by using AxWebBrowser control and
    hosting the Flash player in a webpage instead of hosting it in
    Flash ActiveX.
    Another solution if you are using only local files is to try
    to use "file://YOUR_PATH_TO_FILE" as an argument for LoadMovie
    method. But this works only on local files.
    Hope this helps

  • Hide ActiveX Control

    Hi everyone,
    I'm attempting to use an ActiveX control supplied by a camera manufacturer (ImagingSource - http://www.imagingcontrol.com/en_US/support/documentation/iclabviewextension/).  The control itself is the display of the camera image.  However, I wish to use the IMAQ image indicator because it has the ROI tools built into it.  The library that came with the control also has a conversion from the native ActiveX control image to an IMAQ image so conversion is not an issue.
    My problem is that I only want to have to IMAQ image displayed, not the image from the ActiveX control.  When I right click the control from the block diagram and select "Hide Control" the control disappears, however when I save the VI the control reappears.  I also tried to create a property node to hide the control but it does not have that option available.
    Has anyone else encountered a problem like this? If so, how did you resolve it?
    Thanks!
    Eric

    Hi David,
    Thanks for your response.
    So I didn't mention this in the initial post but I can't event select the control on the front panel.  If I want to delete it I have to delete it from the block diagram.  I can however resize it so I was able to place it properly.  It is definitely not a native LabVIEW object!  I attempted to hide the control and save again and lo and behold it didn't reappear (and hasn't after several more changes were committed and saved).  I'm not really sure what the issue was but it doesn't seem to be a problem now.  Again, thanks for the reply.
    -Eric

  • Using ActiveX controls in GUI application, which uses TestStand API

    When using ActiveX controls in TestStand Operator Interface GUI,
    CVI reports User Interface Library error no.-143:
    "ActiveX control Error" on attempt to load panel, which contains ActiveX controls.
    The same code, which takes care of user interface, but not references
    TestStand ActiveX API (i.e. not creates TS Engine), works properly.
    What's wrong?

    Hello again Misha,
    Sorry about my previous answer, I overlooked the fact that you were saying this error was caused by placing ActiveX controls in your Operator Interface (OI) GUI (as my example shows I thought the problem was with GUIs displayed from step code modules).
    Nevertheless, the problem is still being caused by the same issue, and is solved in a similar fashion. The source for the CVI OI initializes the TestStand engine before it loads/displays the UI panels. The calls to initialize the engine seem to be CoInitializing the main GUI thread as multithreaded apartment (MTA) mode whereas you will need it to be single threaded apartment (STA) mode in order for the ActiveX control container to work properly. The TestStand engine is compatible with either modes, but only one can be in place at a given time. If we CoInitialize the OI's main GUI thread as STA this will solve the problem (the subsequent attempts of setting it to MTA will fail, but again this is ok since the engine is compatible with STA).
    In order to perform this functionality you will need to put a call to CoInitializeEx in the main function of the CVI OI source (this will also require that you #include the "windows.h" file at the top of the source also). Here is what the main function in your main.c file for the CVI OI will look like once you have done this:
    int main(int argc, char **argv)
    int retval = -1;
    sArgc = argc;
    sArgv = argv;
    if(InitCVIRTE(0, argv, 0) == 0) /* Initialize CVI libraries */
    goto Done; /* out of memory */
    // Intialize main GUI thread as STA to prevent other attempt to make it
    // MTA, which will not allow ActiveX controls to be used.
    CoInitializeEx(NULL, COINIT_APARTMENTTHREADED);
    /* initialize the test engine */
    if(!InitEngine())
    goto Done;
    if(!InitErrorDialogStrings())
    goto Done;
    if(!InStandaloneExecutable() && !DisplayRunningInEnvironmentWarning())
    goto Done; // get out now
    if(!ProcessPreLoginCmdlineArgs())
    goto Done;
    if(!CfgFile_Load())
    goto Done;
    if(!CfgFile_RestoreOptionSettings())
    goto Done;
    if(LoadGUIPanels() < 0)
    goto Done;
    if(!InitFileQuickList())
    goto Done;
    /* set initial gui state */
    if(!InitGUI())
    goto Done;
    RunUserInterface();
    retval = 0; /* normal exist status */
    Done:
    /* cleanup */
    SeqFileList_DeleteAllSequenceFileRecords();
    ExeList_DeleteAllRecords();
    IconList_DeleteIconList();
    SaveAndCleanupFileQuickList();
    CfgFile_SaveOptionSettings();
    CfgFile_WriteAndCleanupForExit();
    AdaptList_DeleteAdapterList();
    DestroyToolMenus();
    CloseEngine();
    FreeErrorDialogStrings();
    return retval;
    Note: Remember to #include "windows.h" at the very top of the main.c file and to include ole32.lib in your project file list in order to link in the definition for CoInitializeEx.
    Jason F.
    Applications Engineer
    National Instruments
    www.ni.com/ask

  • Unable to print crystal report over web using ActiveX Control

    Post Author: jimmyp
    CA Forum: General
    We have a problem with printing crystal report over web using ActiveX Control.  When clicking print button, it only shows a blank dialog web crystal viewer page without any error.  The page just simply hangs.  We installed the PrintControl DLL and enable all the security setting for ActiveX Control for IE.  It still does not print.  Does anyone know why?  
    Environment.
    Bundle Crystal Report v10
    Asp.net 2.0
    IE 6.0 or higher.
    Appreciate for your help.
    Jimmy

    Post Author: Ian Kulmatycki
    CA Forum: General
    A team member here found this, I haven't read it, I'm not sure if our problems are related to this, but hopefully it helps someone:
    -ian
    When Secure Sockets Layer (SSL) is enabled, using the ActiveX control to print reports from a Crystal 10 DHTML viewer results in the following error message:
    "A communication error occurred, printing will be stopped."
    How can this error message be resolved?
    Resolution
    This is a known issue with Crystal Reports 10 and Crystal Enterprise 10 viewers and has been tracked. The Track ID is ADAPT00282199.
    This error occurs due to the receiving application performing a case-sensitive check for the HTTPS request header value "ON". When a sender application sends the value as "on" in lower case, the error occurs. The update below changes the receiving application to be case-insensitive.
    Hot Fixes or Service Packs address this issue as indicated below. With the updates, this issue is resolved.
    Unless indicated otherwise, Weekly Hot Fix updates from our FTP site have only been tested with English versions of products.
    For Crystal Reports 10 and Crystal Enterprise 10, the update for this issue is included in the Crystal 10 Viewers Weekly Hot Fix (WHF). This is available in English only at the following location:
    ftp://ftp.crystaldecisions.com/outgoing/EHF/viewers10win_en.zip
    This issue is addressed in the following components (and later versions):
    PageObjectModel.dll, version 10.0.5.785, dated 8/25/2004
    ReportRenderer.dll, version 10.0.5.785, dated 8/25/2004
    WebReporting.dll, version 10.0.5.785, dated 8/25/2004

  • Flash player controls disappear

    I have inserted a flash movie in my web site. The controls
    disappear when you move the cursor away from the movie.
    Is there a way to make the controls stay visible all the time?
    DD

    Hi
    This probably has to do with the skin you are using, try changing your skin to a different one, (try clear_skin).
    PZ
    www.pziecina.com

Maybe you are looking for

  • Error creating GTC for sql 2005 in OIM 9.1.0.1

    Good day friends. I have a problem trying to create a GTC in IOM 9.1.0.1 Log: 2010-01-18 23:36:41,953 DEBUG [OIMCP.DATC] Class/Method: DBProvisioningTransportProvider/initialize entered. 2010-01-18 23:36:41,953 DEBUG [OIMCP.DATC] Class/Method: DBProv

  • Add-dayTimeDuration-to-dateTime

    Hi, Could you please tell me why the second assignment is not working? I have no errors but the variable var2 is empty. <variable name="var1" type="xsd:dateTime"/> <variable name="var2" type="xsd:dateTime"/> <copy> <from expression="xp20:current-date

  • Problem showing DATE data and slow history in version 3.0.02

    Hello: I have 2 problems with this new version: When I press "F8" the history works veryyyyyyyy slowwwwwww... ¿? Second problem: I have defined these preferences... NLS Date format: DD/MM/YYYY HH24:MI:SSXFF Hour Register format: DD/MM/YYYY HH24:MI:SS

  • Drivers Download for HP 15 e-038tx

    Hello, I need to download/install  all drivers of HP 15 e038tx for Window 7. I am trying to download and searching the driver software but not getting any suitable solutions. here I am eclosing the hardware ID's  - Inter(R) HD Graphics 4000 Propertie

  • SSIS Package execution completes without giving any success or failure message

    Hi, We are using SSIS to load some 100k records from flat file to Oracle Destination. We are using Oracle 10g client. But during the execution after some 5hrs or 6hr with 900k records upload we are getting the message Package execution completed. In