Running an MC inside an MC

I have two MC's.   One has a tweened animation that I want to run within the main MC.  The tweened MC has on frame one a stop() command and on frame 2 begins a tweened animation.  I've place the tweened MC inside the main MC. At the point at which I want the animated MC to run I use the mc.gotoAndPlay(2) command which indeed moves to that frame but the tween doesn't run.   The tween runs fine if I remove the stop() command on frame 1.  Why this behaviour? 

Worked!  Thanks Rob!!!

Similar Messages

  • Error running managed code inside DllMain or image initialization

    I have a LabView 7.1 DLL, and am calling it from a Visual C++ application.  I load the DLL dynamically at runtime using LoadLibrary.  When I call the function, I get this:
    <mda:msg xmlns:mda="http://schemas.microsoft.com/CLR/2004/10/mda">
      <!--
           DLL 'C:\Program Files\National Instruments\Shared\LabVIEW
           Run-Time\7.1\DNCompInfo.dll' is attempting managed execution inside OS Loader
           lock. Do not attempt to run managed code inside a DllMain or image
           initialization function since doing so can cause the application to hang.
       -->
      <mda:loaderLockMsg break="true"/>
    </mda:msg>
    in the Visual C++ debug window.
    I have been through the pages on this website about creating LabView DLLs and calling them.  I have also created very small vi's and exported them, but with the same error.  I have uninstalled LabView 7.1, and reinstalled it.
    Any ideas?

    Hi
    What version of C++ are you using?
    If you could you post your small VI and associated code I will have a look at it and see if I can get it running with out any errors.
    You said you have looked at some help material on the website. Have you tried any of the example pieces of code?
    Here is a link for one.
    Calling a LabVIEW DLL in Visual C++ that Passes Array Handles by Reference
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=D67C2540A4CE3182E034080020E74861&p_...
    See if you can run this with out any errors if you still get the same error with this please let me know
    Regards
    Tim
    AE NI UK and Ireland

  • Can we able to run java program inside  javascript

    Hi all
    can we able to run java program inside javascript or integrate java with javascript.....whether its possible...

    No. You can't execute Java code from within a JS script in Acrobat/Reader.

  • Run for loop inside event node

    Hi all, 
              We want to run for loop inside event node with 50ms delay. But when i am doing it the Labview is crashing. Please let me know if somebody did this.
    Thanks in advance,
    Regards,
    Harish. G
    Thanks & Regards,
    Harish. G.

    harishg92 wrote:
    Hi all, 
              We want to run for loop inside event node with 50ms delay. But when i am doing it the Labview is crashing. Please let me know if somebody did this.
    Thanks in advance,
    Regards,
    Harish. G
    You're implementing a For loop inside an event structure? (I don't know of any event "node" in which you can run a For loop)
    If so, that's a bad idea because LabVIEW won't be able to process any events while waiting for your For loop to get done, which might be why its crashing.
    There are tricks to accomplishing what you're trying to do without putting any for loops inside event structure. See what I have  attached and if it helps. "N" is number of times you run your For loop, timeout is whatever delay you want in each loop. This can be done in many ways without adding delays in events, another way could be to fire a separate subVI using Asynchronous call (without waiting for the VI to finish) during those delays, just make sure that such subVI finishes processing within your allocated time (that's how I'd ideally implement things). That method is better because you're doing minimal work inside events structure while using wait period wisely in a separate/parallel process.
    I hope that I understood you correctly and did not go off on a tangent.
    -BTC
    New Controls & Indicators made using vector graphics & animations? Click below for Pebbles UI
    Attachments:
    ForLoop inside Event Structure.vi ‏11 KB

  • Missing Classification Category When Trying To Run a Report Inside SCSM!

    Hi Folks,
    Some of my incidents categories go beyond five levels which means they have sub-sub-sub-sub categories like below :-
    For Example (for a lack of better examples :D ) :-
    Email Problems
         1.1 Mailbox is full
             1.1.1 Can't receive mails
                    1.1.1.1 Inbox can't receive mails
                              1.1.1.1.1 No more mails
    I need to run reports for the fifth level (No more mails) but it does NOT appear as a parameter , the last level I can run the reports against is level four as it is the last subcategory shown ..
    Can I add the fifth level ?? or is it a limitation inside SCSM ??
    Thanks ..
    Tarek El-Touny MCTS | MCITP EA | MCSA | Microsoft Student Partner

    This is run against the Data Warehouse (DWDataMart).  The data warehouse doesn't store anything close to the level of information that the CMDB keeps.  However, it does store all the important information from work items and configuration items.
    The data warehouse has been normalized so the data isn't all stored in the same table.  Adding new reports isn't that simple of a task but after you learn the lay-of-land inside the data warehouse, it becomes easier.
    If you are unfamiliar with transact SQL or databases, see if your organization has an individual or team familiar with reporting and database structures, I would seek their assistance on reporting.  The learning curve can be pretty steep.
    First thing, you'll need administrator rights on DWDataMart so that you can create new Stored Procedures.  You will also need to review how your reporting was configured in the regards of permissions.  Basically, if you have a separate service
    account for reporting, that account will need Execute permissions on the new stored procedures, otherwise, users get error when they run reports.
    Next, you'll need Microsoft SQL Server Management Studio installed.  This is where all the transact sql will be written and tested before it's finalized.
    The final piece is Microsoft Report Builder.  This software allows you to select a stored procedure and then build reports, complete with special formatting, and publish them directly to the Service Manager reporting server.  Once on the server,
    they become available in the SCSM Console after a restart.
    My steps are usually:
    1. Identify Required Information
    2. Identify how that information is stored in the data warehouse
    3. Create a stored procedure to extract required information
    4. Create a report in report builder, add necessary graphics elements and formatting to make report easier to look at
    5. Publish report to reporting server

  • Batch to open xp mode then run a program inside xp mode

    I have a batch file that has to be ran in xp  mode and I need a batch file that will open the xp and run the batch file that is on the desktop. My boss insists that it be as easy as one click from windows 7 desktop.

    Hi,
    Inside xp mode, create a shortcut to your app, under, %allusersprofile%\start menu. A few seconds later, the app short cut gets published on the win7 start menu under Windows Virtual pC"->"windows xp mode applications"
    For more information, please read this familiar thread:
    https://social.technet.microsoft.com/Forums/windows/en-US/274beeeb-85bb-4741-b251-9e9588a26698/create-shortcut-to-xp-mode-app-from-win7-host
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Run Threaded application inside App server

    Hi,
    My Java application is a standalone Java application. It is running from command prompt.It does not use any application/web server.
    This application contains a good number of Threaded application.
    Now the problem comes in to the picture is that --- We have to deploy this application inside the Application server.
    My question is ------- Can I deploy this Java Thread related application inside app server.
    what are the issues I will face to run a multithreaded application in side App server.
    /sh

    yes, you continue..

  • Event controll: How to stop a running while loop inside a event structure

    Hello,
    I have some problems with controlling a while loop inside a event structure (see attached VI).
    I habe 3 buttons ("Start Measurement, Stop Measurement, Quit Program"). When a measurement is running, it should be possible to stop the measurement by clicking on "Stop Measurement", but this does not work.
    Has anyone an idea?
    Thanks a lot and best regards,
    Michael
    Message Edited by MichaGue_01 on 04-23-2010 04:37 AM
    Solved!
    Go to Solution.
    Attachments:
    Event_Controll.vi ‏27 KB

    Hello,
    Try not to use while loops inside a Event structure.
    My approach is using two While loops (one will have only the Event structure).
    I had to use to Flag buttons that make it a bit more complicated but i am sure somebody will come up with a better idea, or you might want to have a think about it yourself.
    Have a look on the modified version on the attachment.
    Once you are happy how it works then you can Hide the 2 flag buttons from the Front Pannel by going to Block diagram right-click the indicators and choose option "Hide Indicators/Controls"
    I did it in LV 8.6 so i hope you can open it on your PC if not i can downgrade it.
    If you have any problem let us know.
    Regards
    Dimitrios
    Test Systems Computing Engineer
    Cummins Turbo-Technologies
    Attachments:
    Event_Controll[1]_modified.vi ‏18 KB

  • Trying to Access Website using SSL running JAVA from inside ORACLE DB

    Hi,
    I am trying to access website using SSL and running JAVA code from inside Oracle 10g DB server using SSL and Java. I have loaded my java code into Oracle data base. My problem is when I am running same code from outside the DB it is running perfectly fine but when the same code is loaded into DB and trying to run from DB under these environment I am using for running my code:-
    JDK 1.4.2_06
    JSSE 1.4
    Database :- Oracke 10G
    I am getting following Exception:-
    CALL testssl_http_mar20_New();
    java.io.IOException: Unable to tunnel through 123.456.789.123:80. Proxy returns "HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied.)
    at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a(DashoA12275
    at
    com.sun.net.ssl.internal.www.protocol.https.HttpsClient.doConnect(DashoA12275)
    at
    com.sun.net.ssl.internal.www.protocol.https.NetworkClient.openServer(DashoA12275
    at com.sun.net.ssl.internal.www.protocol.https.HttpClient.l(DashoA12275)
    at com.sun.net.ssl.internal.www.protocol.https.HttpClient.<init>(DashoA1
    2275)
    at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.<init>(DashoA
    12275)
    at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a(DashoA12275
    at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a(DashoA12275
    at
    com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.connect(DashoA122
    75)
    at
    com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.getInputStream(Da
    shoA12275)
    at java.net.URL.openStream(URL.java:924)
    at SecureURLhttp_Mar20_New.SecureURLhttp_Mar20_New(
    source code is below :-
    import java.io.*;
    import java.net.*;
    import java.security.*;
    import java.util.*;
        public class SecureURLhttp
              public static void main(String[] args) throws Exception
                  SecureURLhttp r = new SecureURLhttp();
                  r.SecureURLhttp();
        public static void SecureURLhttp() throws IOException
                System.setProperty("java.protocol.handler.pkgs","oracle.aurora.rdbms.url|com.sun.net.ssl.internal.www.protocol");
                System.setProperty("https.proxySet","true");
                Authenticator.setDefault(new MyAuthenticator());
                System.setProperty("https.proxyHost","123.456.789.123");
                System.setProperty("https.proxyPort","80");
               //  URL verisign = new URL("https://login.oracle.com/");
                URL verisign = new URL("https://www.verisign.com");
                BufferedReader in = new BufferedReader(new InputStreamReader(verisign.openStream()));
                String inputLine;
                while ((inputLine = in.readLine()) != null)
                System.out.println(inputLine);
                in.close();
                 /* Code Newly Add for checking the system property   */
                java.util.Properties props = System.getProperties();
                java.util.Enumeration propNames = props.propertyNames();
                 while (propNames.hasMoreElements ())
                 Object o=  propNames.nextElement();
                 String name = (String ) o;
                 String val =  props.getProperty(name)   ;
                 System.out.println ( name +  "  = "  + val );
        private static class MyAuthenticator extends Authenticator {
              protected PasswordAuthentication getPasswordAuthentication() {
                   return new PasswordAuthentication("<USERNAME>",new String("<USER_PASSWORD>").toCharArray());
         }Please help me out:
    Thanks a lot in advance.

    0- the fact the ISA server logs an 'anonymous' seems logical, since it answers by HTTP 407. I will say it's even a "good log" :) but I had preferred a good old "security exception" but it's not the case..
    1- The code for checking the properties (your debugging) should be placed BEFORE trying to connect to the url if you want to see what's happening
    2- The 'normal' way to set the proxy is to set the following properties
    System.setProperty("http.proxySet","true"); // and NOT https.proxyset as ejp said
    System.setProperty("http.proxyHost","123.456.789.123");
    System.setProperty("http.proxyPort","80");
    3- what's the behavior if you change 123.456.789.123 by the real name (hostname) of the server ?
    4- You can try setting up the proxy in the java control panel instead of in your code (easy to do under Windows, you look for the networking settings, and you find the proxy settings for http/https there. Otherwise look for all files called net.properties and edit them).
    5- to help debbuging, we can rely on several methods of Authenticator :
    protected PasswordAuthentication getPasswordAuthentication() {
    System.err.println(".\tgetRequestingHost: " + getRequestingHost());
    System.err.println("..\tgetRequestingSite: " + getRequestingSite());
    System.err.println("...\tgetRequestingPort: " + getRequestingPort());
    System.err.println("....\tgetRequestingProtocol: " + getRequestingProtocol());
    System.err.println(".....\tgetRequestingPrompt: " + getRequestingPrompt());
    System.err.println("......\tgetRequestingScheme: " + getRequestingScheme());
    return new PasswordAuthentication("<USERNAME>",new String("<USER_PASSWORD>").toCharArray());
    Try all this and let us see the output messages.
    Please remember to give some 'duke stars' if it helped resolving the problem ;)
    NephYliM

  • Set Mail Signature with Run AppleScript Action inside an Automator workflow

    Hello,
    Not sure if I am posting this at the right spot, but I would need some assistance. I am trying to write an Automator Workflow application. The purpose for this application is to:
    1. Drag one or more attachments on the application/droplet icon
    2. Automator workflow creates a new mail message in Mail with the attached items already addressed and ready to go to
    I setup the following Workflow inside Automator:
    1. New Mail Message
    2. Add Attachments to Front Message
    So this is all working just fine. Now I would like to add a step in between of type "Run AppleScript". In this "Run AppleScript" action I have the following code:
    on run {input, parameters}
    tell application "Mail"
    set the message signature of input to signature "My Signature Name"
    end tell
    return input
    end run
    So my workflow looks now like this:
    1. New Mail Message
    2. Run AppleScript
    3. Add Attachments to Front Message
    I am getting the following error:
    Can’t make «class situ» "My Signature Name" of application "Mail" into the expected type.
    So, in essence I am trying to select a signature for that particular new mail message in this workflow. And that does not work. Any help would be appreciated.
    Martin

    first, you don't need the extra action to add attachments. if you drop some items on the saved application they will be passed to the "new Mail message" action as input and will be added as attachments. also, in my testing it seems that the processes of attaching the attachments seem to bump against the process of adding the signature. it get the same result as you originally but if I add a delay to the run applescript action then it works as it should so try
    1. new mail message.
    2. run applescript
    on run {input, parameters}
    delay 1
    tell application "Mail"
    set the message signature of (item 1 of input) to signature "My Signature Name"
    end tell
    return input
    end run

  • Error 1003: Running a VI inside LLB from EXE

    HELP!
    I have a Labview Executable which is using some "plugin drivers" provided as LLB. The drivers are loaded dynamically with "Invoke Method: Run VI". My Exe does not contain any dependency to those driver LLB's. The LLB build projects are build with vi.lib. "Disconnect type def" and "Remove unused polymorphic ...." are both unchecked. Everything worked for a while without any problems. I had one driver which is using GMath:Interpolate 1D. Now I have a second driver which is using "Interpolate 2D". Those 2 driver VI's won't load at same time. It is really strange but if I disable one, the other will load. If both are active I get error 1003 indicating that some VI is not able to run mostly because of missing dependencies. I faced that message a lot in the past but this time I don't know what else to do. I tried several combinations of building the LLB's and the exe, even included those dynamic VI's into exe but all time same. I have less hope that someone here can help me but I give it a try.
    BTW, is there any chance to debug and see the exact reason why my VI won't load. When I breakpoint at "Invoke Method: Run VI" i will see that it returns 1003 but can I find out more?

    I have seen this happen as well in my application's plug-in architecture. It happened with a pair of different DAQmx Read VIs in our case. I filed CAR 285388 against it. It is currently under investigation. I will put the information about your issue in the existing bug report.
    Right now I don't know of any workaround.
    Jarrod S.
    National Instruments

  • Running a function inside a package

    This is kind of a noob question: I have a function. I want to use this function inside a package. The function is not created inside the package.

    Here is an example;
      1  create or replace function test_func(v_one number, v_two number)
      2  return number
      3  as
      4  begin
      5  return v_one + v_two;
      6* end;
    SQL> /
    Function created.
    SQL> select test_funct(10,20) from dual
      2  /
    select test_funct(10,20) from dual
    ERROR at line 1:
    ORA-00904: "TEST_FUNCT": invalid identifier
    SQL> select test_func(10,20) from dual
      2  /
    TEST_FUNC(10,20)
                  30
    SQL> create or replace package test_pkg as
      2  procedure test_proc(v_name varchar2, v_one number, v_two number);
      3  end test_pkg;
      4  /
    Package created.
    SQL>
      1  create or replace package body test_pkg as
      2  procedure test_proc(v_name varchar2, v_one number, v_two number) is
      3  begin
      4     dbms_output.put_line(v_name || ' ' || test_func(v_one, v_two));
      5  end;
      6* end test_pkg;
    SQL> /
    Package body created.
    SQL> set serveroutput on
    SQL> exec test_pkg.test_proc('Krystian',10,20)
    Krystian 30
    PL/SQL procedure successfully completed.With kind regards
    Krystian Zieja

  • Error in running Adobe forms inside Web DynPro in CE3

    Hi
    I have used Adobe Interactive form in a Web DynPro DC after doing the necessary configuration for ADS in CE SP3. But when I run the application I receive an exception somethis like this
    com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Interactive Form Operation Failed
    Caused by: com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: PDFDocument Processor failed to process RenderRequest...
         at com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:55)
         at com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:89)
         at com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:112)
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:567)
         ... 61 more
    Caused by: com.sap.tc.adobe.pdfobject.core.PDFObjectRuntimeException: Processing exception during a "UsageRights" operation.
    Request start time: Wed Feb 27 19:55:39 IST 2008
    com.adobe.ProcessingException: Credential login error while applying usage rights to PDF: /usr/sap/CE1/J01/j2ee/cluster/server0/temp/adobewa_CE1_18726550/DM-6001642253044533767.dir/DM-5495524542707707125.tmp
    Specific error information:
    error while logging into credential ^0
    GeneralError: Operation failed.
    SecurityHandler.login:-1:
    Non-empty file name required
    Caused by: com.adobe.document.pdf.CredentialLoginFailure: IDL:com/adobe/document/pdf/CredentialLoginFailure:1.0.
    I have done all the configuration by following the blog in
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/7290. [original link is broken] [original link is broken] [original link is broken]
    Below file has been used for installing ADS credential
    P12 File: 20070730_0004205_P14.pfx
    Also the server has been restarted after all the configurations are done.
    What would be required more to overcome this error.
    Thanks & Regards
    Sudip

    Hello,
    are you sue the Alias name for the credential is exactly:
    ReaderRights
    What OS do you have?
    Regards,
    Dezso

  • Simple class runs 3x slower inside 8i than outside...why?

    I have a simple class to read a large number of numbers (1E6) and sort them using the java Collections.sort(). I tested the class in the JVM run as a Procedure and externally as a simple class on my desktop.Running Oracle 8i on Linux Redhat7.2. The external version runs about 3 times faster and I have no idea why.
    Running the class in the JVM: Server is a Compaq P800-256128US with PIII 800 MHz 256 KB cache & 256MB PC-133 and SCSI drives.
    Connection time: 0.004 seconds
    ArrayList build: 223.27 seconds
    Collection.sort(): 101.29 seconds
    Running the class on my workstation: Machine is a Compaq DeskPro w/PIII with 256MB.
    OP:Connecting...
    ----The operation took 5.734 seconds
    OP:Building List...
    ----The operation took 81.141 seconds
    OP: Sorting 1000000 items...
    ----The operation took 6.859 seconds
    Here is the class trivial logic:
    Connection conn = DriverManager.getConnection("jdbc:default:connection:");
    List list = new ArrayList();
    stmt = conn.createStatement();
    ResultSet rset = stmt.executeQuery("select List from NUMBERS");
    while (rset.next())
    list.add(Integer.valueOf(rset.getString(1)));
    Collections.sort(list);//sorting
    I have timing calls embedded not shown here in both versions to measure and of course the connection is different for external call.
    What do you think of these results? What should I check?
    Thanks,
    Chris

    Id like to follow up with some questions:
    1.)     Oracle documentation states that PL/SQL is the preferred tool for data intensive jobs. And Java Stored Procedures are preferred for more algorithmic jobs. This seems contrary to what you state. Can you clearify?
    2.)     When you say gen. purpose and cpu bound Java code, do you mean algorithmic code?
    3.)     I assume the points 1 and 2 in your response suggest that it takes so long to get the Java environment up and running that it is killing the performance of my simple algorithm...is that what you mean?
    4.)     My real goal is to use intelligent agents (use AI algorithms that are very expensive computationally) and are invoked upon updates and continually train on newly inserted data. The fact these guys can live in the Oracle JVM, be invoked upon an update using a trigger and call an EJB client in warning of a particular condition is what made me fall in love with this solution that Oracle provides. But do you think I am asking too much or Im going a bit beyond what the JVM is for?

  • Regarding Parallels Workstation running Windows XP inside OSX on the 17"

    I just wanted to mention that I've got 2 mb of memory on my 17" and have dedicated 900mb to the workstation and 1100mb to OSX. I haven't tried any other setting, but the two Windows programs I'm running (memory and CPU intensive proprietary online trading software) simply screams. Actually, it's silent. But you know what I mean.

    I just wanted to mention that I've got 2 mb of memory on my 17" and have dedicated 900mb to the workstation and 1100mb to OSX. I haven't tried any other setting, but the two Windows programs I'm running (memory and CPU intensive proprietary online trading software) simply screams. Actually, it's silent. But you know what I mean.

Maybe you are looking for

  • To sum values in a internal table

    hi iam using below loop    Loop at it_table.    At end of amount.    sum.    endat.    At end of field2.    sum.    endat.    endloop. my purpose is to sum all values of the table field1 and field2 and use it to display please let me know how to do i

  • How to dynamically and selectively update DSO based on values in a csv file

    Hi, I'm loading a csv file into a DSO. When loading the flat file in FULL mode I need to do a pseudo delete of records that were previously loaded but are not in the new flat file. Is it possible to dynamically determine the unique set of records (sa

  • NEED HELP remove Video Gallery

    I am importing the video gallery dynamically via Flash professional and in need of help how to remove the sound and where to put the code so the sound stops playing while viewing the otehr pages. package      import flash.events.*;     import flash.d

  • Can't get the Submit button to work on Acrobat X

    I was having this problem on Acrobat 9 and so I bit the bullet and upgraded, hoping the problem would go away, but it did not. I have a simple form for an event which recipients will fill out and submit, emailing the entirePDF to others (not to me) I

  • OGG and firing triggers

    Hi, I am designing and implementing OGG to replicate a set of about 200 tables from a master system to two target systems. Updates to these tables only occur on the master system so this is a 1:n uni-directional situation. The master and target syste