Updating progress bar sent from sub vi

Hi,
I have been trying to update a progress bar, but have had no luck.  The progress bar is active when a sub vi is called.  It works fine in the sub vi, but I can't seem to create any kind of reference, output, or anything to get it to update in real time on the main vi.  Here is how the program is structured.  The main program calls a sub vi which reads user inputs.  These user inputs are them sent to an system exec.vi call.  While the system exec is runing, a while loop is executing, which is checking the size of the file that is being created.  The progress bar works fine in the sub vi, but when I wire it up to the main vi, it only shows the final completed status.  I tried creating a global variable, which updates in real time, but it still would not update on the main vi.  I am going crazy trying to figure this out, having spent 8 hours so far on it.  Please help.

Yes, I appreciate that but I was hoping for something more elegant than the attached.
Cheers
Duncan
Dennis Knutson wrote:
You do not create an indicator on the reference wire. The reference is not the value. You would simply create an indicator on the wire that is going to the value property.
Attachments:
Control Reference.llb ‏30 KB
Control Reference1.llb ‏30 KB

Similar Messages

  • Update progress bar from repeater events

    I have a component that uses a repeater to download and set information on a collection of items from the internet.  This can take a while, so I tried to set up a panel with a progress bar to provide some feedback.
    Problem is, when the repeater is executing, it apparently doesn't yield time so the progress bar can update. (?!)
    The end result is that the progressbar doesn't show anything until the repeater is done, at which point it shows the last value the repeater loaded.
    So, is there a way to get around this?  Can the repeater be triggered with timer ticks, instead of blindly looping?
    Scouring the docs, but nothing is showing, yet.  At worst case, I guess I can bag the repeater and just fetch the items in a timer driven loop, rather than use the repeater mechanism.  Would be a drag, but I need the progress bar to update.
    Any thoughts appreciated.
    rickb

    Changing to window made no difference.
    One solution is to show the document being built, now its hidden. Another would be to show the progress in a palette.
    I have never built a palette, is it possible to have a swf-file that triggers javascript?
    Is it possible to add buttons to the palette menu on the top right?
    But solving this would be the easiest...

  • Firmware update progress bar appears and computer won't start up

    Hi,
    I am on OS X 10.6 (the latest developer build, whose build number I can't remember and can't look up because my computer won't start up) and this morning when I tried to start up my computer, it chimed, the apple appeared but then a grey progress bar (like the one that appears during a firmware update) appeared at the bottom of the screen along with the customary spinner. This progress bar didn't update and after 10-ish seconds, it disappeared and left just the spinner. I left the computer in this state for 4 hours and nothing happened. It still starts up in single user mode (but I can't seem to get Open Firmware mode to load) and it starts Windows XP on another partition of my main HD.
    When I start it in verbose mode, it says that my catalog B-tree has keys out of order and it is unable to repair them. Also, I get an error message from launchctl: "Bug: launchctl.c:2033 (23930):17: auditquickstart() == 0". Then later on it tells me to convert a few system plist files to launchd (all in the /etc/mach_init.d/ folder). The very last line says "launch_msg(): Socket is not connected".
    I would rather not re-install the system, but if I have to, I guess I will. I appreciate any light that anyone can shed on this problem.
    Thanks,
    Kyle

    Yes, they (the third-party utilities) both come on bootable DVD's. As I mentioned, since Snow Leopard was just released in its final version, the developers may be in the process of releasing updates.
    Your situation is likely to be a case where the data corruption issue already existed before installing Snow Leopard, and the installation process made the problem more apparent (because something critical was installed where it was affected by the data issue).
    It is a good idea to run +Repair Disk+ in Disk Utility on the startup volume before installing a major system update. Actually, I do it before any system-level update.
    You should also have a backup (at least of your personal data if not the entire volume), in case something bad happens during a major system upgrade. If you were using Time Machine, the easiest recovery would be to reformat the internal drive and use the Time Machine complete volume restore utility to restore the volume back to the date/time state just before you installed Snow Leopard. Then, after restarting from that restored volume to make sure everything is working, start up from the Snow Leopard installation disc, run Disk Utility and use +Repair Disk+ (just to be sure), and run the upgrade to Snow Leopard again.
    If you have a backup of at least your personal data, you may want to reformat the internal drive, install Snow Leopard and bundled apps, install your third-party apps from their original sources, update everything that needs updating, and restore your personal data.
    If you don't have a backup, the best bet is to try either DiskWarrior or TechTool Pro. DiskWarrior is very specialized into repairing this type of data problem. TechTool Pro has similar capability, but it is a more general tool with other features.

  • 10.6.8 update - progress bar not smooth anymore :s

    Basically, after updating to 10.6.8 on my Macbook Air when I move a file over my Local Network over Wifi the progress bar jerks in increments now and doesnt smoothly increase.  I hopw Im explaining it well but it moves then stops for a few seconds, moves then stops for a few seconds.  Its not consistently moving.  It is also say 20 secs slower over a 2.5gb file than my Mini is using the 10.6.7 OS. 
    Any ideas anyone?

    Looking into this a little more, it seems that this is not wifi related as it does the same thing moving files to and from my external drive via usb.
    Could this be due to the new TRIM system with SSD's on 10.6.8 and the way it accessing the drive when moving/copying?
    Noone else get this on the Macbook Air 13inch 2010 128GB SSD drive?
    Thanks

  • Supress (Saves As) update progress bar

    I am using the SDK to perform a batch conversion of files from PDF to TIFF format -
    Everything is working great but......
    There is a progress bar that displays for each file as it is processed.
    Is there any way to turn off the display of the update bar ?
    Thanks.

    Okay , I have taken a look at the documentation on the Core API AVConversion et al and I have the following observations:
    1.       I now remember why I did not use AVConversion in the first place.
    2        The documentation is not altogether clear about how this particular feature works .
    3.       There are almost no examples of how to use this feature and how to get / set the various paramters and values associatexd with the Save As options.
    3.       Addtional help would be appreciated -
    4.       Is there any hope of asking for a tutorial  or a "how to" session on using the AVConversion method ?
    Thank You very much

  • P6 Professional R8.3 - (Overlapping/chaotic update progress bar)

    Hey folks,
    I've encountered another annoying thing/changes when updating progress, the progress bars that have been generated aren't consistent (presentation-wise) with the way it overlaps, as you can see from the the attached screenshots. http://s13.postimg.org/645vrepif/2_error.jpg  http://s22.postimg.org/7ywtt2241/3_error.jpg  http://s18.postimg.org/jx8ozaaa1/4_error.jpg
    If anyone knows the cause / solution to this problem, please advise. Many thanks in advance.

    What you are seeing is called “Retained logic”. It means that started activities are maintaining their relationship logic with their predecessors. In your schedule below you can see that the gap in your second structures activity is the same as the remaining work in the first activity, I assume the first is a predecessor of the second.
    The second activty is still behaving as a FS relationship, it cant start until the first activity is completely done (not just started). Thus it gets pushed out.
    You can fix this in a couple ways.
    Change the link between the two activities from FS to SS and reschedule
    Break the link between the two activites and reschedule
    Change you scheduling “Mode” by hitting F9, Options, “When scheduling progressed activities use”, Progress Override.
    I recommend the first option.

  • When I was updating my phone to iOS 5.1.1, the update progress bar just froze right at the beginning and I decided to switch off itunes after almost 2 hours of waiting and no movement. Now my phone's been wiped...

    and I've been forced to restore it back to factory settings cuz itunes did not show me a "restore from backup" option, progress bar still not moving.... it's been another hour....

    Well since nobody could really help with my situation, figured I'll write down what happened so it may help a few people in need. My restore freeze problem was solved by removing then reinstalling itunes again since I had an older version of itunes and was unable to update without doing so. The "restore from backup" option came back after the factory setting restore and for some reason the whole process only went smoothly when I tried doing it on another computer. Anyhow everything is back to normal now.

  • Updating Progress Bar

    During the response to a mouse click I want to update a progress bar. I can not get the progress bar to update. If I attempt to update both a progress bar and a slider the slider updates but the progress bar does not.
    code fragment
         class SymMouse extends java.awt.event.MouseAdapter
              public void mouseClicked(java.awt.event.MouseEvent event)
                   Object object = event.getSource();
                   if (object == startButton)
                        startButton_mouseClicked(event);
         void startButton_mouseClicked(java.awt.event.MouseEvent event)
              // to do: code goes here.
              // Increment the current values
                   doCalculations(progressSlider);
         public void doCalculations(HorizontalSlider hs){
                   try {
                        for(int i = 0; i < 5; i++){
                             Thread.sleep(1000);
                             hs.setValue(hs.getValue()+2);
                             progressBar1.updateProgress(progressBar1.getValue()+2);
                   catch(Exception e) { }

    In this code it is a custom class from Symantec (symantec.itools.awt.util.ProgressPar) but I get the exact same behavior using JProgressBar.
    marshall

  • 10.7.5 update progress bar "upgrading iCal calendars"

    I completed the 10.7.5 update on my MacBook Pro (2011) about ten minutes ago. Since then, after opening iCal, the progress bar "upgrading iCal calendars" has been sitting here. I do have a lot of historical calendar data, going back to 2003. Has anyone else had this problem? Will it finish if I let it go, or are my calendars already corrupt?
    I'm worried because I've had bluetooth/external speaker audio issues, followed some directions, tried to boot into safe mode, and wasn't able to (left the machine for 3 hours, progress bar stuck at about 25%).
    thanks,
    Kim

    After an hour, I tried to quit iCalendar. It was "application not responding," so I force quit, and got back in. In the title bar, it said it was updating, for maybe 45 seconds. Now it's fine and my historical data (stored locally) is there.
    I upgraded another machine, and the Updating progress dialog box appeared for less than a minute and then was fine.
    There's probably something underlying that's wrong with my main machine. Guess I'd better get on with cleaning up.

  • Where has the progress bar gone from the bottom of my form

    The progress bar has DISAPPEARED from the bottom of my forms. They are questionnaires so it is essential that I have them!
    Has the feature been removed or is it just a bug?

    It no longer appears for a one page form or on the last page of a multiple page form.
    Are you not seeing it on other pages of a multiple page form? Can you send a link to your form to [email protected] so we can take a look.
    Randy

  • No booting after 10.6.7 update : progress bar on grey boot screen

    Hello,
    I have a big problem with my 2006 Mac Pro.
    I have installed the 10.6.7 update and after the installation the computer shut down.
    Since this time, each time I power it on, i see the grey boot screen with a progress bar ... the hard drive stop spinning, the progress bar goes to 10 % and then to 0% ... after this the computer shut down ..
    Nothing to do ..
    Who knows this problem and how to solve it ?

    Ok it's good !
    I've find the solution : starting when holding the shift key !
    Have a good day !

  • 3rd Gen - goes into "updating" progress bar...

    My neice's shuffle won't work with itunes for some reason.
    it recognizes it, opens up itunes and goes into update mode forever - its been a year since it was updated -
    Problem is that it locks up the PC and never finishes - any help?

    you mite need to try another P.C. make sure that the P.C. meet the requirements

  • Progress Bar visibility issue

    I'm a bit of a newbie when it comes to components, but I'm
    hoping there's an easy answer that I'm simply missing.
    I have 4 nested files, the first and third of which are files
    that contain sections of loadable content (menu pages,
    essentially). I've followed some simple tutorials about how to make
    the progress bars disappear once a file completely loads and all
    seemed to be working fine when I previewed the third file (a
    sub-menu) in the chain, but when I previewed the first file (the
    main menu), the progress bars that were working as they should the
    third file are still visible once its respective files load.
    The error only seems to take place in the first file and only
    in relaton to the progress bars in the third file, although the
    parameters and actionscript for all the progress bars follow the
    same formula. Is there a reason why a progress bar that disappears
    in one file remains visible in a file further up the chain and if
    so, is there any way to correct this?

    Do While Me.txtProgress.Width <> FullLength
        Me.txtProgress.Width = Me.txtProgress.Width + 25
        PercentComplete = (Me.txtProgress.Width / FullLength) * 100
        Me.txtStatus.Caption = PercentComplete & " % Complete"
        Call Pause(Timing)
    Loop
    If Me.txtProgress.Width = FullLength Then
        Me.CmdClose.Enabled = True
    End If
        retval = SysCmd(acSysCmdSetStatus, "Connecting to previous Database")
    For Each tdf In dbs.TableDefs
        If tdf.Connect <> "" Then
        tdf.Connect = ";DATABASE=" & strDatabaseName & (";PWD=zujan")
        tdf.RefreshLink
    End If
        Next tdf
    Screen.MousePointer = 0
    Hi Anuj,
    What I see in your code is that you first have your progress bar run from 0 to 100%, and after that step through the TableDefs to connect.
    I assume you want to increase the progress bar during the connecting process. So you have to merge the two loops. First you count the total number of TableDefs (your 100%), and then increment Me.txtProgress.Width for each tdf in equal steps.
    Instead of building the progress bar on "each" form, you could also make a dedicated progress bar form. At the start of a loop you open the form, and assign the form to an variable of type form (e.g. progr_form):  Set progr_form = Forms("Progress_form").
    This form has the control txtProgress to display the progress bar, a (hidden) control with the maximum number of steps, and a (hidden) control with the current number of executed steps. After the update of this latter control (e.g. progr_form!CurrentCount
    = x), the width of the progress bars is recalculated. After finishing the loop, the form is closed.
    The advantage of a dedicated progress bar form is that you can use the same form for quite different progress displays, under quite different circumstances.
    Imb.

  • Progress bar conditional issue

    hi,
    I'm using the following code to two things. First, progress bar and second, database connection. Both process are working fine but, not simultaneously.
    Code:
    ================
    On Error GoTo Err_cmdDisconnect_Click
        Dim dbs As DAO.Database
        Dim tdf As DAO.TableDef
        Dim strMessage As String, strDatabaseName As String
        Dim retval
        Dim FullLength As Integer
        Dim PercentComplete As Integer
        Dim Timing As String
    Set dbs = CurrentDb()
    strDatabaseName = CurrentProject.Path & "\BE\" & Dbase
    If IsNull(Dbase) Then
        MsgBox ("Please select the database."), , "Error"
        Me.Dbase.SetFocus
    Exit Sub
    End If
        strMessage = "Are you sure to connect " & _
        strDatabaseName & " as the Auto Evolution database?"
    If MsgBox(strMessage, vbYesNo + vbQuestion, "Connection Confirmation") = vbNo Then
    Exit Sub
    End If
    If Dir(strDatabaseName) = "" Then
        MsgBox "The Auto Evolution database you have specified as the " & _
        "source was not found.", vbInformation, "Connection Error"
    Exit Sub
    End If
    DoCmd.Hourglass True
    'Declare timing
    Timing = 0.01
    'Declare the maximum length of the progress bar
    FullLength = 8050
    'Hourglass
    Screen.MousePointer = 11
        'Remove transparancy of progress bar
    If Me.txtProgress.Width <> 0 Then
        Me.txtProgress.BackStyle = 1
    End If
    Do While Me.txtProgress.Width <> FullLength
        Me.txtProgress.Width = Me.txtProgress.Width + 25
        PercentComplete = (Me.txtProgress.Width / FullLength) * 100
        Me.txtStatus.Caption = PercentComplete & " % Complete"
        Call Pause(Timing)
    Loop
    If Me.txtProgress.Width = FullLength Then
        Me.CmdClose.Enabled = True
    End If
        retval = SysCmd(acSysCmdSetStatus, "Connecting to previous Database")
    For Each tdf In dbs.TableDefs
        If tdf.Connect <> "" Then
        tdf.Connect = ";DATABASE=" & strDatabaseName & (";PWD=zujan")
        tdf.RefreshLink
    End If
        Next tdf
    Screen.MousePointer = 0
    DoCmd.Hourglass False
    retval = SysCmd(acSysCmdClearStatus)
    MsgBox "Auto Evolution database is now connected with " & _
            "'" & Me.Dbase & "'", vbInformation, "Connection Successful"
    DoCmd.Close acForm, Me.NAME
    Exit_cmdConnect_Click:
        Exit Sub
    Err_cmdConnect_Click:
        DoCmd.Hourglass False
        If Err.Number <> 2467 Then
        MsgBox ("Unable to execute database switch now."), vbCritical, "Error"
        Me.CmdClose.Enabled = True
        Resume Exit_cmdConnect_Click
    End If
    ===============
    Any help will be appreciable.
    Thanks & Regards, Anuj Mehrotra

    Do While Me.txtProgress.Width <> FullLength
        Me.txtProgress.Width = Me.txtProgress.Width + 25
        PercentComplete = (Me.txtProgress.Width / FullLength) * 100
        Me.txtStatus.Caption = PercentComplete & " % Complete"
        Call Pause(Timing)
    Loop
    If Me.txtProgress.Width = FullLength Then
        Me.CmdClose.Enabled = True
    End If
        retval = SysCmd(acSysCmdSetStatus, "Connecting to previous Database")
    For Each tdf In dbs.TableDefs
        If tdf.Connect <> "" Then
        tdf.Connect = ";DATABASE=" & strDatabaseName & (";PWD=zujan")
        tdf.RefreshLink
    End If
        Next tdf
    Screen.MousePointer = 0
    Hi Anuj,
    What I see in your code is that you first have your progress bar run from 0 to 100%, and after that step through the TableDefs to connect.
    I assume you want to increase the progress bar during the connecting process. So you have to merge the two loops. First you count the total number of TableDefs (your 100%), and then increment Me.txtProgress.Width for each tdf in equal steps.
    Instead of building the progress bar on "each" form, you could also make a dedicated progress bar form. At the start of a loop you open the form, and assign the form to an variable of type form (e.g. progr_form):  Set progr_form = Forms("Progress_form").
    This form has the control txtProgress to display the progress bar, a (hidden) control with the maximum number of steps, and a (hidden) control with the current number of executed steps. After the update of this latter control (e.g. progr_form!CurrentCount
    = x), the width of the progress bars is recalculated. After finishing the loop, the form is closed.
    The advantage of a dedicated progress bar form is that you can use the same form for quite different progress displays, under quite different circumstances.
    Imb.

  • Need very simple ''progress bar'' or a ''Please wait notice'' in javascript

    I have a JSF portlet app, made in JSC. It uses remote EJB calls and some calls take a long time to finish. E.g. User clicks a button, some data are gathered, sent to an EJB and the app. is waiting for reply.
    For the user it looks like this: Click ... Internet Explorer progress bar flashes, nothing happens for 30s, then the progress bar starts from zero again and loads the next page in 15s.
    So I need a very simple notice in the middle of the screen, that will just say "Take a break, don't click the button again, please! ... " and animate a clock, a bar or whatever, maybe disabling the window so the user will not be able to push buttons. (The users are annoying folk!)
    The message should dissapear as soon as the next (or the same) page loads.
    I've never did javascript, so if anybody has a simple example code, I will be grateful and give him a duke or two. (And I really don't need the AJAX super-components)

    Martin, best of luck, i fought this same problem last year.
    Even when I got a progress bar on my page, it would not "animate" as IE apparently does not animate gifs after a form is submitted (and before the page is destroyed). I think I eventually got around this by adding an onclick event to my form submit that reset the image.
    Best of luck.
    Ideally, is there anyway that we can get this IE behavior (page loads, waits for X times, page loads again correctly) fixed? This is highly confusing to my clients.

Maybe you are looking for