How do I programmatically force the RT engine to reboot?

I have a stand alone emebedded executable which I run on a PXI-8156B controller. It needs to stop and reboot itself under certain circumstances. How do I do this programmatically (ie like calling ExitWindowEx with windows)? The only thing I can think of is to force the watchdog timer to expire.

Dr. Billy,
Forcing the watchdog timer to expire is the only way to programmatically reboot the PXI Controller at this time. If you would like to request a feature that will allow you to do it another way, visit http://www.ni.com/labviewrt and click on LabVIEW Real-Time Wishlist.
Chad H.
Applications Engineering
National Instruments
http://www.ni.com/ask

Similar Messages

  • How do I programmatically reference the current page in 902?

    Hello,
    How do I programmatically reference the current page in 902?
    The Portal Smart Text option for Current Page is not flexible enough, and I wish to create my own custom greeting using PL/SQL.
    Cheers,
    John

    hi,
    If you are developing a PLSQL Portlet, then you do have a way for getting the page URL.
    The page URL can be obtained from the record, portlet_runtime_record. There is a filed page_urlavailable with portlet_runtime_record.
    The portlet_runtime_record is passed as a argument to the show_portlet procedure.
    --Sriram                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Is there a way to force the Tag Engine to dump its input buffer to the database?

    I have an application where I start a process and log the data, and then call a subVI that uses the Read Historical Trend VIs to get all of the data from when the process started until now. The problem is that the Historical Trend VIs only read from the database on disk, and the Tag Engine's buffer doesn't write to disk until it's full (or possibly times out; I'm not sure about that, though). Is there a way to force the Tag Engine to write to disk, so that the Historical Trend VIs will return the most recent data?
    Shrinking the buffer will help a little, but that will only result in missing less of the most recent data. One possible hack is to have a dummy tag that I simply write enou
    gh data to that will cause the buffer to be written to the database. I was hoping for something more elegant, though.

    That's a good question.
    The control about the datalogging and the DSC Engine is all done (more or less) automatically - you feel the NI ease-of-use idea
    That means the Citadel service (one of the NI Services installed by LabVIEW DSC) is responsible of taking care about the datahandling (writing to and reading from the database files including caching some data e.g. index files, frequently used data...).
    The DSC Engine makes a request to the Citadel service that this data has to be logged. Everything else is handled by the Citadel service. Internally, there are two kinds of logging periods handled through the Citadel service. One for traces being viewed (a small period: 200ms) and one for traces not being viewed (slow (big) log period: 20000ms). That
    means, if Citadel gets a request to store a value it will buffer it and store it as soon as possible depending on other circumstances. One depends on the fact if this trace data is being viewed (e.g. with Read Histroical Trend.vi) If you request/read to view a trace you should pretty much see the current values because citadel should use the fast log period.
    The Citadel service takes care as well about setting priorities e.g. the writes before the reads (We don't want to loose data - right?). That means if you really stuff the system by writing a lot of data the CPU might get overloaded and the reads will happen less often.
    If you really want to see "real-time" data I would recommend to use the "Trend Tags.vi". With this approach you avoid the chain DSCEngine-Output Buffer-CitadelService-InputBuffer-File-HD... and back.
    I hope this info helps.
    Roland
    PS: I've attached a simple VI that has a tip (workaround) in it which might do what you are looking for... However, Nationa
    l Instruments cannot support this offically because the VI being used are internally DSC VIs that certainly change in the next version of LV DSC... and therefore you would need to "re-factor" your application.
    Attachments:
    BenchReadHistTrend.llb ‏104 KB

  • How do I tell if the database engine is installed?

    I'm using SS 2008 R2. I don't think the database engine was installed and I would like to check this. 
    How do I tell if the database engine is installed?

    I'm quite surprised that with all the answers you have been given, nobody has noticed the obvious. In actual fact everyone is sorta right. The answer to your question of whether you have the db engine installed is ...yes an no ;)
    You do not have the traditional engine installed, but you do have sqlexpress localdb.
    For more info check out:
    http://technet.microsoft.com/en-us/library/hh510202.aspx
    and
    http://geekswithblogs.net/krislankford/archive/2012/06/19/sql-server-2012-express-localdb-how-to-get-started.aspx
    Im not a big fan of it but it does what it says on the tin...
    Regards,
    Mark Broadbent
    Contact me through twitter |
    blog | sqlcloud
    Please click "Propose as answer" if a post solves your problem
    or/and vote the post up if it's been helpful.
    Want professional SQL Server High Availability Training? Click here

  • How do we programmatically "enable" the Page to have

    Some body known how do we programmatically "enable" the Page to have
    Item level security. - analogous to checking the box in the Page edit mode for "Enable item level security"
    J.

    Try this. It might work for you.
    declare
         l_page portal.wwsbr_api.page_record;
    begin
         select * into l_page
         from portal.wwv_user_owned_corners
         where siteid = <page group id>
         and id =<page id>;
         -- 0 is disabled . 1 is enabled.
         l_page.haveitemsecurity := 1;
         portal.wwsbr_api.modify_folder(
                   p_page => l_page
         wwpro_api_invalidation.execute_cache_invalidation;
         commit;
    end;
    regards
    Suresh.

  • How do you know if the Dreamcolor Engine is working?

    Hi,
         I have recently purchased an HP Dreamcolor Z24x and have connected it to my macbook pro via a blackmagic mini monitor.  I have attempted to monitor video being fed from both Avid Media Composer 7 and Final Cut Pro 7.  However, I have no idea if the dreamcolor engine is actually working.  How can you tell?  
         Playing video from a Rec 709 sequence in Avid, the video looks drastically different from the image on my laptop when I have the Rec 709 setting selected on the Dreamcolor.  I expected it to look different, but not to the degree it does.  The gamma is radically different.  Properly exposed Rec 709 footage looks extrememly underexposed and flat in the Rec 709 mode on the dreamcolor monitor.  I find it hard to believe it is an accurate representation.  When I switch to sRGB color space on the Dreamcolor, it looks much closer to what is on my laptop (the gamma looks correct, with a slight shift of color) 

    With App Store open, purchases or updates pane (can't recall which), CMD+R to reload the page, and you should see a progress bar. Should look like this:

  • How do i programmatically get the current version of a file?

    I asked this same question in the SP2013 forum and I haven't been able to determine the solution. So I posting this here, to maybe get more eyes on this issue. 
    ...I am basically trying to programmatically get the current version of a document in a library, then determine if its a major or minor version, in code. I have tried doing this, to get the current version but I keep getting an empty string returned.
    var versions = item.File.Versions;
    string currentVersion = string.Empty;
    foreach (SPListItemVersion version in item.Versions)
    DateTime lastMod = version.Created;
    foreach (SPFileVersion fileVersion in versions)
    if (fileVersion.IsCurrentVersion == true)
    currentVersion = fileVersion.ToString();
    Does anyone know what am doing wrong, and how to get this resolved? I really appreciate the help. Thanks

    Why not just get the SPListItem and look at it's Version property? That'll be the latest version.
    No need to go into the Versions collection etc. When you get a list item you get the current version as standard.
    w: http://www.the-north.com/sharepoint | t: @JMcAllisterCH | YouTube: http://www.youtube.com/user/JamieMcAllisterMVP

  • How to keep Google as the search engine on Firefox startpage, no matter what search engine is in the upper-right drop-box?

    When I change the search engine in the upper-right search-box (to let's say Wikipedia), the search engine in the middle of the Firefox home-page changes accordingly. I don't want this to happen (I want that to pin to Google). How to do it?

    Current Firefox versions use the search engine that is selected in the search bar (click the search engine icon to open the drop down list) on the Navigation Toolbar for searching via the location bar and for the search engine on the about:home page.
    If you want to use different search engines then you can install the Keyword Search extension to specify with search engine to use for the location bar and which search engine to use for the about:home page via the Options/Preferences windows of this extension, accessible via the about:addons page (Firefox > Add-ons).
    * Keyword Search: https://addons.mozilla.org/firefox/addon/keyword-search/

  • How can I programmatically change the fill color Settings of the Cwslide ActiveX Controls

    In design mode (Visual Studio 6.0),I want to programmatically change the fill color in properties of  cwslide  ActiveX Controls.what's the command?
    Attachments:
    cwslide.JPG ‏11 KB

    First, if you want to start getting beyond the basics with DAQ, you are going to have to stop using the DAQ assistant and do it with lower level DAQmx VI's.  There are hundreds of examples in the example finder.  You can even right click on the DAQ assistant and select open front panel.  That will create a subVI that you can open and see what is going on behind the scenes.  Do it.  I think you'll find the DAQ task is being recreated on each (though I'm not 100% of how the settings are established or maintained in each section of that subVI).
    The second problem is you have a bit of a race condition on iteration 0.  Those two DAQ property nodes are running at the same time.  So when you read the AI.Max, it may be happening before or after the AI.Max is set in your case structure.
    Third, make sure you wire up your error wires.

  • How to remove Babylon from the search engine menu?

    My OS is Windows 7 Pro 64 bit; using Firefox ver 15.0. I downloaded Babylon tool bar and related apps because they were associated with a tool manual that I wanted to review. I then discovered how invasive these apps are. Successfully removed Babylon downloader and Tool bar via Start | Control Panel | program menu. However I notice that "Search the web (Babylon)" is still listed in the drop down menu of search engine options. I have defaulted my search engine to Google, and I can delete the Babylon option, but it returns every time when I close my browser and then return to my FF Mozilla home page. How can I permanently remove Babylon as a search engine option?

    '''edit'''<sub>( comments by a forum moderator - J99 )</sub> COMMENT: everyone;
    *I realise there may be a good deal of frustration is some situations, and some comment may be intended as hyperbole or humour, but please try to follow [[Forum rules and guidelines]]. There is otherwise a risk that action will be taken against infringers, that could include deletion of whole posts or even account deactivation.
    * I have let this post stand, it is quote by Babylon in a [https://support.mozilla.org/en-US/questions/935739#answer-372309 rebuttal] lower down in this thread
    * as an aside, note that I understand Firefox management staff are currently co-ordinating improvement in documentation relating to removal of software extensions.
    Babylon is the most pernicious, invasive, intrusive, manipulative and misleading software company on the internet. They pretend to be legitimate but their practices, actions and tactics are in the same league as spyware, viruses and malware. If there is a way to block them I want to know how. Legal action is the only way companies like this one can be controlled. I volunteer as lead plaintiff.

  • How can you Programmatically recalculate the tax on AR Transaction Line

    Hi
    Does anyone have any clue about the API which can be used to programmatically recalculate the tax on the sales order line.
    We are using EBTAX Engine.
    Regards

    Which tax engine are you using in your environment? Are you using standard Oracle e-biz tax?

  • How do I programmatically access the Color Highlight options in a chart?

    I want to access the information of which bars are highlighted under which conditions in my bar chart. Is there a way to programatically access this info, either with the RAS API or the old Engine.ChartObject API?
    Thanks in advance!

    The Chart object is a third party product and unfortunately, at runtime, you are quite limited with what you can do with the chart object. There are no API's available in any version of CR to get to the line colors and other options. See htis thread for more details:
    https://forums.sdn.sap.com/click.jspa?searchID=17899026&messageID=6102644
    Ludek

  • How can i stop only the Analysis Engine?

    As i have problems to upddate the version IPS 4250 XL i want to stop it because when i try to upgrade the sw to the sensor its appears a message saying Analysis Engine is currently busy...
    Is it possible?

    To restart the analysis engine...
    1. Log into service account
    2. su to root
    3. Type /etc/init.d/cids restart
    If this helps, please rate.
    Thanks.
    Jay

  • How can I programmatically retrieve the CVI Target Version Settings (e.g. File Version, Copyright, etc) in my CVI application?

    Is there any way that I can programmatically retrieve the CVI Target Version Settings (e.g. File Version, Copyright, etc) in my CVI application?
    I am using LabWindows/CVI version 7.0.
    The settings that I'd like to retrieve within my application are those that are set under Build | Target Settings... | Version Info...
    e.g.
          File Version
          Product Version
          Company Name
          Legal Copyright
    Thanks,
    Darren
    Message Edited by Darren Draper on 01-16-2006 02:03 AM

    Well, "File access permission denied" claims for an authorization problem . I suggest you double check file attributes in the project directory: it could be that you have downloaded this example from a CD and the read-only attribute has not been cleared.
    The library does not reside in the example folder: as you can see by selecting View >> Show full pathnames in the project window, it should be in ....CVI\sdk\lib folder.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How do I programmatically display the specify module dialog?

    I am writing a C++ class that programmatically adds steps to a sequence file. The steps are ActiveX Automation types, making calls to properties and methods on a COM server.
    I have been successful in creating a step, filling in the TS.SDATA.CALL parameters and adding it to the main sequence. When I open the sequence in the TS sequence editor and bring up the specify module dialog, all of the dialog fields fill out properly.
    However, I've recently been wanting to bring up the specify module dialog programmatically. I have a smart pointer to the step object ( TS:tepPtr ) and tried calling spStep->SpecifyModule(0). This hangs the app, which leaves me scratching my head wondering what TS is objecting to. Rememb
    er I can then go to the TS sequence editor and successful bring up the specify module dialog on the very same step.
    I pretty sure the window handle I've passed to the engine is valid. I can successfully display the engine options dialog programmatically.
    Any idea? Do I have to call some setup function before calling Step:pecifyModule( long specModOptions )?
    Thank you much.
    Aaron

    Hello Aaron -
    The short answer to your question is 'no you should not need any special configuration commands before calling Step:pecifyModule( ). Once you have a valid step object you should be able to call the method. However it is worth mentioning that the function help for SpecifyModule points out that there are different restrictions on each type of step as far as what options are available. For TestStand 2.0.1 for example, the ActiveX Automation Adapter steptype will make no use of the options set, so setting it to 0 is ideal. Other issues with using this method may be the result of working with an active sequence. Are you adding steps to a new file on your harddrive? Or are you working with a sequence already loaded into TestStand? Asking to 'specify module'
    of a step already loaded for execution can result in some different behavior, most commonly a 'user-defined' error code of '0'. Checking to see that you are doing this, or if you have any file references (via Get SequenceFile ) that are not closed (with Release SequenceFile) before discarding the object handle they may also be a source of your hang-behavior.
    To have a better idea of what is happening on your system I would need more information about your version of TestStand and also about how you are creating your sequence but any other information about the error would be helpful in troubleshooting further.
    Regards,
    Elaine R.
    National Instruments
    http://www.ni.com/ask

Maybe you are looking for

  • Reformat external drive from mac os to windows

    the windows partition on my mac book pro is close to full. i would like to use an external drive formatted for windows for my growing number of pc games (gw,tdu,fsx,dirt - which run great on the mac book pro windows partition btw). i tried to reforma

  • Site Definitions not working in CC 2014

    Since the update, my site definitions are no longer working. I try to set up a new site, navigate to the correct folder and get the warning: 'site is inside the site "x"' This may cause conflicts - ' etc. The site folder isn't inside another site at

  • Intrusive Volume Display on iOS 7

    Is there any way of changing the Volume Display on iOS 7 so that it doesn't completely intrude whatever you have on the screen? If you're watching a video or playing a game, adjusting the volume commits you to a few seconds of being unable to see any

  • Casting and radio select : conversion error

    I'd like to display radio options differently, regarding of their type. For example I have an OpenOption class which extends Option. So when I display it I'd like to add an input text box if the user select an open option :                          <

  • Check Keyboard events

    Hi I have a library written in C++,used from Cocoa, that must check keydown events on CTRL keyboard key. If possible, I´d like to use something similar to Windows GetAsyncKeyState( VK_CONTROL ). Do you know how can I get this on MacOSX? Thanks Pablo