I'm having a problem running, closing vi's using vi server..

Hi,
I'm having a problem. I have a vi called A. This is a user interface where the operator enters some parameters. When an OK button is pressed, I would like to call another vi, called B, using vi server and close this vi. Note that vi B does not display it's front panel. I do this in a sequence where I call vi B then on the next frame close vi A.
What happens is vi A closes but vi B never runs. I have a Open Vi Reference in vi B at the beginning to open a reference to itself to try to keep it into memory, but same problem. Now the funny part is if I run vi A with execution highlighted, vi B runs. What gives?
Thanks for any help!

This is something i once heard about, it seems that if you have a reference opened to a vi, this will be running untill you close the reference AND the front panel, so in your case when you close the reference to B and it's front panel (never opened) you just act as if you were closing your vi's front panel, quiting it. In highlight execution, you can see your B vi's front panel, so you don't close it, as long as you give time until A and the reference to B are closed.
Hope this helps

Similar Messages

  • Problem Running SSIS Package with a SQL Server Agent

    SQL Server: SQL Server 2012
    VS: Visual Studio 2012
    Hello,
          I have been having a problem running SSIS packages by using a SQL Server Agent job. I first created these SSIS packages in a separate IS project in Visual Studio. I imported the packages to the Integration Services (Package
    Store) instance on my SQL Server and tried to create a job that would run them from there.
          At first I read around about needing a proxy account to allow the agent/packages to access the file system since these packages are importing data from a flat file in the SQL database. So I created a temporary admin user to
    use as the user for the agent. I did this by going to Services.msc on the server and linked the account the agent's "logon as". Then arose another issue where I am getting an error about using the incorrect type for my connection managers.
    The connection manager "TestFile" is an incorrect type.  The type required is "OLEDB". The type available to the component is "FLATFILE". Source: Data Flow Task Flat File Destination [2]     Description:
    Cannot open the datafile "O:\*****\Success.txt"
    I am not sure what this even means as I am getting this error even with a test package that doesn't do anything with the database. I have just two flat file connection managers  in this test project one for grabbing the source file and one for
    creating the new test file.
    I am not sure what to do.
    Thanks in advance,
    Matt

    I accidently created two posts. The newest one has the details.
    I did not mean to.
    SQL Server: SQL Server 2012
    VS: Visual Studio 2012
    Hello,
          I have been having a problem running SSIS packages by using a SQL Server Agent job. I first created these SSIS packages in a separate IS project in Visual Studio. I imported the packages to the Integration Services (Package
    Store) instance on my SQL Server and tried to create a job that would run them from there.
          At first I read around about needing a proxy account to allow the agent/packages to access the file system since these packages are importing data from a flat file in the SQL database. So I created a temporary admin user to
    use as the user for the agent. I did this by going to Services.msc on the server and linked the account the agent's "logon as". Then arose another issue where I am getting an error about using the incorrect type for my connection managers.
    The connection manager "TestFile" is an incorrect type.  The type required is "OLEDB". The type available to the component is "FLATFILE". Source: Data Flow Task Flat File Destination [2]     Description:
    Cannot open the datafile "O:\*****\Success.txt"
    I am not sure what this even means as I am getting this error even with a test package that doesn't do anything with the database. I have just two flat file connection managers  in this test project one for grabbing the source file and one for
    creating the new test file.
    I am not sure what to do.
    Thanks in advance,
    Matt

  • TS1702 was not having any problem running apps Now now none of the apps will run

    Was not having any problems running any apps on my ipad3 and now none of the apps will launch all apps were with obtained through apple app store the only thing different was on Sun I connected my pad to my pc for the first time to transfer some music to day was the first time I tried to run any apps since then.and that's whei encounter the problem

    Download another app - any free app is fine. See if that helps.

  • Is anyone using iPhoto having a problem with the slide show using shatter where it does not let you put a title over photo?

    Is anyone using iPhoto having a problem with the slide show using shatter where it does not let you put a title over photo? It use to work but it no longer lets you place a title over the opening photo.

    Is your signature still current?(iPhoto '08, OS X Mountain Lion (10.8.4))    I can confirm this for iPhoto '11; Shatter will only show the text slide title between the slides. Ken Burns and Classic theme can still be set to overlay the caption and title directly over the slides.

  • Why am I having a problem running slideshow in i photo since i downloaded maverick

    I am having a problem runing slideshow in i photo since i down loaded maverick.  any  help?

    What version of iPhoto?  Have you updated it?

  • Problem while connecting to site using proxy server in weblogic 8.1

    Hi All,
    I am able to connect to the site www.testtest.com when i am running the below
    program out side a bea weblogic server. but i couldn't able to connect to the
    www.testtest.com when i am accessing thru a progam that was running in weblogic
    server. i am getting the below exception
    Tried all: '1' addresses, but could not connect over HTTP to server: 'www.testtest.com',
    port: '80'
    I am using weblogic server 8.1. Pls help me out in solving this.
    import java.io.*;
    public class testurl
    public static void main(String[] args)
    try
         String username = "username";
         String password = "password";
         String proxy_internet_address = "111.111.12.12";
         String proxy_internet_port = "80";
         String urlString ="http://www.testtest.com/";
         java.net.Authenticator.setDefault(new SimpleAuthenticator(username,password));
         java.net.URL url = new java.net.URL(urlString);
         java.util.Properties systemProperties = System.getProperties();
         systemProperties.setProperty("http.proxyHost",proxy_internet_address);
         systemProperties.setProperty("http.proxyPort",proxy_internet_port);
         java.net.HttpURLConnection aConnection = (java.net.HttpURLConnection)(url.openConnection());
         aConnection.setDoInput(true);
         aConnection.setDoOutput(true);
         aConnection.setUseCaches(false);
         aConnection.connect();
         java.io.InputStreamReader insr = new java.io.InputStreamReader(aConnection.getInputStream());
         java.io.BufferedReader br = new java.io.BufferedReader(insr);
         String s="";
         String textString =null;
         while((textString = br.readLine())!=null)
         s = s + textString;
         }//end of while
         br.close();
         aConnection.disconnect();
         PrintWriter pw = new PrintWriter(new FileOutputStream("test.html"));
         pw.println(s);
         pw.close();
    }catch(Exception e){
         System.out.println(e.toString());

    I have a similar problem. I want to connect to a URL, but not using proxy. From outside BEA or in BEA 6.1 it works OK, but not in BEA 8.1.
    Did you get to solve your problem ?

  • Running multiple SSIS packages using SQL Server Agent question.

    I have a multitude of SSIS packages I want to run using SQL Server Agent.  What would the best practice be for running these jobs using SQL Server Agent?  One job per package or running all pakages from one job?  If you have an answer can
    you explain the technical reasoning behind your answer?  Thanks in advance.
    Stan Benner

    Hi, maybe a bit more analysis will give a better answer
    Do all the packages have to run in sequence? (if yes, single job better)
    Can the list of packages to be executed be grouped by dependency (ex package 1,2 and 5 must run in sequence and can be executed by one job, while package 3,4 are not dependent on package 1,2 and 5 can be run by a separate job).
    Can any jobs be run in parallel?
    How often will the package execution sequence change?
    How will you deploy your packages and job? (the more jobs to create the more install script needed and upgrade scenarios become messy).
    My personal preference:
    I create ONE ssis package which is executed by ONE sql agent job. lets call this 'PackageExecutionWrapper.dtsx'
    PackageExectionWrapper then contains multiple 'Execute Package' tasks for the packages you want to execute.
    In the package you can apply any package execution rules - which packages have to run after the other, which packages can run concurrently, which packages should only run if previous succeeded.
    If you need to change the sequence, simple, just update the PackageExecutionWrapper package.

  • How to run jsp and servlet using JBOSS server

    Dear Friend,
    I have JBoss application server and Eclipse id
    now i want to run JSP and Servlet but i am not getting the place where to place my servlet class file to run it .
    before that i run jsp and servlet using tomcat5.0 but in that i place my servlet class in WEB-INF/classes folder and do corresponding entry in web.xml file and run it through browser.
    now i want to use JBOSS how it is possible
    PLZ Help me

    Is the servlet class defined in a package.? If servlet class package is servlets., copy the servlet to
    WEB-INF/classes/servlets directory.

  • Having some problems running my pages, out of memory?

    I'm trying to put together a very simple demo which will consist of 3 JSP pages. I've already been using version 10.1.3 but find the adf table and tab components better on this version. However, when I run my first page from faces_config.xml, it works to begin with but by the 3rd or 4th time (after some minor modifications ) I start getting problems. Either the browser hangs on 'Loading', or I get a message 'faces_config.xml is not runnable', or an out of memory error. My PC is fairly new, runs windows XP and has 3GB RAM.
    I am fairly new to Jdev!

    Hello Tracey,
    I guess this is a PermGen issue that also exists in 10.1.3.x. Simply stop the embedded OC4J instance rather than just redoing a "Run" on the page. Btw, you don't have to re "Run" the page at all if the modification was made to a JSPX, you can just hit ENTER in your browser's location bar (assuming you're using Firefox for development, and I sure hope you are).
    Regards,
    ~ Simon

  • Having a problem running jheadstart app and adf-faces-demo on wls 8.1 sp4

    I have created a very simple jheadstart app in Jdeveloper. Also I have created a project from the adf-faces-demo.
    I am now trying to run both applications on weblogic 8.1 sp4
    Both applications exhibit the same behavior. When trying to load the index page, the progress bar on the browser indicates that the page is loading (and stays there) and I don't see any error in the output log (except for the message:
    Oct 31, 2006 5:46:22 PM oracle.adfinternal.view.faces.application.ViewHandlerImpl _checkTimestamp
    INFO: ADF Faces is running with time-stamp checking enabled. This should not be used in a production environment. See the oracle.adf.view.faces.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
    Which I understand is harmless.
    I have done the following to try to make this work:
    Make sure that the application is compiled in JDK 1.4
    Add the recommend jlib, lib, and MyFaces jars to the classpath.
    Change the extension of the index page to jsp and change the web.xml to:
    <filter-mapping>
    <filter-name>demoRedirect</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    Any help would be greatly appreciated. Thanks.

    Alberto,
    I noticed you reported this on the JDev forum as well. Deploying ADF-Jhs apps is not different from deploying a plain ADF app, (apart from the Jhs Runtime lib that should be added to the .ear file), so please continue to use the JDev forum to resolve your problems.
    You also might want to check the section on WebLogic deployment in the ADF Dev Guide:
    http://download-west.oracle.com/docs/html/B25947_01/deployment_topics008.htm#CIHEGDAI
    Steven Davelaar,
    JHeadstart Team.

  • Attention to the apple developer, u need to check the issue about the iMovie which installed in an iPad 4th gen. Is having a problem during closing the app from the theater page to the home screen. It doesn't closes exactly severally...

    Attention to the Apple developer, the iMovie which installed to the iPad 4th gen. has a problem when it's opened at the theater page it frequently couldn't be closed down to the home screen. The app page is actually blinking and cannot tap onto anything..

    Thanks for the swift reply, I have been looking online and a loose plug seems to be somewhat of an issue with many, I hope mine is actually a problem and not what others are experiencing. It's taken me this long to even reach out for the simple fact I HATE being a complainer but this is just horrible.
    Do you have an iPad 3 as well? And is yours not experiencing any issues close to mine?
    Thanks again!

  • I am having a problem running a script

    I am trying to put the code below in which works but not on my local webpage that I am building. Can anyone help. My Computer says that there is a runtime error.
    Thanks,
    David
    <html>
    <head>
    <!--Step 1: Add the below SCRIPT to the head of your page:-->
    <script type="text/javascript" src="spinmenu.js"></script>
    </head>
    <body>
    <p>Example Spin Menu:</p>
    <!--Step 2: Add the below SCRIPT to the body of your page where you want it to appear:-->
    <script type="text/javascript">
    3D Spin Menu- By Petre Stefan (http://www.eyecon.ro) w/ changes by JK
    Visit JavaScript Kit (http://www.javascriptkit.com) for script
    Keep this notice intact!
    eye.isvertical = 0; //if it's vertical or horizontal [0|1]
    eye.x = 150; // x offset from point of insertion on page
    eye.y = 0; // y offset from point of insertion on page
    eye.w = 150; // item's width
    eye.h = 30; // height
    eye.r = 100; // menu's radius
    eye.v = 20; // velocity
    eye.s = 8; // scale in space (for 3D effect)
    eye.color = '#ffffff'; // normal text color
    eye.colorover = '#ffffff'; // mouseover text color
    eye.backgroundcolor = '#0099ff'; // normal background color
    eye.backgroundcolorover = '#990000'; // mouseover background color
    eye.bordercolor = '#000000'; //border color
    eye.fontsize = 12; // font size
    eye.fontfamily = 'Arial'; //font family
    if (document.getElementById){
    document.write('<div id="spinanchor" style="height:'+eval(eye.h+20)+'"></div>')
    eye.anchor=document.getElementById('spinanchor')
    eye.spinmenu();
    eye.x+=getposOffset(eye.anchor, "left") //relatively position it
    eye.y+=getposOffset(eye.anchor, "top") //relatively position it
    //menuitem: eye.spinmenuitem(text, link, target)
    eye.spinmenuitem("JavaScript Kit","http://www.javascriptkit.com");
    eye.spinmenuitem("Free JavaScripts","http://www.javascriptkit.com/cutpastejava.shtml");
    eye.spinmenuitem("JS Tutorials","http://www.javascriptkit.com/javaindex.shtml");
    eye.spinmenuitem("Advanced JS Tutorials","http://www.javascriptkit.com/javatutors/");
    eye.spinmenuitem("DHTML/ CSS Tutorials","http://www.javascriptkit.com/dhtmltutors/index.shtml");
    eye.spinmenuitem("Web building tutorials","http://www.javascriptkit.com/howto/");
    eye.spinmenuclose();
    </script>
    <p align="left"><font face="arial" size="-2">This free script provided by<br>
    JavaScript Kit</font></p>
    </body>

    Try it with Netscape/MOzilla. They have good javascript console to help spot a javascript error. Target a new window to the peseudo-URL "javasript:"

  • Having a problem running flowplayer pausing all the time on live stream webcast

    On multiple occasions, I have attempted to watch live internet webcast that uses "flowplayer" ...when the webcast starts to play, every few seconds ther is a pause and when it begins to play again it has skipped some of the content

    Nudge?
    Surely I cannot be the only person with this issue?
    Cheers
    Paul

  • Problem running Web Service that uses OracleXMLSave on Oracle AS 10.1.3

    I am trying to deploy a Web Service that uses OracleXMLSave. The service was built in Jdeveloper 10.1.3 and is deployed to 10gR3 AS. I have all the utitlites available from the 10g Production XML Developers Kit installed . The code compiles and generates correctly . I then deploy to an EAR file that inlcudes the applicaiton code and also all the XDK libraries . No problems so far. But when I run the app, I get an exception like the one below. It says it can't find XMLType . The funny thing is that this library (xdb.jar) and all other related libraries are there in the EAR file . In fact the class loader seems to see it because the exception says that it is there (see text below).
    I have added all the libraries from XML Developer kit like xdb.jar , xsu12.jar , etc. I have also verfieid that the files are selected in the WebServices.deploy file and also present in the EAR file . (See full list below the eror message below. ).
    It looks like for some reason the class loader can't load the class even though it seems to know that the class exists in the path.
    Been sweating on this for a while (probably staring it at too long :) and would really appreciate some help.
    This is the exception thrown when the OracleXMLSave Class is called for the first time.
    Missing class: oracle.xdb.XMLType
    Dependent class: myXML.DbXMLSave
    Loader: TEAMWEBSERV.web.WebServices:0.0.0
    Code-Source: /D:/OracleAS10gR3/j2ee/TEAMWEBSERV/applications/TEAMWEBSERV/WebServices/WEB-INF/classes/
    Configuration: WEB-INF/classes/ in D:\OracleAS10gR3\j2ee\TEAMWEBSERV\applications\TEAMWEBSERV\WebServices\WEB-INF\classes
    The missing class is available from the following locations:
    1. Code-Source: /D:/OracleAS10gR3/j2ee/TEAMWEBSERV/applications/TEAMWEBSERV/WebServices/WEB-INF/lib/xdb.jar (from WEB-INF/lib/ directory in D:\OracleAS10gR3\j2ee\TEAMWEBSERV\applications\TEAMWEBSERV\WebServices\WEB-INF\lib)
    This code-source is available in loader TEAMWEBSERV.web.WebServices:0.0.0.
    2. Code-Source: /D:/OracleAS10gR3/j2ee/TEAMWEBSERV/applications/TEAMWEBSERV/WebServices/WEB-INF/classes/ (from WEB-INF/classes/ in D:\OracleAS10gR3\j2ee\TEAMWEBSERV\applications\TEAMWEBSERV\WebServices\WEB-INF\classes)
    This code-source is available in loader TEAMWEBSERV.web.WebServices:0.0.0.
    [oracle.classloader.util.AnnotatedNoClassDefFoundError]
    List of libraries :
    <list n="exportedReferences">
    <hash>
    <value n="id" v="Dms.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Log4j-1.2.9.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Mail.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="NetComponents.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Oc4j.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Ocrs12.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Ojdbc14dms.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Ojdl.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Oraclexsql.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Orai18n.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="ADF Model Runtime"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="ADF Model Generic Runtime"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Oracle XQuery"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Oracle XML Parser v2"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Oracle JDBC"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Oracle SOAP"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Dms.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Log4j-1.2.9.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Mail.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="NetComponents.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Oc4j.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Ocrs12.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Ojdbc14dms.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Ojdl.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Oraclexsql.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Orai18n.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xdb.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xml.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xmlmesg.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xmlparserv2.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xschema.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xsu12.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Classgen.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Jdev-rt.zip"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Oraclexsql.jar2"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Transx.zip"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xdb.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xml.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xmlcomp.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xmlcomp2.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xmldemo.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xmlmesg.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xmlparserv2.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xschema.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xsqlserializers.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xsu12.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Orai18n.jar2"/>
    <value n="isJDK" v="false"/>
    </hash>
    </list>

    Well I got the EJB lookup working but only when I changed the Provider Url to the pre-10.1.3 format e.g. ormi://someserver:12421/someapp and used jazn.com/oc4jadmin as the username. After reading the online documentation, I didn't think this should work!
    Another issue I am having is casting a datasource returned from a JNDI lookup for a datasource. We used to do the lookup in the code and cast to an OracleDataSource. Now it is throwing a class cast exception to ManagedDataSource. Is there a quick and easy solution to this? I really don't want to have to go into the code and change this cast so it'd be great if we can get this working without changing code. This code has been working in a prod environment for two years now on 9.0.3 -> 9.0.4...

  • Urgent: problem running reports in Oracle 10g application server

    Hi all,
    our problem is that we deployed a jsp report as Ear file in Oracle 10g application server in infrastructure node.deployment says successfull.when we try to run that report it says 401 unauthorised.while sending request we are passing the database username,password &sid is this correct or any configuration setting to be done to make it run.
    one morething normal jsp works fine.when we run reports jsp it gives the above mentioned 401 error.

    hello,
    when you deploy reports JSPs they still require the reports specific componentes (e.g. TLD file, classes, ...) etc be available. i doubt that's the case in your ear file.
    thanks,
    ph.

Maybe you are looking for