How to initialize the variables in the subvi when the main vi running?

Hi, friends!
Now I am working on a project with labview. I make a main vi  including many subvis.
When the main vi running, I want to reinnitialize the variables in the subvi to zero.
I know that I can realize that  using the local variable when I enter the subvi,
but I want to keep the the values when I left the subvi and saw them when I
click in this subvi again. So, I do not reinitialize the subvi when it runs. But, I
don not know how to reinitialize the indicators in the subvi when I run the main
VI in the first instance. I try to use the global variables, but it seems do not work
well. Would you like to give me some advice? Thanks a lot!

Hi dec,
      If I understand your question, try using the "First Call?" node in your Sub-VI - to initialize values the first time the VI executes every time the top-level VI is Run.
If this doesn't work for you, just post again!
Cheers.
"Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)

Similar Messages

  • How to show  an error Page in Weblogic when the server is down

    Hi ,
    I heard that every container has the facility to show an error page when the server is down and (when the request has arrived at that time ).
    Please tell me how to configure this in BEA weblogic ??
    Thanks .

    Hi,
    From my understanding weblogic dose not provide the thing which you are asking for, reason is given below.
    - An application is deployed only on managed server one (MS-1)
    - Now if the request comes to the server (MS-1) when it was running and then for some reason MS-1 goes down then weblogic server would be able to send any response back to the client as its down.
    - Hence nothing can be done as the request object is been lost when the server goes down or even cant redirect to an error page as for doing that too the server has to be up and running.
    However there are other way round which can help you overcome this issue as shown below
    - Use Clusters with few managed servers in it which gives you high availability and load-balancing.
    - Use any web servers like Apache in front of weblogic servers.
    Using the above things you can also use customized HTTP Error Responses with error-page element in web.xml and create your own error pages which can be re-directed for the web server side also. For more information go through the below links
    Topic: Customizing HTTP Error Responses
    http://download.oracle.com/docs/cd/E13222_01/wls/docs92/webapp/configurejsp.html#wp157884
    Topic: error-page
    http://download.oracle.com/docs/cd/E13222_01/wls/docs81/webapp/web_xml.html#1017571
    Topic: ErrorPage
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/plugins/plugin_params.html#wp1155425
    Hope above information helps you.
    Regards,
    Ravish

  • How can I flip my iphone videos on my PC? My videos from my iphone are horrible when I transfer them to my PC. How can I improve the video on my PC? Can I just convert the files to WMV? When the video plays the speed is off, it's half slow-motion

    My videos from my iphone are horrible when I transfer them to my PC. How can I improve the video on my PC? Can I just convert the files to WMV? When the video plays the speed is off, it's half slow-motion and staggers into normal play. The clips are slightly cut as well, the clips do not roll continuously.  I'm taling about videos that are no more than 2 minutes long.  I'm frustrated and I could really use some advice-my kids basketball games is what I'm recording and I'm trying to send them to my family (they are not very tech savvy). Thanks

    Not it's only function but one for which it was most admirably suited, which is why I really hope someone can find a work around. I am hoping my post to the Apple feedback may prompt a useful response from Apple and I live in hope that my post here will elicit a useful response from another user. I did not miss the the text at the top of the feedback form but you presumably missed my initial text, 'someone here can explain' or my subsequent 'work around from another user'
    Just in case anyone reading this has a large collection of music videos, video podcasts or iTunes U then DO NOT upgrade your iPad to iOS 5. If you are considering purchasing the iPad as a useful mobile device to experience these media organised in your iTunes please don't as you will be wasting your money. (unless someone on this forum knows of a way to undo the mess created by those infallible folks at Apple)
    Yes I know it does other things but the purpose I bought it for doesn't work anymore

  • How to get backed up data in iphone3gs when the phone is disabled

    how to get backed up data in iphone3gs when the phone is disabled

    can someone help? this is shaking my trust in icloud backups.
    i am on iOS 6.1.

  • HT201270 MORNING COMMUNITY, anyone know how to make the i4s forget a network - when the device won't give you that option?

    MORNING COMMUNITY, anyone know how to make the i4s forget a network - when the device won't give you that option?

    if you dont have the options to forget network you can reset your network settings, but than the device forget all networks
    settings > general > reset > reset network settings

  • Report Painter - disable the variable from being diplayed on the selection

    Hi guys,
    I' using variables Fiscal Year 1GJAHLJ  and Previous Year 1GJAHVJ in my report, but the variable 1GJAHVJ is  displayed on the selection screen as Current Year, which confusing the users who are running the report.
    Can I change the description of the variable (GS12 didnt work) or completely disable from being displayed on the selection screen.
    You input is very valuable.
    Thank you
    Regards

    Use 1GJAHR and 1GJAHVJ variables for Current Fiscal Yr and Previous Year respectively.
    1GJAHVJ ( = '&1GJAHLJ'-1) is a dependent of what you input as Current Year, therefore, no need to manually enter for previous year.

  • How can i close the preview in Adobe Viewer when the LINK ist fullscreen on my eMag? It will always go to URL and i can't open the summary.

    How can i close the preview in Adobe Viewer when the LINK ist fullscreen on my eMag? It will always go to URL and i can't open the summary.

    You have to change your page design so the link doesn't occupy the full screen of your content.
    Neil

  • How do you turn your ipod touch on when the screen says connect to itunes?

    How do you turn your ipod touch on when the screen says connect to itunes?

    You connect the iPod to your computer with iTunes and restore via iTunes.  If iTunes does not see the iPod try:
    iPhone, iPad, iPod touch: Device not recognized in iTunes for Mac OS X
    or
    iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows
    If iTunes asks for the passcode and you can't enter it or if iTunes does not see the iPod, manually placing the iPod in recovery mode and then restore. For recovery mode:
    iPhone and iPod touch: Unable to update or restore

  • How can I create a scrolling effect where when the user scrolls down the image will blur out?

    How can I create a scrolling effect where when the user scrolls down the image will blur out?

    Hi there,
    You can create a scroll motion where the image will fade out on scrolling, you need to use the Opacity tab under Scroll Effects Panel.
    If you particularly need the image to be blur out, then you need to edit that image in any image editing program and make one copy of that image as blurred, then place both images (actual and blurred) on that page and use scroll motion or fade option to replace images.

  • How can I know the amount of free RAM when my VI is running?

    I need to know the amount of free RAM when my VI is running.

    If you are using Windows NT/2000/XP, monitoring free memory is very easy. Simply right click on the task bar and open the Task Manager. Click on the Performance tab, and you'll be able to monitor the physical memory total and available on your PC.
    If you are using Windows 9X, you will have to add some optional resources. Open Control Panel, then select Add/Remove Programs. Click on the Windows Setup Tab, and select System Tools, then click the Details... button. Check the boxes to install System Monitor and System Resource Meter. Click OK, and you will be prompted for your Windows CD. Insert the CD and Windows will add the monitoring tools. You can then use them to watch your free resources.

  • How do you make a video automatically play when the user gets to a certain point/pixel?

    I'm trying to create a website with a video embedded in using the YouTube widget. I want the video to start playing when the top of the widget reaches the top of the screen, in this case at 400 pixels. Can anyone help? Thank you in advance!

    Provide the name of the program you are using so a Moderator may move this message to the correct program forum
    This Cloud forum is not about help with program problems... a program would be Photoshop or Lighroom or Muse or ???

  • Error message: File can't be opened right now because it's being used by another task, such as moving or copying an item or emptying the Trash. Try again when the current task is complete.

    I recently transferred some data from my external hard drive to my desktop, but there was an error transferring some of the files and it couldn't respond, and eventually i simply removed the external hard drive. However, the folder/files are still on my desktop, and when i try to move them or delete them, this error message appears:
    “-folder/file name-” can’t be opened right now because it’s being used by another task, such as moving or copying an item or emptying the Trash. Try again when the current task is complete.
    Since I removed the external hard drive before the files were finished transferring, there is no way for the current task to be completed. How can I resolve this and delete the folders/files from my desktop?

    I just managed to resolve this by going to the apple sign in the top left, choosing force quit (or you could do option+command+esc), then i chose finder, and i clicked relaunch. After relaunching finder, the error message doesn't appear anymore, and I could move these files/folders, and delete them just fine.
    Hope this will help other people who encounter similar problems in the future!

  • My friend found an iPhone 5 ; he plugged it in the computer willing to restore when the restore was succesfulhe was ready to set it up on his way to do it , icloud ask him for a password from certain email he doesnt know, is there any way you could skip ?

    my friend found an iPhone 5 ; he plugged it in the computer willing to restore when the restore was succesfull he was ready to set it up on his way to do it , icloud ask him for a password from certain email he doesnt know, is there any way you could skip this step or delete the accoun without putting a password down ?

    9EriickxD wrote:
    my friend did but they couldnt tell whose it was. now he/she just trying to restore it. But not knowing how to get rid off it 
    Turn it into the police.
    Your friend should not keep someone elses iphone without making every attempt to fget it to the rightful owner.

  • Does the iphone cpu frequency change when the cpu load is different?

    Does the iphone cpu frequency change when the cpu load is different, or it does not change, stay a fixed frequency? if it changes, how can i get the realtime cpu frequency?if anyone knows,please tell me, thank you so much!!!

    As a general, historical statement Tonefox is correct.  For certain particular cpus woodmeister is correct.  Cpus have historically been single frequency units, though over-clocking has been done for several years.  Doing so pushes the cpu beyond its guaranteed speed, but has tended to work since most cpus from quality vendors will actually operate at higher speeds.  The manufacturer just does not guarantee the results...remember the Pentium fiasco in the early years of that chip?  Today manufacturers are ceertifying particular product lines for over-clocking on a periodic basis.  And that is what dynamic clocking really is, over-clocking but not at a constant clock speed as has been done in the past.
    Much of the silicon on the market will function at higher clock rates, the only question is does the maker guarantee the accuracy and performance at those clock rates.

  • HT5312 Hey I forgot about the questions and answers, and when the balance of $ 15 and I want to buy software from iTunes for regrettably I could not and I were sent to you many not thrown a response, or retrieve answers frankly tired or help me and send E

    hey i forgot about the question and answers and when the balance of 15d and i want to buy software form i tunse for regettably i could

    The page that you posted from has instructions for how to reset them i.e. if you have a rescue email address (which is not the same thing as an alternate email address) set up on your account then steps 1 to 5 half-way down that page should give you a reset link.
    If you don't have a rescue email address (you won't be able to add one until you can answer your questions) then you will need to contact iTunes Support / Apple in your country to get the questions reset (these are user-to-user forums).
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset (and if you don't already have a rescue email address) you can then use the steps half-way down the HT5312 page that you posted from to add a rescue email address for potential future use

  • Why the iPhone vibrates 2 times when the iPhone OS is starting?

    Someone know why the iPhone vibrates two times when the iPhone OS is starting (and the apple logo appears)
    In my case, this rare event occurs when a problem with an application (3rd party) force to iPhone to restart or when occurs a problem during the sync with iTunes. After this event, my iPhone never load (your OS) and the only way is the restore.
    null

    Amazing how much trouble when can get into by taking shortcuts before we understand something... isn't it....
    Read the API and find out for yourself what events are triggered by a JButton......
    Remember thsi advices:
    1) Before using shorthand event handling, make absolutely sure that you understand the process back to front...
    2) Write your own event, listener and implementer in order to get a clearer picture...
    3) Until this is clear to you, always implement the appropriate listener and override the necessary methods....

Maybe you are looking for

  • After hard drive failure, need to sync data

    Following a hard drive failure I need to re-establish syncing between my desktop and Firefox Home on my iPhone. None of the routines for "add a device" or "my account" seem to work as advertised. "Settings" on my iPhone shows me signed in but gives m

  • SharePoint 2010 Slide Library Unable To Select Managed Metadata When Publishing.

    Hello, I'm running into some problems with Managed Metadata when uploading (publishing) slides in a SharePoint 2010 Slide Library.  If I have Managed Metadata Site Columns that are set to be required in my slide library, and I publish my slide(s) int

  • Creating a vendor

    Hello, I have a question asked by the purchasing department. When they create a new vendor, could the Goods-receipt-based inv.verif. check and the currency come automatically? as if saved as a variant? If the currency is different, then they'd change

  • I cannot save in Editor.... error message = program error preview cannot be generated.

    I cannot save changes in Editor when I work with a picture. Could not build a preview because of a program error.

  • Can't select group of words in MS Word

    In MS Word for Mac I cannot highlight more than a word at a time by dragging my mouse to select group of text. Now I can only select one word by double clicking on it. Just started happening.