Displaying progress of Vi while Vi is running

I have a subvi that is periodically measureing data at output and runs for 1000 measuremtn cycles.  I have on the front panle a cluster of measurements that when the subvi is running is updating correctly.  I want to pull this information to the calling vi so the operator can see what is occuring.
I searched help and the knowledge base and I do not find the answer.  
Is there an example that shows how to to do thia or do I have to pull the entire vi up to the main level. 
Solved!
Go to Solution.

I don't know if this will help you, but I will post it here for you
it seems like you are trying to send information from a subvi to your main vi.
Harold Timmis
[email protected]
Orlando,Fl
*Kudos always welcome
Attachments:
dataprogress.vi ‏8 KB

Similar Messages

  • Display Progress Indicator in the Run Time

    Hi All,
    How do display Progress Indicator in the Run Time for a JSF Page using ADF components?
    Regards
    Santosh

    I have similar problem.
    Basically my page do search in the database which takes some time. so when search starts I would like to display the progress indicator or some thing which will show some processging is going on in background. Once it completes the background processing, the same page displays the result. At this time I want to hide the progress indicator.
    Is there any way to do this. I am using EA17 with JDev.

  • Need help/advice/info on displaying progress msg in multithreaded MIDP

    So I have this kind of MIDlet:
    1. Using multi-threading feature to access remote web service/JAX-WS. The threads retrieve strings from GlassFish, connected to a MS SQL Server 2008 database.
    2. The retrieved strings are to be stored within the MIDlet's RMS. Done perfectly until this phase.
    3. The buggy thing is, WHILE the retrieving threads are alive/running and storing strings to RMS, I want to display some progress messages/bars to a Form by StringItem/TextField.
    So I thought- it may be caused by the thread deadlocks, but it's not. WITHOUT the RMS storing strings, it flows OK.
    (Because the progress msg alteration to the Form is done (I think) by my created threads, thus no deadlock occured.)
    But WITH the RMS operating, it freezes on the "Confirmation/Yes-No" Form right before I press the Yes button.
    Only when the whole threads are finished/terminated, it's then jumped to "Process Completed" Form.
    (I get the feeling it jumped to each progress msg by miliseconds RIGHT AFTER all threads are finished, then to "Process Completed"
    which is something I don't want to happen)
    So I'm wondering how to get around this prob? Whose thread is it that operating the RMS?
    Thanks.

    hi, i have an application which takes pretty long to
    run. The process basically consists of several sql
    statements. My idea was to display a message box just
    before the process starts saying something like "in
    progress... please wait". Anyway i created a message
    box using jdialog but the problem now is, it just
    displays and empty box, the message is displayed only
    when the process has finished running which is
    useless. if i use the msg box elsewhere, it runs just
    fine, only when it is placed before a block of long
    running code (e.g a very big loop) it just does not
    display the text.
    Can anyone please advise me on this issue, thanks!If you don't want to get into threads and things like that, try the following?
    1. Add some delay between the message box request and start of the query.
    Like
    for (int i = 0; i < 100000; i++) {} // you have to experiment with the limit. A second's worth should be enough to see if this makes any difference.
    2 Add the method repaint(); after the message request.
    3 Add the method repaint(); and delay after the message request but before the query request.
    LIke
    // message display request
    repaint();
    for (int i = 0; i < 100000; i++) {}
    // query
    What's interesting to me is that an empty box is drawn. So my guess is if enough time (a second say) is given, the message box will be drawn completely. (Of course, I'm not sure.)

  • Progress bar to update as script runs

    Hi, I'd like to have a progress bar being displayed as my script runs. I created a simple progress bar as follows:
    var win = new Window("palette", "SnpCreateProgressBar", [150, 150, 600, 260]);
    win.pnl = win.add("panel", [10, 10, 440, 100], "Script Progress");
    win.pnl.progBar = win.pnl.add("progressbar", [20, 35, 410, 60], 0, 100);
    win.pnl.progBarLabel = win.pnl.add("statictext", [20, 20, 320, 35], "0%");
    win.show();
                        while(win.pnl.progBar.value < win.pnl.progBar.maxvalue)
                                  // this is what causes the progress bar increase its progress
                                  win.pnl.progBar.value++;
                win.pnl.progBarLabel.text = win.pnl.progBar.value+"%";
                                  $.sleep(10);
        alert('Done!');
    win.close();
    Now, if I target the ExtendScript Toolkit, I can see the "animation" of the bar progressing. But If I target illustrator, I only see when it's at 0% and then it jump to 100%. Is there a way to update the information visually as the script progresses?
    Thanks!
    I'm running CS6 on mac.

    Hi,
    i was using the above code in my application but it is displaying the following message when i run it:
    Can you please help me out.
    Thanks
    Harsh    

  • Display Temporary wait message while host is processing

    Hi there,
    On my jsp, I'm calling stored procedure. That stored procedure would take enough time to execute and return resultset.
    Is it possible to display message on screen, while stored procedure is being executed at host? Also, this message should be displayed conditionally.
    Thanks in anticipation
    Edited by: google_me on Oct 23, 2009 4:03 AM

    Yes, you're guessing it right that I'm having hard time with Ajax. It seems like the control doesn't flow in linear order. :( .But now I can't go back. I think only the ajax function is what needs some adjustment
    Here is something I've put up with my little ajax knowledge (the ajax function which polls the progress of the update)
    function ajaxGetForamtStatus()
         var ClaimsKey = document.getElementById('ClaimsKey').value;
         var status = "Y";
         var responseData;
         while(status =="Y")
              var setProgressStatus = function(responseData)
                   if(responseData && responseData == "run")
                        status = "N";
              var ajax;
              if (window.XMLHttpRequest)
                   ajax=new XMLHttpRequest();
              else if (window.ActiveXObject)
                   ajax=new ActiveXObject("Microsoft.XMLHTTP");
              else
                   alert("Your browser does not support XMLHTTP!");
                   return;
              var url="../jsp/FormatStatus.jsp?ClaimsKey="+ClaimsKey;
              if(ajax.onreadystatechange)
                   status =  ajax.responseText
              ajax.open("GET",url,true);
         location.href =  '../jsp/DisplayResult.jsp?ClaimKey=' +ClaimKey + '&FirstTime=Y';
    }And here is the FormatStatus.jsp
    <jsp:useBean id="db" class="com.csc.pt.access.DbBean" scope="request" />
    <%@ page import="java.util.* "%>
    <%
    String usr = (String)session.getAttribute("User");
    String pwd = (String)session.getAttribute("Password");
    String env = (String)session.getAttribute("env")+"DAT";
    String ClaimsKey = request.getParameter("ClaimsKey");
    if(!db.isConnected())
         db.connect(usr,pwd, env);
    String returnValue="";
    String query = "Select 1 from BASPCL100 WHERE CLAIM = '"+ClaimsKey+"' FETCH FIRST 1 ROW ONLY";
    java.sql.ResultSet rs=db.execSQL(query);
    if(rs.next())
         returnValue = "wait";
    else
       returnValue = "run";
    if (db!=null) db.close();
    out.println(returnValue);
    %>As obvious, the ajax function gets caught in an infinite loop and the browser go to non-responding state.Please help me out.

  • I currently have one input but need to run two loops. I cannot get the two while loops to run so that they both pick up the same data, they are both picking up alternate samples. How can I get them to both pick up all of the values?

    The system I am trying to create calculates a number of values based on an input. I need to make the calculations and display the values for an entire production run and for each hour. The only way I know to do this is to create two while loops, one looking at all the values that are received and one looking only at the values for hour long periods.
    Any help would be great.
    Thanks
    RossH

    Why do you think that you have to have two loops to accomplish this task? Why not use one loop and accumulate the same data into two data sets based on the two sets of criteria?

  • How to display a modal message while processing in a thread.

    I have difficulty in display a modal dialog while in processing in a background.
    I have created the following class.
    package fedex.screen.component;
    import java.awt.*;
    // This infobox is a modal dialog which display static text and stay
    // on screen without blocking proceeding code from execution and can
    // only close by issuing close method.
    public class ProcessInfoBox implements Runnable
         // Display dialog box
         private InfoBox dialog = null;
         // Thread to enable showing of Dialog Box
         private Thread thread = new Thread(this);
         // Determine if to close dialogbox
         private boolean isFinish = false;
         public ProcessInfoBox(Frame frame) {
              dialog = new InfoBox(frame,"Performing Operation","Processing...");
    thread.setPriority(Thread.MAX_PRIORITY);
         public void setTitle(String title) {
              dialog.setTitle(title);
         public void setText(String text) {
              dialog.getMessageLbl().setText(text);
         // The reference return will be ProcessInfoBox.InfoBox
         public InfoBox getInfoBox() {
              return dialog;
         // Thread method
         public void run() {
              dialog.setVisible(true);
              // If true return from thread and exit.
              while ( isFinish == false )
                   try
                        Thread.sleep(500); // 500 msec
                   catch ( InterruptedException e )
         // Start showing dialog
         final public void show() {
              thread.start();
              isFinish = false;
         final public void hide() {
              isFinish = true;
              dialog.setVisible(false);
         // Dialog box which show text.
         public class InfoBox extends Dialog
              private Label messageLbl = new Label("Processing ...");
              public InfoBox(Frame frame, String title, String message) {
                   super(frame,title,true);
                   initInfoBox();
              public Label getMessageLbl() {
                   return messageLbl;
              private void initInfoBox() {
                   setLayout(new BorderLayout());
                   add(messageLbl,BorderLayout.CENTER);
                   setSize(250,150);
    FormUtility.centerForm(this);
         public static void main(String[] args) {
              Frame frame = new Frame("BigMac");
              frame.setSize(600,600);
              frame.setVisible(true);
              ProcessInfoBox box = new ProcessInfoBox(frame);
              box.show();
              for ( int i = 1; i < 10000; i++ )
                   System.out.println(i);
              box.hide();
    To test the code I used the following section to test
    The main method in the class is used. In the simple
    example, the message did correctly update itself while
    i is increment. However, when I try on more complex
    application, the message just stalk there without
    updating itself as it is hanging.
    I have try to set piority to highest but without effect.
    Is there anything to rectify the situation
    thank

    The "please wait" dialog is a modal dialog. When u
    show it, the following code can not executed!
    That's the problem

  • Presenter Display does not update current slide or run timer ...

    Hey - I'm a newbee, so forgive me is this is something obvious. When I run my presentation, the Presenter's Display does not update the current slide as the show progresses. Nor does the timer run. Nor are the notes displayed, even though I have checked all the appropriate prefs for all three. Help!

    Yes, AIFF or WAV should work. I've never tried importing a SDII file.
    A few more caveats, however:
    1) A Recorded Soundtrack (i.e. with the Builds and Transitions timed to the audio) may not play back properly in sync if the slideshow is created on one computer and played-back on another; the durations of Builds and Transitions are dependent on the processor speed of the playback computer. SO be sure to check your synchronization on the playback computer! You may need to make some adjustments.
    2) It has been reported in numerous threads in this Forum that Synchronizations also frequently fail when exported to other applications - especially when running OS 10.5.
    3) Synchronization also fails if the slideshow is played back as a hyperlink. I've found that slideshows will playback just fine if a "stand-alone" Keynote presentation. If linked to others via hyperlinks, however, you will have to trigger all Builds and Transitions yourself.
    All of these are known problems with Keynote and it's lamented implementation of audio.

  • Displaying progress monitor

    Hi there,
    I'm trying to display a progess monitor as a method runs. The problem is, I have no parent frame (I'm simply looking to display this progress monitor on screen by itself - like a JOptionPane message) However, I can't get anything to display:
    //...method code....
    ProgressMonitor progressMonitor = new ProgressMonitor(null,
                                      "Processing Array",
                                      "", 0, array.length);
           for (int i=0; i<array.length; i++){
           // do some processing on array
           progressMonitor.setProgress(i);
    progressMonitor.setProgress(array.length);
    // ...method continues...Am I trying to do the impossible?

    How to Use Progress Monitor:
    http://java.sun.com/docs/books/tutorial/uiswing/components/progress.html
    Or, maybe the problem is the you need to be using threads:
    http://forum.java.sun.com/thread.jspa?messageID=3375278

  • Not moving your MBP while HD is running???

    The instructions say not to move your MBP until the HD has spun down or damage could occur. That sort of defeats the purpose of having a portable computer. I have never seem such a warning before. How sensitive is the HD drive really? My wife just got a new MBP while I still have my old G4 system

    Well, it's not quite as silly as the warning label on Pop-Tarts: "Warning: Pastry Filling May Be Hot When Heated."
    I frequently move my MBP while it's running, the main care I take is to brace the display (which is pretty heavy on the 17").
    There's a Sudden Motion Sensor which will instantly park the heads if the motion is too severe.
    Hope this helps...

  • I just got v10.6, while trying to run the update, it's telling me that the file is corrupt and cannot be saved. What do I do?!

    I'm running Snow Leopard v 10.6 on a Macbook 4,1. I've got a 500 GB HD and 4GB of Ram. While trying to run the software update (to get me to 10.6.8, I think?) I keep getting an error message around 600 MB that says it's unable to be saved because the file might be corrupt and that it will try again when the software update is ran next time. Why am I getting this message? Is there a way to get the update (so I can eventually get to Lion), without going through the software update screen?
    I'm going crazy with this. I've tried 4 times now and still keep getting the same message.

    Try downloading the stand alone installer here:
    http://support.apple.com/kb/DL1399
    In Safari Preferences, General tab, set "Save downloaded files to: select destop, if it is not in thed rop down select other, then selcet Desktop from the left sidebar. After the download completes click on the installer package on your desktop and follow the prompts.
    Also if possible use an ethernet conection as it is less prone to interference, thus less prone to corruption, and usually faster.
    Hope this helps

  • While trying to run it show error message : "The application or DLL C:\Program Files\Mozilla Firefox\sqlite3.dll is not a valid Windows image. Please check this against your installation diskette

    Just updated firefox. While trying to run it show error message : "The application or DLL C:\Program Files\Mozilla Firefox\sqlite3.dll is not a valid Windows image. Please check this against your installation diskette." Tried to download and install new firefox, but it alway show that the file is corrupt
    == Today ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2)

    Do a clean reinstall and download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
    Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
    It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    You can skip the step to create a new profile, that is not necessary for this issue.
    See http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • Error message for Adobe AIR 2.0.3 while trying to run Dreamweaver CS5

    imac 2.66 Ghz, Intel Core i5, OS 10.6.4.
    Error message for Adobe AIR 2.0.3 while trying to run Dreamweaver CS5:
    Adobe Air
    the installation of this app is damaged. Try re-installing or contacting the publisher for assistance.
    Tried several times to uninstall and reinstall from fresh download to no avail.
    I'm finding the instructions in the trouble shooting area a tad esoteric.
    Will there be an update to the installer released soon?

    Hi,
    I'm assuming your having troubles installing the 2.0.3 runtime?  If so, can you please try the instructions in this post?
    Thanks,
    Chris

  • Error while trying to run reports

    Hello,
    I am getting the following error while trying to run/launch AIX based Ora. Apps 11.5.10.2
    $ rwbld60
    Error: Object "" does not have windowed ancestor
    Does anyone know what could be causing this?
    Thanks,
    Chiru

    Hi chiru,
    it seems to be some environment problem ????Hey Mitra,
    Thank you for the reply.
    It definitely is an environment related issue(that is what I am trying to find out)
    This is occuring in our DEV environment. It works fine in TEST and PROD.
    More than likely it is due to low resources in the DEV...but I figured some one would have seen it before....and would answer my question with a definite answer.
    Thanks,
    Chiru

  • Error While trying to run a servlet

    I am getting the below error while trying to run a servlet using tomcat.In this admin is a directory where I have a html file called admin.html which calls the servlet AdminServlet & replaces the url by /servlet/AdminServlet.
    HTTP Status 404 - /SPOT/admin/servlet/AdminServlet
    type Status report
    message /SPOT/admin/servlet/AdminServlet
    description The requested resource (/SPOT/admin/servlet/AdminServlet) is not available.
    For more details I am also copying the code from the admin.html file below.
    <script language=JavaScript>
    document.location.replace('../servlet/AdminServlet');
    </script>

    JavaScript != javareplace or redirect ??

Maybe you are looking for

  • Is this Possible? Stream Video File using Server or Encoder?

    Is it possible to stream a video file (.mp4) Live using the Flash Media Encoder or by placing the file in an app instance on a flash media streaming server? Thanks!

  • Swing performance win32 vs. linux

    Hello, I was written small java application, which contains objects of type Robot. Robot r1, r2, r3; every robot draws on one PaintPanel in one thread... On win32 platform is everything OK, but on linux it is sometimes very slow... I am using SwingWo

  • How to create OSA user

    Hi, I can't find any document where I can learn how to create an OSA user. Can you tell me how?, or tell me where to find any doc? I have tried Metalink and OTN. Thanks. Carlos

  • Apple TV video but no audio

    I get video but no audio.

  • How do i get adobe flash to work?

    i downloaded adone flash and i still cannot open anything on the web that requires it. How do i start using it?