Clear memory of shift register after each run

hi
I am using a shift rergister in my Vi.I want to clear the shift register after execution of the Vi.Please help me in this 
Certified LabVIEW Associate Developer

HI again:
First i think that you should only acquire to an array. Check if all the data it's in the correct place.
Then you should check the graph. cause it might be only a visualization issue.
IF you want me to help you more, do me a small example  with offline data. So that i can run it here and see the problem happening. Then i will correct your code and send it to you again.
Tell me your labview version.
Software developer
www.mcm-electronics.com
PS: Don't forget to rate a good anwser ; )
Currently using Labview 2011
PORTUGAL

Similar Messages

  • How do I get my controls and indicators to clear after each run of the VI?

    I am using LabVIEW for my Senior Design Project in EET for Purdue University-Indianapolis. After each run of my VI, I want the controls and indicators to go back to their default state (cleared). I don't see an option for this. For example, I have a password VI that allows a user to log in. Once this sub-VI is rerun, the password from the previous user is still there. How do I clear this??? after each run???
    Thanks, D

    Use the property node and invoke node to clear.
    In your block diagram,
    Function Platte.
    >Application Control
    >>Invoke Node
    Then right click the invoke node..
    >From "select VI server class" option
    >>choose "VI"
    Then right click again
    >From "method" option
    >>choose reinitialize all to default
    That will reinitialize all your value to default
    if you want to reinitialize only your password to default then its simple
    right click the invokenode agian
    >From "link to" option
    >>Then link your invoke node to any control or indicators
    I attach one simple file for you
    Hope that will work..
    Saw
    Naing Aye(Maymaythar)
    Attachments:
    reinitialize.vi ‏14 KB

  • Waveform Graphs: Is there a way to save data to a file and then clear the graph after each run?

    This is just an added feature that I would like to insert because I end up having to erase the previous graph(for viewing and simplification purposes) after almost every plot cycle. Does LabVIEW 7.0 have a built-in feature that allows the user to automatically clear the graph after each run.
    Thank you,
    Keith Blackwell

    May I recall you that to clear a graph you have to create a property node,
    choose value and connect an 1D array with its first value to zero.
    Then using a Select vi enables you to choose from clear or graph value.
    Gérard
    Gérard Férini
    Switzerland
    http://home.tiscalinet.ch/gferini/
    remove -move to reply personally
    "Greg McKaskle" wrote in message
    news:xEmJc.43762$[email protected]..
    > > I went into the function pallette-->signal manipulation-->align and
    > > resample
    > >
    > > and found something that may be useful, but I'm not sure how to use
    > > it. I guess I have to play around with it by trial and error. Was this
    > > the VI seetting that you were referring t
    o?
    > >
    >
    > The option I was talking about is for the entire VI. It resets the
    > value of all indicators prior to running. The setting is located in the
    > VI Properties dialog on the execution page I believe. In the end, there
    > are multiple ways to get this to work, and if you want just a few
    > indicators to be reset, you want to use locals or control methods, but
    > th eVI Properties is a convenient way to get all indicators cleared at
    once.
    >
    > Greg McKaskle
    >

  • Reset of automatic scheculed Forecast Backround after each Run

    Hi Experts
    We have scenario where forecasting jobs are scheduled for Monthly Run through (MC8G) .Theses jobs are not reseting itsself for next month Run ,Untill Job is reset from status B to Null via MC8E.
    Kindly guide me why manual intervention is requiring each time.
    Thanks in advance
    Regards
    Upinder

    Hi Mario
    Thanks for your update ,we have also checked SDN thread dated 9th Aug 2011 and got below link :
    http://help.sap.com/bestpractices/BBLibrary/documentation/M06_BPP_22_EN_NO.doc
    Which states that :When a job has been scheduled and run, the job gets a status. This status needs to be reset before the job can run again
    Pls reaffirm our understanding that job status needs manual resetting after each auto run of  Creating production plan and mass transfer to demand management (Background job).
    Thanks in advance
    Upinder

  • My comp disappears after each loop

    Im still a beginner at AE but I feel i have a decent grasp on it, but I will probably murder all the termonology in explaining! :-)
    I created a short animation that loops smoothly.  I dropped that animated comp into another longer comp.  I enabled time remapping and the LoopOut property for the loop to loop inside this other comp (as instructed by tutorials). I stretched the bar in the timeline to the full length of this comp and my animation loops while inside this comp just as I wanted.
    The only difference is that when it get to the end of its first run, it blanks out then comes back.  It keeps doing this and its not consistant.  First it blacks out after the first 4 frames (which is the actual length of the original animation), then it does it after 8 frames, then 16 frames before it returns to the beginning and loops over again.
    I have this happen every now and then for reasons I dont understand but as i fiddle with things, I seem to fix it but cant understand why.  This one I just cant seem to get through and not sure what I am missing.  Hope I explained it well!!

    Time in AE is fluid and frames are sampled at the beginning of their duration. You are introducing tiny offsets somewhere that accumulate over time, resulting in those shifting patterns - after each cyle the rounding is just different, hence it seems to "grow". Make sure your tiem-remapping is exact and you do not introduce framrate mismatches.
    Mylenium

  • After I covered 250 miles I got the automated congratualtions, but now after every run I get the recorded message again saying I just covered another 250 miles. Can I reset or stop it without completly resetting everything?

    I run with the Nano and shoe sensor. After I covered 250 miles I got the automated congratualtions, but now after every run I get the recorded message again saying I just covered another 250 miles. Can I reset or stop it without completly resetting everything?

    Same issue here.  This is really disappointing.  I used to look forward to the milestone messages after each run, especially when I was surprised by a celebrity voice.  Now, it's the same thing every single time, "Congratulations on another 250 miles.  Way to go!" or something along those lines.  I was proud of the 250 mile mark, but please...I don't want to hear it every time! 
    I hope there's some movement on this issue.
    ~ Heather

  • Schedule line date changes after each MRP run

    Dear Experts,
    Clarification needed on how the system plans the MM schedule lines.
    Setting: Start in the past not allowed.
                  3 days for processing of order
    The issue is after each MRP run the system is moving the schedule line to the current date + 3 days for processing + the planned delivery time.
    If the schedule line is not firmed, after each MRP run ( which happens everyday) the system is moving the schedule line and then giving an alert saying the " order has to be rescheduled to the previous day"
    on the second day after the mrp run the system moves the schedule line again by one more day and gives the rescheduling date as " -2 days from today"
    this change is happening every day after the planning run. - because of this there are really no backorders ( schedule line in the past ) in the system. we were not able to know if the vendor is actually delayed in this case.
    can you kindly suggest what went wrong here ??
    we are using strategy 10 for the planning of procured parts. Let me know if more info is needed.
    Note: we are also using stock transfer process for some procured parts. there too the PR date gets changed after each MRP run. There there is no lead time in this case. the order is placed on the same day as the requirement as both plants are nearby. There the PR date is changing everyday to the current date.
    your advice would be of great help
    thanks
    Nagendra Kumar

    Hi Caetano,
    thanks for your suggestion
    Yes, we use firm zone for few of the vendors. there the system don't change the schedule lines.
    Also for the stock transfer PR's there is no firm zone and the lead time is one day. in this case it changes everyday after the MRP run.
    the stock transfer PR's leads to the creation of Schedule lines from the source plant. Since this PR gets changed everyday. the alerts coming out of MD07 gets changed and we really did not know if this order is delayed or not.  In the source plant we use the firm zone to avoid moving the schedule line. But then the alerts are always not correct.
    is there any setting which helps in not moving the PR everyday without using " start in the past"
    thanks
    Nagendra Kumar

  • How to schedule a job to run after completion of each run using DBMS_JOB ?

    Hi Gurus,
    Please let me know if the subject requirement can be fulfilled. I want to schedule a job using DBMS_JOB to run a script sequentially after completion of each run.
    Thanks in advance.
    Santosh

    Hi Santosh
    Instead to use the old dbms_job package use the dbms_scheduler and raise / catch events.
    Oracle create dbms_scheduler also for this purpose you need.
    You can find tons of examples on the web.
    Aurelio

  • After I run a query can I get it to return the number of files matched and each individual file name?

    After I run a query can I get it to return the number of files matched and each individual file name?  I am trying to do a data mining routine and this would be helpful. 
    BBANACKI

    Hi bbanacki,
    Please have a look at the following code:
    Define your queries and then:
    oAdvancedQuery.ReturnType=eSearchFile
    oMyDataFinder.Results.MaxCount = iMaxNumberOfReturndElements
    Call oMyDataFinder.Search(oAdvancedQuery)
    Set oMyResults  = oMyDataFinder.Results
    If oMyResults.IsIncomplete Then
      msgbox "The first " & str(oMyResults.Count) & " files found"
    Else
      msgbox str(oMyResults.Count) & "  files found"
    End If
    for iLoop = 1 to oMyResults.Count
      Cell.Text = oMyResults(iLoop).Properties("Name").Value
      Cell.Text = oMyResults(iLoop).Properties("fullpath").Value
    next
    Greetings
    Walter

  • How to quickly clear an array used in a shift register?

    Hello all,
    I'm sure this is a quick one, but I'm missing the concept.
    I have an array of boolean in a shift register. I have a case where I need to basically 'reset' the array rather than append to it....what is the best way to do this?
    Thank you,
    cayenne
    Solved!
    Go to Solution.

    stevem181 wrote:
    Of course, it is possible that my benchmark program is flawed.
    Yup, disable debugging and you will see that the inner FOR loop is folded in both cases and the time drops to about zero.
    Testing with debugging enabled is potentially unfair, because the reshaping will have more debugging code because there are more potential places to probe a wire, for example. All that said, I don't really know what's more efficient. That would require much more sophisticated testing. My point was just a reminder that there are always many ways to do things.
    (This is under LabVIEW 2012. Constant folding and dead code elimination of course differ between compiler versions)
    Granted, I typically don't use any of these two versions: I also omit the diagram constant, set the tunnel to "use default if unwired" and keep in unwired in the "clear" case. Less diagram clutter and quicker coding.
    Here's how it would look like.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    Folding.png ‏13 KB
    UseDefault.png ‏3 KB

  • When I open a photo with Preview, it opens all the photos I have viewed previously.  How can I prevent that, other than manually clearing the list after each time?

    When I open a photo with Preview, it opens all the photos I have viewed previously.  How can I prevent that, other than manually clearing the list after each time?

    Close the pictures before you quit Preview. Cmd-opt-q will close all windows and quit. cmd-opt-w will close all windows and not quit.
    Or, Disable automatically opening files that were left open in General System Preferences

  • How to avoid the double memory assignment for an array which I connected to the shift register?

    Hi,
    I need to read a big block of data into an array. When I stop the program and then restart, I hope  the program to use the previously load arrary instead of reloading it. So I put the initiat Data loading in a for loop (N =1) and connect the array to a shift Register. The problem here is it assigns memory twice,  for the initiator data loading and shift register. Is there any way to limit the memory assaignment to 1 since I only need one copy.
    Thanks.

    JWJ wrote:
    Since my original file is more than 2M and really comlicated, I just make a simple demo file to show my purpose.
    Your current code is way too confusing, so I assume that the full code makes more sense. The program is unusable because the main FOR loop gets locked in an inner loop that consumes all CPU doing nothing.
    I think that branching the main array into the (1) case structure and (2) inner while loop costs you an extra allocation. Here's a more reasonable way to do things. It elimiates the buffer allocation going into the case structure.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    DemoMOD.vi ‏11 KB

  • How to prevent the Firefox cache from clearing -- all settings are right, but the cache is gone after each restart.

    I want to prevent cache from being deleted after each restart. "Clear history when Firefox closes" is unchecked. User.js files are deleted. Checking "Override automatic cache management" made Cache folder appear in addition to Cache2. After exiting Cache is still there, but upon Firefox re-launching, Cache turns into Cache.Trash and promptly disappears. What to do?

    Hello,
    I'm sorry to hear that. Can you please try these solution to address your concern.
    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from [https://www.mozilla.org mozilla.org] (or choose the download for your operating system and language from [https://www.mozilla.org/firefox/all/ this page]) and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (or open the Firefox menu [[Image:New Fx Menu]] and click the close button [[Image:Close 29]]).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    More information about reinstalling Firefox can be found [[Troubleshoot and diagnose Firefox problems#w_5-reinstall-firefox|here]].
    <b>WARNING:</b> Do not use a third party uninstaller as part of this process. Doing so could permanently delete your [[Profiles|Firefox profile]] data, including but not limited to, extensions, cache, cookies, bookmarks, personal settings and saved passwords. <u>These cannot be easily recovered unless they have been backed up to an external device!</u> See [[Back up and restore information in Firefox profiles]]. <!-- Starting in Firefox 31, the Firefox uninstaller no longer lets you remove user profile data.Ref: Bug 432017 and https://support.mozilla.org/kb/uninstall-firefox-from-your-computer/discuss/5279 [Fx31] Windows uninstaller will no longer offer the option to remove personal data -->
    Please report back to say if this helped you!
    Thank you.

  • Any code for clearing container after interface run - UDF

    Hi All,
    I create a user simple UDF, and use it for two fields. In the first mapping I was populated all data in the <b>container</b> and it would be used by second field also. It has perfectly running.
    But my problem is that when I rerun the interface the container has populated same value which is I populated in the first time. I think <b>container</b> preserve of all the data after end of interface run.
    I want <b>container</b> has to be free after run the interface. There is any code for clearing <b>container</b> after interface run?

    Hi,
    That is strange. Container is initialized for every mapping and it is not persistent between mapping programs.
    Also, a quick note, why are you using Global Conatiner? from  Sp 14 onwards, you hava a separate java Section and Global Variables that can be used withing the mapping prorgram in different UDF's.
    please refer to this blog for the same,
    /people/sap.user72/blog/2005/10/01/xi-new-features-in-sp14
    Regards
    Bhavesh

  • Ipad not clearing memory after movie erased

    Ipad not clearing memory after movie erased. Any fixes out there?

    I did both a soft and hard reset. I just wanted to know if I am going to have to do this every week after my kid loads movies and erases them. It seems this is a major flaw in 7.03 and needs to be rectified.

Maybe you are looking for

  • Having Trouble Saving Itunes

    Okay heres the problem ive been having ever since i updated Itunes with the latest version, Itunes Doesn't seem to be save on my comp. Everytime i tried to open it i have to install it all over again the whole process(agreed to terms, search for mp3'

  • How to ungroup the grouped art items using VB Scripting?

    Hi, I need to ungroup the grouped items in Illustrator 10 using VB Script. Im able to get the count of group items. How to ungroup those items using VB Script.

  • Clean install with least amount of disk space?

    Hi, I just ordered a MBP 15", with a 128gb SSD. When it arrives, I'd like to do a re-install and select only the options/languages that are necessary for me. Is there a tutorial, or can you help me with some tips on making the footprint as small as p

  • Item groups query

    Hi all experts. I'm wondering if anyone could be so kind to help me with a query. I would very much like to se total sales amount (based on OINV) for each item group in my database. I'm fully able to get some figures by doing this query: SELECT disti

  • Filemaker Pro 5.5, with Tiger, records print twice

    I've used Filemaker since 1994, with OS and filemaker in early versions, and all was well, but suddenly, with Filemaker Pro 5.5, with Tiger, all the records print twice (a pain when hundreds of pages of labels print twice). It also happens in a test