How to set programmatically a LabVIEW exe * Windows * priority?

I have an executable of LabVIEW that makes data acquisition to 10 kHz on an ongoing basis and under certain conditions of dumps of these data to a CSV file that is viewable in Excel.  We noticed if the file becomes unusually large and someone tries to open this file so that DAQ'ing is always in course (but does not connect), Excel will monopolize the CPU long enough such that the exe of LabVIEW does not have enough time CPU to extract data from data acquisition until the data in its circular buffer gets replaced.  I could try to simply increase the size of the buffer DAQ, but really, the solution is to have this executable LabVIEW have "priority" over other executables non-LabVIEW (such as Excel.)    Looking at properties VI--> execution--> set the priority seems to only define the priority between other threads LabVIEW but says nothing about how a thread LabVIEW is prioritized to another non-LabVIEW exe.   I have confirmed this by setting the LabVIEW execution property to 'critical moment' and then in the Task Manager and windows reports still his priority as "normal".   How can I set the * Windows * priority of an executable of LabVIEW without having to do it manually via the Task Manager?

Thank you

Ninja Edit:

I should mention that I am building the executable is nothing else than a "master GUI" which generates four LabVIEW modules in sub-panels using static VI refs and displays important data from these four modules persistent "dashboard".   Modules to do all the boring tasks such as DAQ'ing and display data in charts.  Because I am compiling my code in a single executable using the GUI 'master' as the boot VI, set the priority in properties of VI flow down to the modules I load in sub-panels or will only the priority of the Master GUI be changed?  On a related note, should I set four enforcement system 'Data acquisition' modules, then the master GUI to ' User Interface?

You can try calling the next VI. It sets the priority for the current process and has worked for me in the past on XP.

Tags: NI Software

Similar Questions

  • I use windows 7 and some how I set everything to open my Windows media player, I can't understand how to set it all back

    I use windows 7 and some how I set everything to open my window media player, I can't understand how to put everything back it was. can someone help me

    Take a look at these two:

    MS - http://support.microsoft.com/kb/950505/en-us

    Seven forums - http://www.sevenforums.com/tutorials/19449-default-file-type-associations-restore.html

    (Start with EXE at least).

    Good reading and see if they match your problem and, if so, if they help.

    Note: As some patches of Reg, back up your registry first use - if you can.

  • My window size is about 1/4 "wider than my monitor screen. How to set the size of the window?

    My window size is about 1/4 "wider than my monitor screen. How to set the size of the window?

    Hello

    ·        You did it changes on your machine before this problem?

    ·        You have a LCD or TFT monitor?

    Usually in LCDs, there will be an option to set the button of the screen on the monitor resolution.

    You can also follow these links for the resolution of the monitor & check if it helps.

    Change the resolution of your monitor

    To change your screen resolution

    Hope the helps of information. Please post back and we do know.

    Concerning
    Joel S
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to set the java path on windows 8

    How to set the java path on windows 8

    Original title: Java

    Way easier access and the value of your PATH environment variable is as follows:

    1. Press + W to display the search settings panel
    2. Type "path".
    3. Choose "edit the system environment variables.
  • How to set programmatically the current node in a tree view of the ADF.

    Hello

    I'm trying to understand how to set programmatically the current node in a tree view of the ADF.

    My use case example is quite simple; If we take the sample application ADF Summit where under Management Summit, we have a tree view on the left with a list of high level of the country which in turn contain a subset of customers; then, in the right pane, we the customer detail information.

    What I'm trying to achieve is a solution by which I can add a new customer, commit and then to the tree show the client newly created as the currently selected entry.

    I use a pop-up dialog box to create my new entry of the customer and everything works well in this area, and my newly created folder is saved in the database.

    I know how to force the tree to cool off, but what I can't understand is how to do so, it highlights the newly created folder.

    Any help would be much appreciated.

    Refer

    https://blogs.Oracle.com/jdevotnharvest/entry/how_to_programmatically_disclose_a

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/78-man-expanding-trees-treetables-354775.PDF

  • How to set the VPN connection in Windows 7 64 bit?

    Hello

    How can I set up a Vpn connection in Windows 7 x 64 bit.

    Thank you.

    Hello

    Go to the network control panel and Internet-network sharing Center.

    http://www.windows7hacker.com/index.php/2009/08/how-to-set-up-a-VPN-connection-in-Windows-7/

    Note that you need to know the login and the password to access the Internet :)

  • How to set programmatically the ' input length Max ' of a cell of the tree

    I want to specify a maximum length of N_MAX for names of cell of a tree, so that when the user press the F2 key to rename, it has failed to enter more characters N_MAX.

    For existing items in the file of the uir, I am able to get this behavior by setting the tree Edit > edit columns/cells > change cell > entry length Max to 5 (see attached img03.png).

    When the user tries to rename this article, he has failed to enter more than 5 characters (see attached img02.png).

    But how to set this attribute for items added programmatically (for example, through InsertTreeItem ()).

    I was not able to find the right attribute, because the attribute of cells ATTR_LABEL_TEXT_LENGTH (which seems more or less what I'm looking for) is "not definable.

    You have found an omission in documentation. You can use ATTR_MAX_ENTRY_LENGTH and ATTR_MAX_ENTRY_CHARS with SetTreeCellAttribute and SetTreeItemAttribute to set the max entry for a cell of the tree.

    Please report to us this and sorry for the inconvenience.

  • How to set the size of the Windows Explorer preview pane so that it will retain the size adjusted?

    All know how to set the size of the Preview windows exployer pane.  I can't remember or 'stick' to the adjusted size.  It always develops a great size, concealing of file information (name, date modified, size, etc...) it's very great pain.

    Help, please!

    Thank you

    * original title - preview pane of Windows Explorer is a pain.*

    Hello

    Try this:

    (a) click the "Hide the preview pane" in the upper right corner (on the left of the help) of Windows Explorer

    (b) to resize the Windows Explorer window for how you want

    (c) click the 'Show preview pane' icon in the upper right corner (on the left of the help) of Windows Explorer

    Navigate to the link below: http://social.technet.microsoft.com/Forums/en/w7itproui/thread/569509ae-a37a-441f-8cc3-95d5231b171b

    Diana

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think, if this post can help solve your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to set programmatically in javascript for validation format dates?

    How do you programmatically set dates in javascript for validation format?

    ' 31/12/2011' doesn't seem to work?

    ourDate.rawValue = '2011-12-31 ';  works

    NOTE: If you have a hierarchy problem, you may need something like

    root.body.table.detail.ourDate.rawValue = '2011-12-31 ';

  • How to set the auto complete in Windows Mail

    How can I define the "full" automatic function in Windows Mail to use the Windows Messenger Contact list?

    WinMail remembers only 29 addresses.
     
     
    How to remove an address from the list of AutoComplete in Windows Mail
    http://email.about.com/od/windowsmailtips/Qt/et_del_autocomp.htm 
  • How to set an alert/reminder in Windows Live Mail 2011

    I have recently installed Windows Live Mail 2011 after the use of Thunderbird, I've set up my calendar with all my events, but although it took a moment for a warning/reminder I've ever received none. In Thunderbird pop up reminders when the program is started. Could you please tell me how to enable the installation of the alert.

    Problems with Windows Live, ask here:

    http://www.windowslivehelp.com/

    HTH

    If I brought you joy, vote! If I answered your question, click, propose as answer! > WT

  • How to set programmatically different view settings in the same workflow

    Hi all

    I have a business view that calls another view activity B with a link. In this connection, the action takes place to a method (I use the class JSFUtils: http://jdeveloper-adf.googlecode.com/svn/trunk/TGPrototype2/ViewController/src/com/tgslc/defaultManagement/utils/JSFUtils.java):

    public String goToB() {}

    String paramToPass = "someParameterTakenInSomeWay";

    JSFUtils.setExpressionValue("#{pathToViewB_pageBPageDef.paramName}",paramToPass);

    Return "openActivityB";
    }

    where openActivityB is the case of control flow to call B.

    In the file for pageDef B, I put a parameter "paramName" worthless:

    <? XML version = "1.0" encoding = "UTF-8"? >
    < pageDefinition xmlns = "http://xmlns.oracle.com/adfm/uimodel."
    version = "11.1.1.59.23" id = "pageBPageDef" >
    < Parameters >
    < parameter id = "paramName".
    value = "" / >
    < / Parameter >
    < executables / >
    < bindings / >
    < / pageDefinition >

    But at the time of operation, I have an oracle.jbo.expr.JIEvalException:

    Houston-25077: paramName not found in the object name specified: pathToViewB_pageBPageDef.

    The question is: How can I set the parameter view activity programmatically?

    Note that I use this method to set the parameter because in the real application, I have many 'view activity' that will call B, but all these should adjust this setting.

    I use JDeveloper 11.1.1.4.

    Thanks in advance,
    Baudel

    Hello

    This is because PageDef B represents a link container that is not active at the same time you try to call it. The link container becomes available when you navigate to the page, but not before. Instead:

    1. define a bean managed pageFlowScope and expose a Set/getter accessor method to contain the value to pass
    2. the bean managed pageFlowScope property reference of NDValue attributebinding using EL
    3 set the managed bean before you navigate to view B

    Frank

  • How to set programmatically for differential thermocouple?

    I'm trying to understand how a physical differential 'channel' (really a pair of channels) gets from a virtual channel. Specifically, I'm gaining of a thermocouple (K) using a differential connection.

    In AIChannels.CreateAccelerometerChannel, for example, you can specify whether you want to create a differentiated channel. In the NOR-DAQmx help file, I see that for the M series (which I have), the differential negative physical channel number is 8 + the positive number. And he says "pass only the name of the positive channel" to the function create the differential [virtual] channel.

    In AIChannels.CreateThermocoupleChannel there is no option to specify differential, single ended, etc. It is therefore impossible to use CreateThermocoupleChannel and connect the thermocouple to differential mode? In other words, do I have to create a channel of tension and then make the temperature conversion myself?

    Hi pelesl.

    Most of the parameters for methods of creating DAQmx channel is used to set properties on the newly created channels. You can also get or set the same properties yourself. The terminal configuration parameter in the method of creating channels voltage corresponds to the TerminalConfiguration property, so you should be able to do something like this:

    AIChannel chan = task. AIChannels.CreateThermocoupleChannel (...);

    Chan. TerminalConfiguration = AITerminalConfiguration.Differential;

    Brad

  • How to set the default browser in Windows?

    How can I change my browser to Google when I connect to the internet?  It currently gives me Bing.

    Control Panel | Programs | Default programs | Set your default programs. Select Google.
    Bruce Hagen
    MS - MVP October 1, 2004 ~ September 30, 2010
    Imperial Beach, CA

  • How to set the Office higher on Windows 7 so that the icons are where I would like to (and left) and size, I left their establishment?

    Hello

    I just got a laptop with windows 7 Home Edition on it after having upgraded from my old Office XP.

    Can someone tell me how to make my icons stay where I want and while when I restart, stop etc they do exactly that and not appearing is not where they want to.

    Thank you

    Mandy

    Right-click on the desktop and just view and uncheck the option "auto arrange icons" and "Align icons on the grid" and then see if it works. If it recovers under tension after. Let us know and also validation of your Windows 7 Home Basic or home premium. Good luck!

    Vanshaj Daga [If this post was helpful, please click the button "Vote as helpful" (green triangle). If it can help solve your problem, click on the button 'Propose as answer' or 'mark as answer '. [By proposing / marking a post as answer or useful you help others find the answer more quickly.]

Maybe you are looking for