Help changing a run continuously VI into a run once

Hi,
I know that I am probably going to invoke the wrath of the labview gods with this request by not going through my tutorials again but I am unfortunately stuck and
getting a bit of a brain freeze on this one.
I have a VI for a flow meter, that runs perfect when I hit run continously but I need to add this to another VI that just runs once so I am trying to convert. 
I have had previous suggestions in another thread to replace the for loop with a while loop. Add a Stop button on the front panel and wire it to the Stop it True terminal in the loop.
Move the Waveform Chart and Flow Rate terminals inside the loop. I have done this but the VI does not run correctly, the dial just keep accumalating/adding and not resetting.
Any alternate approaches that I can try would be greatly appreciated.
Thank you.
Attachments:
Flow Meter 2.vi ‏56 KB

I tried to do some cleanup and got away from that stupid Express VI.  Your loops really should be combined otherwise you have one nasty race condition with your local variable.  I also found a nice property node for the counter to reset its count.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Attachments:
Flow Meter 4.png ‏41 KB

Similar Messages

  • Clips do not run continuously in iMovie 11

    I have iMovie 11 and when I capture clips, iMovie 11 separates clips that are meant to run continuously (my grand-daughter singing a song). How can I get these clips to run continuously ? I am running iMac 10.9.2

    I see that your camera is not listed as supported by iMovie 9 (= iMovie '11) (http://help.apple.com/imovie/cameras/en/index.html?lang=en_US) so problems with import aren't entirely surprising.  Evidently your video is being split up somewhere during the transfer into multiple files, unfortunately with gaps, rather than a single file.   I don't think iMovie will ever split a file into smaller parts during import - at least I've never heard of this happening.
    You say "The camera is connected to an external hard drive that I daisy wheel with a connection from external hard drive to the iMac firewire port."  So you are transferring video from the camera to a hard drive via firewire as a first step then connecting this drive via firewire to your Mac - correct?   Presumably you can see that there are multiple files on the drive - or is there only one at this point?.   Even if a second attempt to transfer more directly as suggested by the surrey friends does not result in a single file the gaps might be in different locations and you may be able to piece together a complete movie from overlapping pieces.   I don't have any experience in using videotape camcorders so I'm not sure I can help much further.
    Best of luck!
    Geoff.

  • Running Discoverer reports into portal using SSO portal login - help

    Hi,
    I am trying to run disco reports into oracle portal using discoverer portlet providers -list of worksheet. What I want to achieve is as follows
    1) login to portal using SSO userid /pwd - Done
    2) Enable discoverer for SSO - Done
    *3) Use discoverer list of worksheets to show reports into portal but want to filter the list of worksheet to currently logged in portal user. This so that users looged in only sees the reports to which they have access in discoverer - Need Help*
    *4) Once user runs this report then I want to filter the discoverer data based on users login or portal group - Help*
    Can someone please help with issue no 3/4 urgently.
    Mant thanks
    Ganesh

    Hi Michael,
    Assuming I have created the private connections using CAPI I still have my doubts as follows
    Do I have to then login as each portal user and add the list of worksheet portlet for each user and selecting
    "check the box called Display a different list of worksheets by allowing users to customize database connection and then check Show a default list of worksheets using connection, changing the connection to user's connection."
    Considering we have 500+ users this will be huge cumbersom task for me.
    Also when I tried to do this before loggin as each portal user when I logged in as second portal user I could see the list of worksheet portalet added by the first user which means I have to edit it but even that was not possible because it would not let me edit as only the page own whi created the portlet was allowed to edit (that is the first user)
    OR
    Do you have to give portal user permission to edit the page so that they can log on themselve to add the list of worksheet portlet on the page by selecting their private connection and selecting
    "check the box called Display a different list of worksheets by allowing users to customize database connection and then check Show a default list of worksheets using connection, changing the connection to user's connection."
    Finally I know someone has made it work using URL links and it works as follows
    1) Map the portal and disco user into a table
    2) Create disco private connections
    3) when portal user loggs in and click on "Show my discoverer report" it then runs a PL/SQL package which in turn identifies the private connection details and creates a URL out of it as follows
    [http://portal.ccm.ac.uk/discoverer/app/partialConnect?password=IRTIMUDV123_=qplus=VDUMITRI=browser_selected=connect=RELATIONAL=QPRIS=viewer]
    clicking on this link open discoverer with private list of workbook/worksheet.
    Please advise which way should I follow.
    Thanks
    Ganesh

  • Not able to open PDF or do any changes even if the PDF opens. Run Time Error is shown every time when trying to open PDF. Please help

    Hi,
    Not able to open PDF or do any changes even if the PDF opens. Run Time Error is shown every time when trying to open PDF. Please help

    Hi Shilpa ,
    Please refer to the following link and see if that helps you out.
    https://helpx.adobe.com/acrobat/kb/runtime-error-roaming-profile-workflows.html
    Are you trying to access the PDF with Acrobat or Adobe Reader?
    Regards
    Sukrit Dhingra

  • Color issue with pdf from Indesign. I have a special cmyk mix for a bcard in Indesign. When I export the pdf the cmyk mix has changed Just started today 1.13.15 Running Yosemite 10.10.1 Any help on what to look for would be greatly appreciated.

    I have a special cmyk mix for a bcard in Indesign. When I export the pdf the cmyk mix has changed Just started today 1.13.15 Running Yosemite 10.10.1 Any help on what to look for would be greatly appreciated.

    Thank you Peter. Someone else must have been on my computer because I do not change the settings. You pointed me in the right direction.
    Thanks again.
    Patrick

  • Mac Mail Issue: I was having trouble sending to hotmail accounts from my Earthlink account, they had me go into Mac Mail preferences and make changes, now Mac Mail doesn't work AT ALL - any help changing the settings back to correct Mac Mail settings? I c

    I was having trouble sending to hotmail accounts from my Earthlink account, they had me go into Mac Mail preferences and make changes (because they claimed it was Mac Mail's fault, even though the hotmail error code said it's because Earthlink is blocked by hotmail), now Mac Mail doesn't work AT ALL - any help changing the settings back to correct Mac Mail settings? I can provide a transcript of the entire tech chat session, if that will help...

    both apostrophes are used correctly, thanks
    doesn't = does not (this is called a contraction)
    it's = it is
    Mac Mail's fault = possessive
    any help with the actual issue? thanks!

  • Can you run continuous queries via Java Extend

    I currently am access a Coherence cluster via a Java Extend proxy. All seems fine but I do not see any events coming back from a CQ. I do when using a simple cache listener though. Does Extend support CQ's or am I doing something stupid? The code is attached below.
    thanks
    Mark
    System.out.println("Running continuous query ...");
    System.out.println(queryStr);
    System.out.println(filter);
    MultiplexingMapListener listener = new MultiplexingMapListener() {
    public long evtNum = 0;
    public void onMapEvent(MapEvent evt) {
    System.out.println("Cache event [" + (++evtNum) + "]");
    if (displayResults) {
    System.out.println(" Details: " + evt);
    try {
    Thread.sleep(delay);
    } catch (InterruptedException ex) {
    Logger.getLogger(Main.class.getName()).log(Level.INFO, null, ex);
    ContinuousQueryCache cqc = new ContinuousQueryCache(cache, filter);
    Set results = cqc.entrySet();
    System.out.println("Initial results returned [" + results.size() + "] rows");
    if (displayResults) {
    for (Iterator it = results.iterator(); it.hasNext();) {
    Object object = it.next();
    System.out.println(object);
    System.out.println("Adding listener ...");
    cqc.addMapListener(listener);
    while(1==1) {
    try {
    System.out.println("CQ waiting ...");
    Thread.sleep(10000);
    } catch (InterruptedException ex) {
    }

    Mark,
    It appears somehow that you have an old version of MapEventFilter (from pre-3.5). In version 3.5, we changed from using evaluate() to evaluateEntry().
    Old:
    // evaluate the filter
    switch (nId)
        case MapEvent.ENTRY_INSERTED:
            return filter.evaluate(event.getNewValue());
        case MapEvent.ENTRY_UPDATED:
            // note that the old value evaluation is deferred, because
            // the event itself may be deferring loading the old value,
            // e.g. if the event is coming from a disk-backed cache
            boolean fNew = filter.evaluate(event.getNewValue()); // *** Line 178 !!!
            switch (nMask & (E_UPDATED_ENTERED | E_UPDATED_LEFT |
                             E_UPDATED | E_UPDATED_WITHIN))
                case E_UPDATED_ENTERED:
                    return fNew && !filter.evaluate(event.getOldValue());
                case E_UPDATED_LEFT:
                    return !fNew && filter.evaluate(event.getOldValue());
                case E_UPDATED_ENTERED | E_UPDATED_LEFT:
                    return fNew != filter.evaluate(event.getOldValue());
                case E_UPDATED_WITHIN:
                    return fNew && filter.evaluate(event.getOldValue());
                case E_UPDATED_WITHIN | E_UPDATED_ENTERED:
                    return fNew;
                case E_UPDATED_WITHIN | E_UPDATED_LEFT:
                    return filter.evaluate(event.getOldValue());
                default:
                    // all other combinations evaulate to the same as
                    // E_UPDATED
                    return fNew || filter.evaluate(event.getOldValue());
        case MapEvent.ENTRY_DELETED:
            return filter.evaluate(event.getOldValue());
        default:
            return false;
        }New:
    // evaluate the filter
    switch (nId)
        case MapEvent.ENTRY_INSERTED:
            return InvocableMapHelper.evaluateEntry(filter, event.getNewEntry());
        case MapEvent.ENTRY_UPDATED:
            // note that the old value evaluation is deferred, because
            // the event itself may be deferring loading the old value,
            // e.g. if the event is coming from a disk-backed cache
            boolean fNew = InvocableMapHelper.evaluateEntry(filter, event.getNewEntry());
            switch (nMask & (E_UPDATED_ENTERED | E_UPDATED_LEFT |
                             E_UPDATED | E_UPDATED_WITHIN))
                case E_UPDATED_ENTERED:
                    return fNew && !InvocableMapHelper.evaluateEntry(filter, event.getOldEntry());
                case E_UPDATED_LEFT:
                    return !fNew && InvocableMapHelper.evaluateEntry(filter, event.getOldEntry());
                case E_UPDATED_ENTERED | E_UPDATED_LEFT:
                    return fNew != InvocableMapHelper.evaluateEntry(filter, event.getOldEntry());
                case E_UPDATED_WITHIN:
                    return fNew && InvocableMapHelper.evaluateEntry(filter, event.getOldEntry());
                case E_UPDATED_WITHIN | E_UPDATED_ENTERED:
                    return fNew;
                case E_UPDATED_WITHIN | E_UPDATED_LEFT:
                    return InvocableMapHelper.evaluateEntry(filter, event.getOldEntry());
                default:
                    // all other combinations evaluate to the same as
                    // E_UPDATED
                    return fNew || InvocableMapHelper.evaluateEntry(filter, event.getOldEntry());
        case MapEvent.ENTRY_DELETED:
            return InvocableMapHelper.evaluateEntry(filter, event.getOldEntry());
        default:
            return false;
        }It's theoretically possible that we have shipped the wrong version, so I'll check into that. In the meantime, please check and double-check your classpath and make sure that you do NOT have tangosol.jar anywhere! (Everything is now in Coherence.jar.)
    Peace,
    Cameron Purdy | Oracle Coherence
    http://coherence.oracle.com/

  • Import queue running continuously

    Hi,
    I have released one change request from Dev Server. When i am importing the same in Quality System, after importing the truck button is still there. When i am refreshing the imoprt queue in the Quality server the import status Meter is running continuously.
    The status meter is not ending and the Truck symbol is not going.
    Please help me to find out the solution.
    Regards,
    Praveen Merugu

    Hi Praveen,
    Here we also faced the same problem once. That time one of our onsite basis killed the process through the OS level and restarted the import again.
    Options:
    1) check whether u can kill the process and restart the import again.
    2) check whether the tp is running properly or not. if not replace the tp with the back up and restart the import.
    3)Sometimes on its own it will complet after a long time just wait for some more time so that it completes on its own.
    Bye
    Suresh
    Reward me with points if my options work out.....

  • My photo IPOD will not run continuously

    IPOD is plugged into AC outlet using apple's own adaptor yet it keeps shutting off (usually after 12 hours or so). I want it to run continuously the same as my radio receiver. I have tried 2 different adaptors. Help?
    Ryan.

    Do you mean it is connected to speakers and headphones and playing music? Or is it just charging?

  • How do I stop my fan running continuously?

    My fan runs continuously and is very noisy.  I have reset the SMU but the problem persists.

    Hello
    first question to ask is , why my fan run continuously ?
    try use Apple Hardware Test software to answer , could be a temperature problem , fan problem , temp sensor problem ..
    AHT is locate into your original grey CD , try run and report any error may help to understand your problem
    AHT could be run to hold on at start up "D" key on keyboard , depend on your imac model / system version
    HTH
    Pierre

  • Fan Runs Continuous​ly

    My fan started running continuously after using the computer to stream a movie to HDTV via an HDMI port. I loaded SpeedFan and my temps are not high (40-48 C).  Customer support had me update WinFlash, reinstall power management, and install ICH9 Chipset.  This didn't work.  There's no dust in the way.  Any ideas?  Thanks.
    This question was solved.
    View Solution.

    Hello,
    Are you saying that after this the FAN runs all the time now?
    You can change the "fan always on " setting in F10 Setup..
    Just hit F10 when you see the HP logo on startup and make the changes..
    This will depend on what model you have
    I am an HP employee.
    "Did my response help with your issue? If so, please give me Kudos by clicking the "Kudos" button or mark the post that solved your problem as the Accepted Solution. Thanks!"

  • Follow-UP Material Functionality  into MRP Run

    Hi
    i wanted to just know anout the Functionality of Follow up material into MRP run .
    how it would be help in case of MRP run , if i will use Follow-up Material.
    Rgds
    Pankaj Agarwal

    Hi
    i wanted to just know about the Funtinality of Follow up material into Specialy MRP run.
    Whether system will consider the parrallal Material Stock and Open PO if we are considering the
    A (1 nos) FG is having X (1 nos) Material  is current part and Y is followup material for the Same with Indicator 1.
    Suppose X-200 nos and Y -700 nos (Open PO also 200 nos)
    then after MRP run suppose for A  FG requirment is 1500 than is system will consider the Y-700 + Y-200(Open PO) and give the PR for X is only 400.
    Regards
    Pankaj Agarwal

  • TS4425 when trying to access photo stream on Apple TV, I am getting the error message terms and conditions have changed, but when I go into iCloud on my Mac the new terms and conditions are not appearing - How can I manually agree to them ?

    When trying to access photo stream on Apple TV, I am getting the error message terms and conditions have changed, but when I go into iCloud on my Mac the new terms and conditions are not appearing - How can I manually agree to them ?

    Welcome to the Apple Community.
    The following article(s) may help you.
    Photo Stream ToU's

  • How can I do to acquire and save date in the same time and in the same file when I run continual my VI without interrupti​on.

    I've attached a VI that I am using to acquire amplitude from Spectrum analyzerse. I tried to connect amplitude ouput to the VI Write Characters To File.vi and Write to Spreadsheet File.vi. Unfortunately when I run continual this VI without interruption, labview ask me many time to enter a new file name to save a new value.
    So, How can I do to aquire and save date in the same time and in the same file when I run continual my VI for example during 10 min.
    Thank you in advance.
    Regards,
    Attachments:
    HP8563E_Query_Amplitude.vi ‏37 KB

    Hi,
    Your VI does work perfectly. Unfortunately this not what I want to do. I've made error in my last comment. I am so sorry for this.
    So I explain to you again what I want to do exactly. I want to acquire amplitude along road by my vehicle. I want to use wheel signal coming from vehicle to measure distance along road. Then I acquire 1 amplitude each 60 inches from spectrum analyzer.
    I acquire from PC parallel port a coded wheel signal coming from vehicle (each period of the signal corresponds to 12 Inches). Figure attached shows the numeric signal coming from vehicle, and the corresponding values “120” and “88” that I can read from In Port vi.
    So I want to acquire 1 time amplitude from spectrum analyser each 5
    period of the signal that I am acquiring from parallel port.
    So fist I have to find how can I count the number of period from reading the values “120” and “88” that I am acquiring from In Port (I don’t know the way to count a number of period from reading values “120” and “88”).
    Here is a new algorithm.
    1) i=0 (counter: number of period)
    2) I read value from In Port
    3) If I acquire a period
    i= i+1 (another period)
    4) If i is multiple of 5 (If I read 5 period)
    acquire 1 time amplitude and write to the same
    file this amplitude and the corresponding distance
    Distance = 12*i). Remember each period of signal
    Corresponds to 12 Inches).i has to take these
    values: 5,10,15,20,25,35,40,45,50,55,60............
    5) Back to 2 if not stop.
    Thank you very much for helping me.
    Regards,
    Attachments:
    Acquire_Amplitude_00.vi ‏59 KB
    Figure_Algorithm.doc ‏26 KB

  • I have a new Macbook Air and for the last few days the fan had run continuously, this is the first time it has ever run, and now it won't stop, the fan starts up as soon as I turn it on. The computer is not hot.Any ideas on how I can fix this please ?

    I have a new Macbook Air, 6 months old, and for the last few days the fan had run continuously, this is the first time it has ever run, and now it won't stop, the fan starts up as soon as I turn it on and the computer seems to running more slowy.The computer is not hot but I am worried it may burn out,.Any ideas on how I can fix this please ?

    Hello dwb,
    Here is the screen shot, just the top half, there are another 10 pages, but I guess this should enough for you to have an idea of waht is going on, bit small I am afraid. No, I don't have any apps setup to run when I open my computer, the kernel, varies between 290 and 305 per cent ish.
    Would that PRAM thing help ? I think it may be the computer itself, well something inside, as this the first time that the fan has ever started running since I have this computer, even when I have 3 or 4 apps running.
    Thank you again for your advice,
    Regard,
    Beauty of Bath

Maybe you are looking for