How do I change execution properties of a SubVi programatically

Hello,
I have a Vi that calls a SubVi from within several While loops. For that reason, the SubVi should be defined as Reentrant. The Re-entrant property works for the last version of the program but makes the debugging more difficult so, while I develop the program I don't set the Re-entrant property of the Vi.
Questions:
1) Is there a way to set the Re-entrant property programatically, in the initialization part of the program? That way I can use a Boolean variable called "Simulation" that is ON for debugging and OFF for using the program in the real world. That Boolean would be set at the beginning of the program, or maybe in the Registry, and would define, within a Case, the Re-entrant property of the SubVi. By the way, I'm already using the Simulation Boolean in two cases, 1) to set IP address of TCP/IP communication (real address for real application and 127.0.0.1 for simulation) and 2) to call a SubVi with calls to ImPort and OutPort in the real application and calls to a simulation SubVi when debugging.
2) In the same program, the main Vi calls a Re-entrant SubVi. The Re-entrant SubVi calls a set of other SubVis but only once in the SubVi. Shpuld the "second generation SubVis, sons of the Re-entrant, should also be Re-entrant? Several instances of those "second generation" SubVis may be running at the same time but each one called by a different process of the Re-entrant.
Thanks much,
Marce

Hi Marce,
You can change the execution properties of a subvi by using the Application Control tools. Open a reference to your VI. Use the application property node -> select class -> VI server -> VI and select 'Execution'.
Not sure on reentrant subvis but you can read this thread for some info.
http://forums.ni.com/ni/board/message?board.id=170&message.id=70767

Similar Messages

  • How to dynamically changes items properties

    How to dynamically changes items properties likes position order in tabular view, width, prompt

    Many object properties can be set programmatically at runtime. For example, each window object has a Visible property that can be set to either Yes or No to show and hide the window. At runtime, you can call the built-in procedure SET_WINDOW_PROPERTY to show or hide the window dynamically, as shown here:
    Set_Window_Property('my_window',VISIBLE, PROPERTY_ON);
    The following built-in procedures are available for setting object properties at runtime:
    -     SET_BLOCK_PROPERTY
    -     SET_CANVAS_PROPERTY
    -     SET_FORM_PROPERTY
    -     SET_ITEM_PROPERTY
    -     SET_LOV_PROPERTY
    -     SET_MENU_ITEM_PROPERTY
    -     SET_PARAMETER_ATTR
    -     SET_RADIO_BUTTON_PROPERTY
    -     SET_RECORD_PROPERTY
    -     SET_RELATION_PROPERTY
    -     SET_VIEW_PROPERTY
    -     SET_WINDOW_PROPERTY
    The built-in procedure SET_ITEM_PROPERTY can be used to set the properties of any type of item, including buttons, text items, check boxes, radio groups, etc.
    Note: Radio group items include individual radio buttons; use SET_ITEM_PROPERTY to set the properties of the radio group, and SET_RADIO_BUTTON_PROPERTY to set the properties of the individual buttons in the group.
    Each built-in SET procedure has a corresponding GET function that allows you to programmatically determine the current setting of an object's properties. The following example uses GET_WINDOW_PROPERTY to determine if a window is currently hidden (VISIBLE = FALSE). If the window is hidden, SET_WINDOW_PROPERTY is called to show the window.
    If Get_Window_Property('my_window',VISIBLE) = 'FALSE' THEN
    Set_Window_Property('my_window',VISIBLE,PROPERTY_ON);
    To determine if a particular property can be set programmatically, refer to the property descriptions in online Help.

  • How do I change the properties of all my highlight boxes at the same time?

    How do I change the properties of all my highlight boxes at the same time?

    Hello,
    Which version of Captivate do you use, please?
    Lilybiri

  • How can we change the properties of a seeded item in OAF !!!

    Hi All Gurus!
    I have a seeded item (Button 'Apply') on an Add attachement page provided by Oracle in Self Service Web Module. Oracle documentation says this:
    If you want changes to the Attachments table or page to commit automatically, without requiring a user to select Apply in the base page, you can turn on "auto-commit" by setting the Automatic Save property to True for the attachmentLink, attachmentTable, or attachmentImage item.With "auto-commit" turned on, each action ("Add", "Update", "Detach") performed by the user in the Attachments table or page is automatically committed.
    Q1) How we can see the properties of the seeded items?
    Q2) How we can turn on the personalization pencil button of an item that is disabled by Oracle development team?
    Please let me know how we can achieve this through self-service personalization. Any light on this.
    Thanks in advance!
    John
    Message was edited by:
    jtom

    You donot need to do anything on the Add Attachment page. The autoCommit feature is exposed as a property on the Attachment bean. You need to extend the controller in the base page where the attachment Image, Link is present and get a handle to the attachmentBean and call setAutoCommit(true) which will enable automatic saving.Use personalizations to modify the controller class property on the base page. You can later choose to remove the Save button on base page using personalization.

  • How can I change session properties in Audition after omf import.

    After importing an omf. Everything is imported correctly. But the session properties do not match. I would like to change it back to 24bit. How can I change the session properties such as bit depth, without having to create a new session? There used to be a advanced session properties window.

    When you save the session in Audition, if you use 'Save As' then you'll get options to set the save defaults to whatever you want.

  • How can I change the properties of only one element in an array of booleans?

    I'm displaying an array of booleans to my operators, with each boolean in the array representing some system status check.  Some of these checks are critical and some are not, therefore I want some of these booleans to have a different color when in the TRUE state (Red for the critical ones and Yellow for the non-critical ones).  I can change the boolean colors with a property node, but that effects every element in the array.  Is there any way to change a property of an individual element in an array?  I know that I could take the incoming array and break it into two arrays - one for critical and one for non-critical, but this system is replacing an older system and the operators are accustomed to seeing their indicator lights a certain way and I'm trying to replicate what they had exactly.

    Here's what I had in mind
    Of course you can use as many colors as you want.
    Message Edited by altenbach on 12-21-2005 04:53 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    LEDarray.png ‏7 KB
    ColorArray3.vi ‏23 KB

  • Weblogic.Admin: How do I change the properties of the DefaultIdentityAsserter

    For the Default Identity Asserter, I need to add the X.509 to the "Chosen" list.
    How do I do it at the command line using weblogic.Admin?

    "Hari Menon" <[email protected]> wrote in message
    news:[email protected]..
    >
    For the Default Identity Asserter, I need to add the X.509 to the "Chosen"list.
    How do I do it at the command line using weblogic.Admin?
    C:\weblogic\dev\src810>java weblogic.Admin -url
    t3://localhost:7001 -username weblogic
    -password weblogic SET -mbean Security:Name=myrealmDefaultIdentityAsserter
    -commotype -property ActiveTypes "AuthenticatedUser|X.509"
    C:\weblogic\dev\src810>java weblogic.Admin -url
    t3://localhost:7001 -username weblogic
    -password weblogic -pretty GET -mbean
    Security:Name=myrealmDefaultIdentityAsserter

  • How to change the properties of individulal elements in an array?

    Hi all,
    I have an array (size is 25) of string and I want to disable and grayout half of them. But how do I do it? How do I change the properties of individual elements in an array? I have tried to use some of the examples given in the discussion forums, but it didint work for the task mentioned above. Anybody would be able to help me with a suitable example that can be specifically used for disable or enable the individual array  elements?
    Dev

    Telemaque wrote:
    The user will see the first half of the string elements filled-in and the lower half grayed-out (to be filled in later).  Make a test VI, play around.
    ... except that all elements "greyed out" with this method contain the default string for the array element (blank by default, but changeable). There is no way to have meaningful, unique text in the greyed out elements.
    I would suggest to use a listbox as control/indicator. Here elements can easily be disabled programmatically.
    LabVIEW Champion . Do more with less code and in less time .

  • Changing security properties

    how do I change security properties in Adobe Reader X or in Acrobat.com? I can create pdf's and convert but my documents have no security.

    There is no mechanism for changing the security on a PDF file from within Acrobat.com. You can choose to make it private or public, but that's all.
    To add password protection, you'll need to use Adobe Acrobat.
    Hope this helps!

  • Change of properties for %RT formula

    I am using the %RT formula in a query and also using the properties of Calculate Single Value As - Normalize Sub Totals.  When I do this it automaticly returns the figure to 3 decimal places and adds % at the end.
    I have the properties of this formula set to scaling factor of 1 and 0 Decimal places but this doesn't change when the report is run.
    This is the only function that returns the correct value for me but I cant change the properties.  I need a % for each sub total down my report and the other % formulas only calculate at the report totals not the sub totals.
    Any ideas as to how I can change the properties?

    Have you tried creating another formula based on your calculation with the %RT in.
    Set this to 2 decimal places & it seems to work.
    New formula is the calc with %RT and Normalise totla sand formula 2 is just formula 1, with decimals set to 2dp
    New Formula     New Formula 2
    0.617 %          0.62 %
    0.617 %          0.62 %
    0.617 %          0.62 %
    0.617 %          0.62 %
    0.617 %          0.62 %

  • Change display properties of mailbox

    I have created a mailbox in "On my Mac"
    The mailbox names are "sent 2010", " sent 2011", etc
    Here i am copying the mail from the sent items folder based on the date they were sent to the respective mailbox.
    Now here come the problem when i view this mailbox on the "On my Mac" area it displays mail based on the "sender" ( which in this case would always be me)
    How can i change the properties so that the message list is displayed with the recipient.
    This is the way it is displayed in the sent times folder.. How can i do this for folders on my mac since by defaluth they display the list of email based on the from address.
    i spoke to apple support chat who told me at the moment the feature is not available and i should post a feedback for them to add this feature.
    I think the community here could have some answers for me
    Vikas
    P.S please find here the chat i had with the apple care chat
    Now chatting with Kristopher, case # 782146853
    KristopherThanks for contacting AppleCare chat support. My name is Kristopher. Please give me a moment to look over your information.
    Me:Hello
    KristopherHello Vikas! How may I assist you today?
    Me:I have created mailbox on apple mail in the"on my mac" reagion marked sent 2010,sent 2011 and copy all the mails from the sent item based on their date in these mailboxes
    Me:the problem is when i view these mailboxes in the "on my mac" reagion they are viewed from the sender( which in this case is always me"
    Me:how can i change the view mode from sender to the TO or reciever feils
    Me:field
    KristopherOk Vikas, so we are trying to get the emails that have been saved to the Mac to sort based on the receiver field, is that correct?
    Me:yes
    Me:not really sort i need them to be sorted by date but i want them to display the reciver field instead of the sender field
    Me:like they do in the sent item mailbox
    KristopherAlright Vikas, we can definitely take a look to see if we can get this option changed for you. Please give me just a few moments to look into the matter to see if we have a simple solution for this.
    Me:sure
    KristopherOk VIkas, from what I can tell this is the normal behavior for the app, as the mailbox is going to show who the message is From, and since the messages are being moved from the Sent folder, all of the messages will be From your email account. Have the messages ever appeared with a header from the receiver?
    Me:no
    Me:but thats exactly the point can i not simply customize the display fields of a specific mailbox teh way i intend to use it
    Me:if the mails in these mailboxes are sent mails it makes no sense for me to see the sender info... i need to see thd receivers info there for it to be useful
    Me:i would prefer not to leave sent mail in the sent item folder because they seem to disappear if we ever delete the email account.
    KristopherI can understand that, but at this time there is no way to change the individual characteristics of the folders in the On My Mac section, and by Default they are set for holding emails you receive, so they will show the Sender’s name. The best option at this time would be to submit feedback for our engineering team to add this feature, through the feedback tool at www.apple.com/feedback, or look into a 3rd party Mail application who may have the feature already included.
    Me:ok thank you
    KristopherYou’re welcome Vikas. Is there anything else I can assist you with today?
    Me:no that is it, thank you for your help

    Hello Eric thank you for answering,
    Please see again what you are proposing is the way the mails are "Sorted" and not the way they are "displayed".
    These are 2 different things.
    What i was asking is for them to be displayed(listed) based on the recipient( like they are in the sent folder). Sorting can be done the way the user likes.
    Even if i do what you have suggested they will still be displayed( listed ) with all from them being listed from the same sender .
    The Sent items folder should be displayed based on the recipient. When you are viewing sent mail what you want to see id whom you have sent the mail to. Displaying that all the mail were sent by you Is mostly useless unless you want to sort out the if you are sending mails from multiple account.
    I hope you understand the problem i an seeking solutions for and are able to suggest some solution.
    Vikas

  • Urgent. How may i update a properties file in execution time?

    Urgent, please. How may i update a properties file in execution time? I need to update the file by means of a web page and i need the changes be reflected immediately.
    Thanks

    Note the update must be made in memory. But i don�t know how.

  • How to change shape properties after having created one?

    Photoshop CC 2014 -- latest update as of October 06, 2014
    Windows 7
    How can I change a shapes properties after having created one.
    I have created a simple ellipse.
    When I drew the ellipse with the tool, I had the option for the fill color/style and stroke, etc.
    After I have created said ellipse, I wish to change its properties.
    I can use the Paint Bucket, gradient tool, etc for the fill, but is there way to get back to the original set of tools with which I created the ellipse in the first place?
    If I use Edit > Stroke... it adds a new stroke around the existing shape.
    If I use Edit > Fill... the entire layer is filled.
    There must surely be a way to reenter the tool set to edit an existing shape. No?
    Thanks,

    Hi everyone,
    Thanks for the helpful tips, advice, etc.
    I didn't explain myself very well--I apologize.
    However, with your tips I figured it out:
    When I create a rectangle or ellipse, I can later click on its layer and the Properties window appears with options to change their "Live Shape Properties."
    However, not so with the Polygon and Shape tools. With them, the Properties window shows only the Masks, but the Toolbar still shows some basic properties I can change.
    I was stymied by the above differences while working only on a Shape.
    I've attached two JPEG screenshots.
    I didn't need to change the actual shape, just the fill/stroke, etc.
    Later, I may wish to change the actual shape, but that appears to be done by simply creating something new.
    Thanks much!!

  • How do I change the default properties for Replace(Ins)?

    Acrobat Pro X
    Comment tools: Annotations
    All tool icons EXCEPT Replace(Ins) show "Tool Default Properties" as an option when right-clicked.  When I right-click a particular replacement in the document and select "Properties," there is no option to set current as default.
    So, how do I change the default properties for this annotation tool?  I need to change the Author and the color.
    Thanks,
    Nancy

    Create customized controls for your graphs and controls and setup your favorite attributes .
    Use your custom controls instead of the canned controls.
    Do a search on UI and you will find a community that already created custom controls.
    Visualize the Solution
    CLA
    LabVIEW, LabVIEW FPGA

  • How to use Prompts in the Filter created in Change Report Properties

    Hi all,
    I have created one Datetime prompt in Change report properties dialogue box.
    Now how can I use this same one in the filter ??
    Since I didn't get Surface and Prompt option for the Date field in the filter.
    Any help is appreciated.
    Thanks

    Actually problem is with Datatype..It was timestamp but it should be Datetime

Maybe you are looking for