Is there a way to reset the shared variable engine?

I would like to be able to reset the SVE in a manner that is equivalent to what occurs during a hardware reset.
My motivation for doing so is as follows:
I have an cRIO app with lots of IOV's and NSV's that operate via the SV API and also with plenty of static nodes.  I am finding
that on first run, from the DE, my CPU%=~55%.  On all subsequent
runs my CPU%=~65%.  If I do a hardware reset or redeploy one particular
NSV library then
my cpu usage will return to ~ 55%.  I have tried isolating the area of code that accounts for this and have found that
the problem centers around my initialization of one library of NSV's
where I set its init value via the SV API.  The NSV references
are all closed after writing without error.  So I am wondering if it
is possible that the NSV ref's are not actually closing or possibly
the setting of the inital value has some effect on the SVE so that subsequent runs get bogged down.
Anybody have any ideas?

Hello,
If you redeploy your library, does that bring your CPU usage back down?  perhaps you can use that as a suitable workaround?  How exactly are you setting the initial value of your shared variables?
Tejinder Gill
National Instruments
Applications Engineer
Visit ni.com/gettingstarted for step-by-step help in setting up your system.

Similar Messages

  • I set up a passcode to ensure the security of my iPhone 5 but, when I enter it on the home screen, I repeatedly receive an error message and my phone locks. Is there a way to reset the passcode when I am unable to gain access to my phone?

    I set up a passcode to ensure the security of my iPhone 5 but, when I enter it on the home screen, I repeatedly receive an error message and my phone locks. Is there a way to reset the passcode when I am unable to gain access to my phone?

    I figured that was the case, but I've used the same passcode for years and I can't seem to figure out how I managed to screw it up when I set up my phone. Without being able to access my phone for a restore, how would I accomplish this? iTunes? Thank you very much for you help!

  • TS1369 i have a screen with the apple logo on it and a bar underneath it. it has been this way for about an hour now. what does this mean and is there a way to reset the iphone without going into the store? it isnt showing in my computer or on the itunes

    i have a screen with the apple logo on it and a bar underneath it. it has been this way for about an hour now. what does this mean and is there a way to reset the iphone without going into the store? it isnt showing in my computer or on the itunes page.

    Try:
    - iOS: Not responding or does not turn on
    - If not successful and you can't fully turn the iPod fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.

  • I forgot the password to a pages-document, is there any way to reset the document?

    I forgot the password to a pages-document, is there any way to reset the document?
    Thank You

    No, Apple can't help.  Just connect the iPod to your computer and restore via iTunes. If necessary, place the iPod in recovery mode.  For that mode see:
    http://support.apple.com/kb/HT1808

  • Is there a way to reset the password on a Newton Message Pad 130?  I forgot my password.

    I have an old Newton Message Pad 130.  I forgot my password and need to find a way to pull some travel journals off my Newton.  Is there a way to reset the password without erasing the data?
    Thanks,
    Lawrence

    Newton MessagePad: Passwod reset and removal
    http://support.apple.com/kb/TA34302?viewlocale=en_US

  • My ipod is frozen...nothing is working, is there a way to reset the unit?

    My ipod is frozen...nothing is working, is there a way to reset the unit?

    hold the menu button and the centre button togeher for about 10 seconds

  • I cleaned my wireless keyboard with a cloth that had a few sprays of windex on it, wiping back and forth and up and down on the keys. Now, various keys are not working. Is there a way to "reset" the keyboard to restore the keys?

    I cleaned my wireless keyboard with a cloth that had a few sprays of windex on it, wiping back and forth and up and down on the keys. Now, various keys are not working. Is there a way to "reset" the keyboard to restore the keys?

    Thanks for replying (thorvsphoenix)
    The windex was sprayed on the cloth, not the keyboard. And only one or two pumps on a hand towel. No liquid seeped between the keys the towel was barely damp. You are saying the ammonia gas created the problem?
    I think It was more an issue of multiple keys being depressed at the same time that screwed up the configuration. That is why I need to "reboot" the keyboard.

  • What causes the Shared Variable Engine to Crash?

    All,
    Some background info:
    I am using the SVE and DSC so that I can log my data to Citadel using Data Sets. I converted a previous DSC 7.1 project that used the tag engine over. That app ran for over 18 months. Need to upgrade app and add features at my customer requests so we migrated to LV 8.0.1.
    I have an app that crashes the Shared Variable Engine (SVE). I created a test app with a single SV and then created a control and bound it to the SV and it works every time until I launch the larger app. The main app only has 33 SV that are set when I receive TCP data from PXI RT system (not using SV on RT since the logged data is only a fraction of the total data streamed and I don't want to take apart the RT data and send the SV separately). I have bound front panels controls to the SV's. When I run, I get server connection has been closed. I verified that the SVE was running with the test app before launching the main app.
    I deploy the shared variables in the application and have verified they are deployed by the Monitor Variables utility ... but it always shows "No Value" for the data fields. I have set logging to enabled for data only, set Value Deaband (%) to 0 and Value resolution to 0, Update Deadband is Disabled as is Alarming, Scaling, Initial Value and Description. Security is set to default. All of the variables are set to Double, Network-Published, Single Writer with Buffering and Bind to Source disabled.
    I have verified that the SV deploy without error by clicking Deploy from the project. Autodeploy All is off but I get the same results with it On (checked).
    I undeploy and kill the process when I close the application.
    I have tried only using 1 or 2 of the SV in the main app but get the same results. Every once in a blue moon it will work after rebooting the PC (but not everytime). Once it dies I have tried running NI examples as well as the test app and they fail until I reboot.
    The error code indicates that the SVE engine has crashed. I have changed the service settings on Windows to relaunch on 1st, 2nd and all times after but nothing restarts the SVE. After it crashes it is impossible to exit LabVIEW without it hanging or reboot the PC without pressing the hard On/Off switch.
    Once it dies there is nothing that I can do to get it back alive without rebooting the PC (a real problem for a control and monitoring system).
    Any ideas would be greatly appreciated
    Thanks.
    Randy

    Randy
    Sorry for the delay, I've been researching your issue and juggling a few other issues. :-)  One thing we can check is the Windows Event Log which will give us some more details as to WHY the Shared Variable engine seems to be blowing up on us (Conttrol Panel -> Administrative Tools -> Event Viewer).  Any details in there along the lines of Variable Engine or Tagger crashing will help us narrow down what's going on.
    There's always a possibility of files not getting upgraded correctly; however there aren't many shared components between LV 7.1 and LV 8.0. The Shared Variable engine is entirely new and the installations of LabVIEW themselves don't share many files outside of the example finder and a few other small common components (things located in the appropriately named Shared folder)  I keep both on my machine (in addition to 5.1, 6.1, 7.0, and 8.2) without any hiccups.
    The SVE crashing I have seen in the past (and from internal bug reports) has been from buggered installs, so uninstalling and reinstalling DSC may be a good course of action. One good test to do in the middle is to see if the engine still crashes with DSC uninstalled. 
    Hope this helps.
    --Paul Mandeltort
    Automotive and Industrial Communications Product Marketing

  • Appear to lose connection with the Shared Variable Engine

    Have been through the boards, but with no success regarding the specifics of my problem.
    I am running a real-time application on a PXI-8108.  The host software is taking care of user interface, etc.  Information exchange is handled using Unbound Network Shared Variables (located on the host, though problems occur no matter where the variables are located).  Everything deploys fine.  Software runs swimmingly.  I have backed off the DAQ/communication processes until the RT cores are at <10% busy.  However, occassionally while running, I get a popup "Waiting for Real-Time Target xxx to respond..."  If this message stays up for long enough, then the target's attempts to read the Shared Variables start erroring out with an error -1950679035.  As the variables have already been deployed and used prior to this instant, I find this curious.  If I filter out the error, eventually the real-time software comes back up and everything progresses as though nothing happened.  However, this is a potential deal-breaker for the users who can be impatient with having to wait a few seconds for the software to respond.
    Any idea what is happening?  I'm not pumping huge amounts of data over the network, no threads should be starving.  Kinda confused.
    Dan M. 

    The shared variables are being used much like how a queue would, directing each loop to perform an action should the host require it.  If no action is required, then the loops default to check their respective bus or DAQ.
    Currently, I am running 13 timed loops (whose periods I have extended signficantly during debug to no detrimental effect of my software, but to no improvement in the issue in question):
    RS-232/J1708 converter loop (50ms period)
    CAN loop (50ms)
    DMM loop (250ms)
    Oscilloscope loop (250ms)
    DAQ loop (50ms, includes 1 AI task, 4 DI tasks, and 6 CTR in tasks)
    Switch loop (50ms)
    RS-232 loops (50ms for the main, 1 additional loop at 1Hz)
    RS-485 loops (50ms for the main, 4 additional loops at 1Hz)
    Both cores appear to share the load, usually the aggregate load is under 15%.  When the popup appears telling me that the host is waiting for a reply from the target, the PXI controller monitor output still updates the CPU loads, which do not show anything unusual, such as a spike or a freeze in loading.  The target loading does spike up to about 30% total after the communication is reestablished, but that appears to be the software attempting to "catch up" with the events that occurred during the "black out". 
    The error reads like this:
    Shared Variable in Main Target Application.vi
    This error or warning occurred while reading the following Shared Variable:
    \\My Computer\Host-Target Interface\RS-485 Messages to Target    [<--insert other variables here]
    \\192.168.1.122\Host-Target Interface\RS-485 Messages to Target
    Unable to locate variable in the Shared Variable Engine.  Deployment of this variable may have failed.
    Are there any other drivers that would be starving the Shared Variable Engine?  For example, if a VISA or NI-DAQmx driver goes to sleep, could it hold up the SVE?  What execution system are they running under? 
    Thanks for your help!
    Dan M.

  • Error with the Shared Variable Engine

    Hi,
    I have a problem with the Shared Variable Engine,
    A .doc File is attached to this message, decribing the problem with pictures.
    I will be glad if anyone can help me. 
    Sincerely yours
    Amitai Abramson
    Attachments:
    Question.doc ‏819 KB

    Hi Amitai,
    Good afternoon and I hope your well.
    A member of the team from NI Israel contacted me regarding this post.
    I want to provide you with extra details on how to resolve your issue - i.e. Repair (Or Re-install) the Shared Variable Engine.
    If you use the MsiBlast Tool it will populate a list of all MSI NI Installers. One of these will be NI Variable Engine. On the right-hand side you can the click 'Repair'. I would also Repair the engine support for the versions of LabVIEW you have installed. Please see attachments for MsiBlast and a screenshoot of the MSIBlast screen.
    If this doesn't work I would recommend re-installing LabVIEW using the following guide, which I posted on this forum. (second post by me).
    Please let me know how you get on,
    Kind Regards,
    James.
    Message Edited by Hillman on 12-03-2008 12:19 PM
    Message Edited by Hillman on 12-03-2008 12:19 PM
    Kind Regards
    James Hillman
    Applications Engineer 2008 to 2009 National Instruments UK & Ireland
    Loughborough University UK - 2006 to 2011
    Remember Kudos those who help!
    Attachments:
    Repair Shared Variable Engine.JPG ‏97 KB
    msiBlast.zip ‏110 KB

  • My iphone 3gs on off button does not work.  Is there another way to reset the phone?

    The on/off button on my iphone 3gs does not work.  I cannot shut the phone down to reboot and it is stuck in a no service.  I cannot get cell or internet service.  Is there another way to reboot the phone?  Possibly a soft reset?

    The screen goes to voice control.  It only recognises the home button not the on/off button.  Is there a way to soft reset the phone?

  • Is there any way to reset the account or master passwords without logging into the account?

    Dear All,
    My desktop has locked me out.
    It says that my account and master passwords are wrong.
    Is there any way to reset these passowrds without logging into the account?
    Thanks

    Yes by booting the system from either the OS X install DVD or from the Recovery HD partition and using Terminal to bring up the Reset Password system.

  • HT201304 I forgot the restriction code. Is there a way to reset the restriction code without restoring my IPod?

    I don't remember my restriction code is ther a way to remove the code without restoring my iPod?

    http://support.apple.com/kb/HT1212
    Basic troubleshooting steps  
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101
     In Memory of Steve Jobs 

  • Is there a way to reset the activation limit?

    Hi.  I originally bought Photoshop CS2 (I guess about 7 years ago), and since then I've upgraded to CS3, and then the CS5 Extended Upgrade.  Unfortunately over the years I've had system crashes that required complete reinstalls of Windows, and as a result I have no more "activations".  In addition, there's something goofy with the Photoshop CS 5 Extended upgrade application in that although Adobe did offer an upgrade from CS3 to CS5 Extended the installer doesn't recognize the serial number. (Neither the CS2 full product serial number, nor the CS3 upgrade serial number.)
    As a result, any time I need to install Photoshop it means I have to call them, and last time (for the CS5 Extended install) it took about an hour on the phone, multiple discussions between the customer support person and their supervisor, etc.  I'm at the point where I'm not going to pay for the CS6 upgrade just because I don't want to deal with the hassle of installing it.
    Is there some way to get Adobe to "wipe the slate clean" and reset the activations so I can do this all over the net?  And does the CS6 installer recognize older serial numbers like CS2 or the CS3 upgrade serial number?

    For the installer question I'm wondering if the CS6 Extended installer will work with the serial numbers I have.  The CS5 Extended installer didn't.
    I have the following serial numbers:
    Photoshop CS2 (full application)
    Photoshop CS3 (upgrade)
    Photoshop CS5 Extended (upgrade)

  • I just upgraded to Lion. I was trying to set up the iCloud and it asked for my "login" keychain password. I've never been asked for that before. I've tried every password I can think of and nothing works. Is there a way to reset the keychain password?

    I just upgraded to Lion. I was trying to set up iCloud and it asked for my "login" keychain password. I've never been asked for the keychain password before. I've tried every password I can think of and nothing works. I'm normally asked for the password to my machine when upgrading software, signing on, etc. but this is different apparently. I tried the same password and it didn't work either. I read a couple of posts and they all want to take me through Applications/Utilities but that requires knowing your password in order to change it. I don't know it. Don't remember ever setting up a keychain password. Does anyone know how to change the keychain password if you don't know the keychain password???

    Most of the time your Keychain password is the same as your login password. If you configured your computer to log you in automatically, you may not have used your login password in so long you forgot it.
    There is no way to retrieve the "login" Keychain password, but you can reset the Keychain from the Preferences menu: select it in the Keychain Access menu and select "Reset My Default Keychain". This will create a new, empty Keychain but the old one will be saved should you ever remember its password.
    The result of this is that you will have to supply passwords for everything that requires it, since without your Keychain they will no longer automatically fill themselves. However, once you supply them and store them in your new Keychain, they will be remembered.

Maybe you are looking for

  • IPod Touch 1g "unable to connect to wifi"

    Hi . I recently got an iPod touch 1g from my sister's friend , and everything on it works fine, except the wifi. Everytime I try to go on wifi I'll click "other >" and type in my Router name and password , and it says it ither cannot connect or its u

  • Just updated to Yosemite, computer crashes everytime I unplug my WiMax from USB port

    I have a MacBook Pro Retina, and updated from Mavericks OS X to Yosemite OS X. Ever since the update, my laptop crashes everytime I unplug my WiMax portable internet from USB port. The error message that appears says: "your computer restarted because

  • Appraisal Document Error "Document not found"

    Hi All, I have created iVIew MSS Appraisal Document with following details Technical Name of iView   :   com.sap.pct.erp.mss.hap_document Technical Name of Application :   HAP_MAIN_DOCUMENT with application parameter Mode=D Runtime Technology   :  AB

  • Limiting outbound smtp rate

    Hello , i want to know if it's possible to limit the rate of sending outbound mail. One of my client doesn't support the flood of mail i send to him ( legitime bulk mail ) I can't help him with his server but my server is the one who crash his server

  • Do I have a virus in my email?

    Do I have a virus in my email? A mail message I forwarded to a friend with a Mac contained a warning that stated: "is a web application which is attached to a mail message. Are you sure you want to open it? ATT53556133.HTM" She didn't open it. The me