Loading ActiveX with panel after TestStand API

Hi,
My problem is :
With Labwindows CVI 8.5 and API TestStand, after loading TestStand by its API, i can't load another activeX control with associate panel.
There is an activeX library error - 143
It seems to work when i load my activeX control before loading TestStand by its API.
Is there a solution to perform this to load my activeX control after TestStand ?
Thanks

Bonjour et merci de tenter de m'aider. malheureusement je ne peux vous fournir de code mais je peux tenter de vous éclaircir les idées...
Si l'on a un simple projet dont le but est de se connecter à TestStand et ayant une interface graphique. Il fonctionne...
Si j'ajoute sur le panel un contrôle ActiveX, par exemple un calendar (Microsoft Date And Time Picker Control (SP6)) et que le chargement du panel a lieu APRES le lancement de l'engine TestStand, alors le projet compile mais renvoie une erreur -143. Par contre, si je charge le panel AVANT le lancement de l'engine alors cela fonctionne correctement. Cela peut alors poser problème dans le cas où l'on n'a pas le choix d'utiliser un activeX avant le lancement de TestStand ??? Et pourquoi ne peut-on pas faire autrement ?
Je charge mon panel simplement avec un LoadPanel
Voici comment je me connecte à TestStand :
 //Start TestStand Engine
 oleErrChk(TS_NewEngine (NULL, &gEngine));
 //Active les UIMessages
 oleErrChk(TS_EngineRegisterUIMessageCallback (gEngine, &errorInfo,(long)(&BANC_TESTSTAND_UIMessageCallback)));
 // Délais des messages
 oleErrChk(TS_EngineSetProperty (gEngine, &errorInfo,TS_EngineUIMessageMinDelay,CAVT_LONG, 0));
Merci beaucoup

Similar Messages

  • Loading a CVI Panel from TestStand

    I am running TestStand 2.01F1 and CVI 6.0 on Windows 2000. I have a Panel with several controls on it. Within TestStand, I made several action test steps with cvi adapter. One step loads the panel using the userinterface method LoadPanelEX. Another step displays the panel. then another step sends control to the Panel waiting for a specific Event from the panel. Once I run the sequence, it runs fine the first time and works fine. But once I run it again, it hangs on the DisplayPanel routine with the called function from the test step.
    I am using the GetUserEvent function and processDrawEvents.

    Hi James,
    I'm not running W2000, can you try the attached file(s) to see if they work for you - it's stripped down to it's elements as much as possible.
    S.
    // it takes almost no time to rate an answer
    Attachments:
    cvi_panel_loading.zip ‏61 KB

  • Safari won't load pages with pictures after installing Maverick

    I have an older iMac (2008), but it runs great and I have no problems with it.  Except now that i installed Maverick, now Safari doesn't work properly.  For most things, it works fine, then It will quit in the middle of a page.  Or, I have uploaded photos to the Walmart site and had pictures printed.  I can now access everything on that site except my photos and projects.  I get all the background ads and stuff, but not the actual photos.  That part of the page is blank.  There is not eeven the box with the question mark.  I kow they are still there because I can open them with Chrome.  I have tried all the tips I can find here, plus, I have tried Customer support for the website I am having problems with.  The CS people tell me it probably is a temporary problem, but I don't think they are Mac peaple.  So, far, nothing I have tried has helped.  I did have this same type of problem when I upgraded the last time, but was able to fix the problem.  Just wish I could remember how I fixed it.

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, or by corruption of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and Wi-Fi on certain models.  The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of steps 1 and 2.

  • Load a VI (including TestStand API) in TestStand

    He,
    I'd like to load a VI in TestStand without LabVIEW.
    LabVIEW Version 8.5
    TestStand Version 4.0
    The PC with TestStand just have LabVIEW Runtime Engine 8.5, and the VI is used to import data in station globals; Also, This VI calls TestStand API and TestStand Engine.
    On a PC with LabVIEW and TestStand, all is OK.
    But, on a PC with Runtime only, even if I configure Adapters in TestStand and Select LabVIEW Run time 8.5, an error message is displayed (unable to load VI ... )
    I have tested with a simple VI (dialog box), all is ok;
    But with VIs thaht called API TestSTand, error is displayed
    Do you have an idea ?
    Thank you for your responses
    Solved!
    Go to Solution.

    Yes, I understand that you use TestStand in development system and the VIs are in an llb there. What I ASKED was where you placed the TestStand VIs on the runtime only pc. It sounds like you did not place them anywhere. If you didn't, how do you think the top level VI is going to work? You don't think that these VIs are included in the runtime engine do you? They are not. Only the LabVIEW primatives are in the runtime engine.
    You should really consider using the deployment tool.

  • Ipod touch wont turn on i tried restoring it but every time i do it just says its waiting for the ipod to respond. meanwhile my ipod is no longer a black screen but the apple logo with a loading bar underneath that after leaving for 8 hours hasnt moved.

    my ipod touch wont turn on ive tried restoring it but every time i do it just says its waiting for the ipod to respond. meanwhile my ipod is no longer a black screen but the apple logo with a loading bar underneath that after leaving for 8 hours hasnt moved.

    Try:
    - Another cable
    - Another USB port
    - Reboot the computer
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • HT4177 My mackbook pro suddenly freezed and when I swiched off and on again, a grey screen appeared with an apple logo then a loading circle underneath, and after a few hours, a blue screen appeared. What shall I do with this?

    My mackbook pro suddenly freezed and when I swiched off and on again, a grey screen appeared with an apple logo then a loading circle underneath, and after a few hours, a blue screen appeared. What shall I do with this?

    What operating system version, and do you have any backups of your data off the machine? TimeMachine? Option Key bootable clones? Storage? DVD's?
    A reinstall of the operating system may be in order as a last resort, so if any of these steps on these links get you into the machine, make sure to backup your personal data (Music, Pictures, Documents, Movies) off the machine to a non-encrypted  powered external drive regular storage drive (not TimeMachine as it might be corrupted too) and disconnect as soon as possible.
    Good Luck and report back all what you tried.
    Also report what change occured before this tragedy happened, was there a  Software Update? A EFI firmware update? Etc.
    https://support.apple.com/kb/TS3148
    more:
    https://support.apple.com/kb/TS2570
    http://docs.info.apple.com/article.html?path=Mac/10.6/en/8963.html
    To boot off the 10.6 install disk, hold c or option key while the disk is in the machine.
    To boot into 10.7 Recvoery mode, hold the command and r keys down while booting.
    To use Safe mode, hold down the Shift Key while booting.
    Other assistance
    https://support.apple.com/kb/HT3964
    https://support.apple.com/kb/HT1379
    https://support.apple.com/kb/ht1782
    https://support.apple.com/kb/HT1564

  • Mac won't boot, starts with white apple screen and spinning wheel. Also has grey loading bar which disappears after loaded then stays at white apple screen.

    Mac won't boot, starts with white apple screen and spinning wheel. Also has grey loading bar which disappears after loaded then stays at white apple screen.

    Hi cybertoof,
    Welcome to Apple Support Communities.
    It sounds like you're seeing a startup issue with your Mac, it's booting to a gray screen with an Apple logo. Try the suggestions in the article linked below, they will resolve most issues related to starting up your Mac.
    Mac OS X: Gray screen appears during startup
    http://support.apple.com/kb/TS2570
    I hope this helps.
    -Jason

  • TestStand API in C#

    Hi,
    we develop a software in C# which uses the TestStand API.
    we note that TestStand API allocates memory at the first execution of a TestStand sequence
    All the memory of this first execution is not deallocate at the end.
    why ?
    Is it a problem with Active X technology ?
    Is it a conserved memory for the next execution ?
    Is it possible to not have this comportment ?
    For information, we have deactivated the generation of the TestStand report.
    Thanks for the answers
    Best regards

    There is memory allocated when an execution is run for many different reasons. Please be more specific as to which memory you are referring. Choose one of the following (or add your own if I have forgotten one).
    1) Memory used by result collection (to store results under Locals.ResultList while an execution is running). These are typically freed once the process model is done processing them typically for report generation or database logging. By default the process model processes them between runs of the mainsequence on the UUT. These results are also freed when the execution completes (i.e. stops running). If you are not using a process model or do not need results for specific steps or sequences you can disable result collection on a per-step, per-sequence, or global basis.
    2) Memory used to keep the sequences and executions themselves in memory. These datastructures stay in memory as long as you have a reference to them. One additional twist with .NET is that you might not think you have a reference to them, but you really still do because .NET hasn't gotten around to garbage collecting the references yet. You can force garbage collection as follows with the following code:
            public static void DoSynchronousGCForCOMObjectDestruction()
                // To make sure activex refs are synchronously released
                // we need to call GC.Collect() and GC.WaitForPendingFinalizers()
                // at least twice, according to the following document:
                // http://msdn.microsoft.com/en-us/library/aa679807%28v=office.11%29.aspx
                // The reason we have to do it twice is that the the first call
                // might just sweep the objects into generation 2 rather than collecting
                // them immediately.
                GC.Collect();
                GC.WaitForPendingFinalizers();
                GC.Collect();
                GC.WaitForPendingFinalizers();
    3) Memory used by code modules being loaded. This memory is freed when the step settings on your code modules say to unload your modules, but the behavior is somewhat different depending on the adapter. Some adapters can unload code modules on a per-code module basis, but the .NET adapter can only unload code modules when all code modules and .NET objects created by the .NET adapter are no longer supposed to be loaded or referenced. That is because in .NET the only way to unload code modules is to unload the appdomain containing them. TestStand uses a single appdomain for the .NET adapter and unload that appdomain when all .NET code modules referenced by the adapter are unloaded and all .NET references gotten from those code modules into TestStand are no longer in scope.
    Hope this helps explain things.
    -Doug

  • Error Loading Plugins Control Panel.aip

    I tried to open Illustrator for the first time on my new computer. It seems like it's going to open, then I get an error message:
    Error Loading Plugins
    Control Panel.aip
    I have reinstalled, uninstalled, reinstalled, updated window, updated adobe, restarted inbetween, etc.
    I have Designer CS3 on a toshiba satellite p205d-s8804 running Vista 2gig memory AMD Turion 64x2 2GZ x86 ATI Radeon X1200 2G RAM 139G free HD space.
    It seems numerous people are having this problem across the web but no one has posed an answer on how to fix it. It is insinuated that it is a registry problem.
    Can and Adobe person post the solution.
    PLEASE HELP

    Bill, thank you very much for posting the solution to the "Error Loading Plug-ins. Control Panel.aip" problem.
    I was able to find your solution here on the forum with only a minimal amount of searching, and it worked perfectly.
    FWIW, I found two duplicate files in the C:\Program Files\Adobe\Adobe Illustrator CS3\Support Files\Required folder - one called ADMEveParser and another one called ADMPlugin.  Both of them had a 1 in parentheses after the file name.
    Again - many thanks for your thoughtfulness.

  • Flex Module issue with Panel

    Hello everyone. I have the following problem.
    In my application I have several modules and each of them have components CollapsableTitleWindow (extends Panel). After opening the window it is added to the container which is in the main application (CollapsableTitleWindowContainer). In these windows you can open another window (and so on).
    Now, what is the problem. When I change (reload) any module and I want to open a new window (sub window) with the already loaded window I get this error:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at mx.containers::Panel/layoutChrome()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\containers\Panel.as:1405]
    at com::CollapsableTitleWindow/layoutChrome()[D:\Flex 3 Workspace\WesobCrm\src\com\CollapsableTitleWindow.as:216]
    at mx.core::Container/updateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:2867] (...)
    Indicates that the main applications have object Panel
    Please help.
    P.S. I found a similar problem on http://www.nabble.com/Flex-Module-issue-with-Panel-td20168053.html
    ADDED: I extendes the Panel class and do something like that:
    override protected function layoutChrome(unscaledWidth:Number, unscaledHeight:Number):void
                    use namespace mx_internal;
                    if(!(mx_internal::titleBarBackground is TitleBackground)) {
                            mx_internal::titleBarBackground = new TitleBackground();
                    super.layoutChrome(unscaledWidth, unscaledHeight);                     
    But now i had something like that: Before After
    You can see that it loos style declaration.H

    Thanks for the anserw.
    I don't exacly understand all but i found a solution for my problem and it works.
    Could you tell me if this is ok ?
    I Add in my main app
    public function getProductWindow():ProductWindow {
        return new ProductWindow();
    And in the module i change
    From var productWindow:ProductWindow = new ProductWindow();
    To var productWindow:ProductWindow = Application.application.getProductWindow();

  • Loading custom Generic Loader type extracts broken after patch 7616161

    Before applying 7616161, we could perform full ETL operations within iSetup using custom apis for a seeded .lct file. After applying this patch, extracts still work using the same custom apis, but loads fail with the following error:
    Validating Primary Extract...
    Parsing driver.xml
    Time taken to parse the Driver file and construct setup objects:25 milliseconds
    Sorting Apis based on their dependency...
    null
    java.lang.NullPointerException
         at oracle.apps.az.r12.api.APISorter.sortBySeqNum(APISorter.java:599)
         at oracle.apps.az.r12.loader.cpserver.APILoader.groupApis(APILoader.java:449)
         at oracle.apps.az.r12.loader.cpserver.APILoader.loadAPIs(APILoader.java:226)
         at oracle.apps.az.r12.loader.cpserver.APILoader.callAPIs(APILoader.java:141)
         at oracle.apps.az.r12.loader.cpserver.LoaderContextImpl.load(LoaderContextImpl.java:66)
         at oracle.apps.az.r12.loader.cpserver.LoaderCp.runProgram(LoaderCp.java:65)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    Concurrent program completed.
    Any help would be most appreciated.

    In an instance that was cloned with 12.0.6 after applying 7616161, then upgrading the instance to 12.1.1, still getting this problem, specifically the nullpointerexception error in the APISorter class. Will the patch 8871713 work under this upgraded instance as well? Or do I need different code to patch up iSetup to get the Generic Loader type extensions working in 12.1.1?

  • Load XFCE4 desktop + panels + applets all at once?

    This is purely an aesthetic issue. When I boot up to the XFCE4 desktop, there is a slight lag between when the desktop becomes available and when the panel loads. Basically, the panels keep populating themselves with applets for upto a second after the desktop becomes available, and this can clearly be observed, and is not nice to look at.
    This is my current desktop http://i.imgur.com/UJ2ALRO.png
    Is there a way to either make the entire panel load together, or to make the panel visible only after everything has been loaded? Or alternatively, to load the desktop only after everything is completely ready?

    This widget might be more to use for u in this case;
    http://labs.adobe.com/technologies/spry/samples/collapsiblepanel/CollapsiblePanelGroupSamp le.html

  • TestStand API terminate all notification

    I've developed a LabWindows based user interface using the TestStand UI controls and the TestStand API. I have a sequence file that has several cleanup steps, some of which take a while to finish. One function of the user interface is an Emergency Stop button. When this is pressed, an Engine.TerminateAll is issued via the API. The test fixture has 8 sockets which are using the Batch Model TestUUts entry point. Is there any easy way via callback or other means of knowing when all the terminations have completed. I would like to display a popup telling the operator to wait while the cleanup steps are being carried out. I also want to disable the START button and reenable it when the terminations are complete.
    I am launching the execution with TS_EngineNewExecution and I can get the id. I tried to wait until I saw this execution end with the ApplicationMgr  EndExecution event or the Execution VIew Manager EndExecution event but I saw a bunch of exection id's except the one that I was looking for. It may be my fault but I wanted to ask and see what is the best approach for what I am trying to accomplish.
    John

    Hey John,
    Your method will work, and your assumptions are partially
    correct.  If you look in the Batch Process Model, inside of the
    Cleanup Step Group of Test UUTs there are steps that tell all
    TestSocket executions to stop.  There is also a wait step that
    forces the Process Model execution to wait until all of the TestSocket
    executions have terminated. There are going to be multiple EndExecution
    events because it is going to occur for each execution that finishes
    whether it is the Process Model execution or one of the TestSocket
    executions. However, the Process Model will always be after all of the
    TestSocket executions have completed. 
    Another thing to keep in mind is that this is only happening because it
    is built into the process model.  Normally if you spawn off a new
    execution it is separate from your original execution, and the new
    execution would not terminate by calling the terminate method on your
    original execution.  You would have to either do a terminate on
    each execution or use the terminate all method of the application
    manager. Hope this helps to clear things up a little.
    Pat P.
    Software Engineer
    National Instruments

  • LabVIEW V'sI containing TestStand API saved on different Windows versions

    Hi.
    I have a question regarding saving and loading of LabVIEW VI's that contains calls to the TestStand API in different versions of Windows:
    Can it be true that if I create such a VI in e.g. 64 bit Windows 7 and then load it in 32 bit Windows 7 or XP with the exact same versions of LabVIEW and TestStand, the VI will need to be recompiled?
    I am currently using LabVIEW 2012 SP1 f9 and TestStand 2012 SP1 f1.
    Best regards
    Jens Christian Andersen.
    Best regards
    Jens Christian Andersen.
    CLA, CTA

    Hi,
    If the labview version is same then it need not be re compiled.
    It will work with different versions of Windows (for both bitness 64\32 OS)
    Ravi

  • Attaching User ComboBox to TestStand API

    I am using a custom interface that gives my application an Office 2003 look incliding the dockable panels and toolbars, I would like to use the ComboBox controls that I normally use rather than the NI ComboBox that comes with TestStand, How do I connect those custom Combo boxes to the TestStand API?

    There is no simply way to connect non-TestStand UI control to a manager control such that it behaves the same way as a connected TestStand UI control. Instead, you must implement the desired behavior in the usual way you program your controls.
    This means you have to use the methods and events that your combo box offers to add and remove items and to respond to user selections.
    To obtain the data to populate the combobox or to perform an action in response to a user selection, you might need to call the TestStand API. Which methods you call would of course depend on what you are showing in the combo box.

Maybe you are looking for

  • Where to Configure Service Ticket "Reason" & "Subject" field with new value

    Hi Friends - I am working on IC Webclient Service Ticket. I want to Configure the "Reason" field as well as the "Subject" field in Service Ticket with new Values as per our requirement. I could not find any Configuration object for the above mentione

  • How can I put two photos in one 6x4 print??

    Hello!! So I want to print out some of my photos for a scrapbook. I however do not want them all to be 6x4 sized prints and making smaller ones (scrapbook prints) at the photo shops cost too much. There HAS to be a way to just put two separate photos

  • Sent mail lost. Not in sent, not in draft, not in outbox!

    Hi, I use IMAP with a gmail account. I find myself a few times sending e-mails and a few minutes later I check that the mail has not been sent, and it's not in draft either. There is no outbox either, not even showing an outbox. When I check activity

  • Message search won't search Names

    About 2 weeks ago, my message app started acting up - When I type a name into the spotlight search field, nothing comes up.  For example, if I'm searching for a text from "Amy" (and she is the most recent text) and I type "A" in, a few messages pop u

  • UTC time

    Hi, I'm looking for a way to get date/time formatted to UTC time out of the database: When selecting SYSDATE, I got "local time", but what I really want is the UTC time instead. Could anyone help me with that? TIA! eva