Change the Sub.vi field

I want to make a sub.vi to manage all of my property nodes that I use to customize my XY graph, and I have a general question about how I connect.

Attached is a composite of 2 fired, the bottom is the expanded view of the sub.vi to change the route.

In my main program (represented by half superior) my "Vibration response trace" is elsewhere in the .vi, within a state machine within a producer/consumer.  The .vi change parcel will be run before or after the plot has already been formed, not while he is in training.  (it is not placed inside the state machine with the real indicator of XY, but outside of it).

I didn't know how to make nodes property to reference my field correctly when you use a sub.vi.  What I ended up doing was make a graph XY CONTROL in the sub.vi and wiring of a local variable in compatible reading at the entrance.  (I can not turn the main XY graph in the program in a control because I use the original indicator and a "build graph XY" to write about it.)

I am concerned about 2 things:

(1) if the nodes in my property will return the correct plot and change the background, plot color, etc. correctly in the main .vi

(2) If using a local variable as long as such short risk to wipe the main XY graph to clean up data, i.e. If the local reads the chart before the data are there, but don't run the sub.vi until after data is collected, will it reset my chart when it crosses the sub.vi

You must create a reference to the curve XY in the main VI.  Pass this reference to the Subvi and use it to access the properties and methods of the chart.  Everything you will ever in and out of the terminals as you do now is the value.

Tags: NI Software

Similar Questions

  • Can we change the type of field dynamically in the Apex

    Hi all

    Using Apex 4.0;
    Is it possible to dynamically change the type of field from one to the other? I have a list of selection; If the user selects a particular value, I need to display the next filed a tabled text, and if a different value that he chose the need to view it as a selection list.

    Please guide me,

    Thank you

    If these two form elements are two different columns in your table, just use the regular treatment.
    Otherwise, you can either
    -Create a view on top of your table that contains two columns (thus duplicate), use the regular treatment of APEX and doing the real work to instead - relaxing on your view or
    -Choose elements to map to your table.column and (when the other field is shown and modified) copy the value to the first element with dynamic Action.

  • Change the default address fields

    Hello

    Is it possible to change the default address fields (account, contact addresses)? For example, the user wants to add 'States' when the country 'India' is selected.

    Thanks, Sab

    SAB, in this moment, it is not possible to change the address fields. Currently, the address fields are determined by the selection of countries.

  • How can I change the navigation between fields filliable

    We have created a form to fill out and when you tab through the fields several times the cursor jumps several areas that need data.  I need to have the tab "" move the cursor to the next in the line field.

    You need to probably just change the tab order, assuming that the fields that are being ignored are not set to read-only. If you use a recent version of Acrobat, you change the tab order by arranging the field names in the Panel fields in form editing mode. You can also set it to 'Order tabs by line', 'Order tabs by Column' or 'order Structure tabs.

  • How can we change the labels of fields in the query of the adf please?

    Hello, I would like to change the labels field in a query of the adf, as they were created by default by oracle.

    The only found code is:

    <af:query id="qryId1" rows="6" headerText="Search" disclosed="true" maxColumns="2"
                                value="#{bindings.ImplicitViewCriteriaQuery.queryDescriptor}"
                                model="#{bindings.ImplicitViewCriteriaQuery.queryModel}"
                                queryListener="#{bindings.ImplicitViewCriteriaQuery.processQuery}"
                                queryOperationListener="#{bindings.ImplicitViewCriteriaQuery.processQueryOperation}">
                        <af:inputText value="#{bindings.PrtDesc.inputValue}" label="Desc"
                                      required="#{bindings.PrtDesc.hints.mandatory}"
                                      columns="#{bindings.PrtDesc.hints.displayWidth}"
                                      maximumLength="#{bindings.PrtDesc.hints.precision}"
                                      shortDesc="#{bindings.PrtDesc.hints.tooltip}" id="it3">
                          <f:validator binding="#{bindings.PrtDesc.validator}"/>
                        </af:inputText>
                      </af:query>
    

    Hello

    If you use ADF BC, set flags of the UI on the attributes of the View object for attributes and these will make labels

    Frank

  • When we change the non-mandatory field in the form, it is not updated

    Hello... I have a question here...

    If I required fields in a custom form, and when I ask the form and change the value in the non-mandatory field and click on save, then it does not save. It is said ' no changes to save "." But it is not the same for the non-compulsory fields.

    Can you please suggest me?

    -vrdida

    If you have an element with an assigned LoV it much difference if you change the value of points (assuming that you have either the property 'Validate list', the value yes or you have a WHEN-VALIDATE-POINT-trigger who performs the search ID fk of the given text) or if you visit the 'empty' field, or NULL. In this case, you must create a WHEN-VALIDATE-trigger POINT on the element, which "cleans" the Fk - id as

    IF :BLOCK.LOKUP_ITEM IS NULL THEN
      :BLOCK.FK_ID:=NULL;
    eNd IF;
    
  • Change the next key field "enter" instead of "tab".

    Is there a way to change the key assigned to move to the field next to the 'enter' key, and not the default key to 'tab' in a zone limited within the shape?

    Hello

    Here is an example: https://acrobat.com/#d=RZ1lzX23 * u7L4N9rtWCYPQ

    Note If the user is using the tab key, then the script does not occur.

    Good luck

    Niall

    PS one thing to keep in mind is that "index" is based, zero, while 'count' starts at 1.

  • change the length of field

    Using database Oracle 9.2.0.5 on Oracle Enterprise Linux and Oracle Report Builder 10.1.2.0.2 on Microsoft Windows XP Professional SP2.

    I have changed the length of a varchar2 column in my database from 4 to 8 and to update the fields that correspond to this column in my reports.

    How this is done?

    Open your query, add space and press OK... your domain should now reflect the changes made to the database.

  • How can I change the edict and fields of association of open files

    Programs\Set default associations open edit

    Under default Programs\Set Associations, I can only indicate a program to open a document with the specified file type. I need to be able to distinguish between open and edit.

    How can I specify a different binairy to open and edit a file of the specified type.

    Thank you

    Change the actions for other verbs that 'open' needs editing the registry in Windows 7/Vista. Because the tab "File Types" excellent who was present in Windows XP, is gone in Windows 7/Vista.

    If you don't want to mingle with the registry manually, there is a nice program that allows you to add/edit the additional verbs for a file type.

    Default programs Editor - an editor useful for Windows 7 and Vista file associations

  • Is it possible for 2 or more FxV strike filters to change the same custom field?

    Hello

    is it possible to have 2 (or more) FxV hit update the same custom field filters?  I know that the filters 2 or more successful can update the same metric, but not what I need.

    I have a filter tube set for each stage of a procurement process of several steps (such as beginning, calculateOrder, processPmt).

    In the first filter of success, I have extracted something similar to a username.  That the same info is in the other two hit filters for each step of the process.  If the FxV user performs a search on the 3rd filter, that is processPmt, then in results research they won't see all of the data that in are extracted by the first hit (start) filter.   So I tried to add a custom field to the 3rd hit filters which also extracts the data of the user ID and her add her to the same custom field, but it won't let me because this field is already used.

    ideas?

    THX

    "mark".

    Mark,

    I can be missing what you are trying to do, but you should be able to use a custom field in another filter of success.  You want to ensure that you choose the name already in use, as opposed to the 'new custom field".  So for the update/addition to hit the 'user name' field, you'd like this screenshot.

    You set the condition and choose setting the value to append or reset as you wish.  And then save the filter hit.

    Was what you were trying to do, or something else?

    Jeff

  • Can I change the "Card Type" field on the payment page?

    I'm not real familyar with forms so I don't want to spoil one on chekout page.

    This is the default value:

    < select style = ' width: 240px; "name ="CardType"id ="CardType"class ="cat_dropdown">

    < option value = "1" > Visa < / option >

    < option value = "2" > Master Card < / option >

    < option value = "3" > credit card < / option >

    < option value = "4" > American Express < / option >

    < option value = "5" > Diners Club < / option >

    < option value = "6" > JCB < / option >

    < / select >

    I don't really need to credit card, Diners Club and JCB so I guess I can just delete them.

    I would like to Discover Card ad to the list.

    Can I simply change to "Credit card" to "Discover Card" or will it spoil the transaction?

    Hello eric_413,

    The type of card is not a mandatory option for the order form work. You can remove it and place an image of the cards excepted, if your merchant provider except Discover it's all you need.

    Here is one of our model sites that gives an example: http://hpwtemplate002.hotpressplatform.com/

    For your second question, Yes. Simply place the form in the order_registration page, not to a module.

    Hope this helps,

    Chad Smith | http://bcgurus.com/Business-Catalyst-Templates for only $7

  • How promt user to save the changes when you change the non-base fields?

    Hello
    I have a form with two tabs. The datablock Block_1 on tab_2 is based on a view of database. But all the displayed items of the Block_1 are non-base of data elements. Whenever a user changes some elements of Block_1 and press the button Save, the values of non_db elements copied from the db_items (based on the view), and commit_form is called. It works very well.
    But the problem here is: after the change of some elements of block_1, if the user navigates to another form/option in the menu, the shape is not promt the user to 'save changes' and all changes are lost. How can I fix it?
    I have a form level key-release trigger, (which does not fire) with the following code: -.
    Declare
      X  Number;
      alert_is             alert;
    Begin
          
    If :System.Mode = 'ENTER-QUERY' Then
         
            Exit_Form;
           
    Else
      If :System.Form_Status In ('NEW','QUERY') Then
           alert_is := FIND_ALERT('TMPL_EXIT'); -- "Are you sure you want to exit?"
        X := Show_Alert('TMPL_EXIT');
        
        If X = Alert_Button1 Then
           Exit_Form(no_validate);
        End If;
        Else
           Exit_Form;
      End If;
    End If;
    End;

    When button preesed trigger that fills your block:

    --somewhere in loop after NEXT-RECORD and assigning values:
    set_record_property (:system.cursor_record, :system.cursor_block, STATUS, QUERY_STATUS );
    

    Now you can copy the values of the elements not db to db items in when-validate-item.

    Of course, it is a quick fix and dirty. Good way would be to solidarity block using EXECUTE QUERY, delete everything in mirror and do you calculations in a trigger post-requete

    Published by: Slava Natapov on December 9, 2009 14:18

  • Change the uppercase form field

    My users want data entered on a form to display as the capital letters. I already have code in my entity to upper case object all the input data while it is written in the database uppercase. "I tried to create a new style in the file custom.xss - < style selector =". XX_UPPERCASE' > < name of property 'text-transform' = > case < / property >
    < / style >. I updated my PG.xml file so that the CSS class for the input data is now XX_UPPERCASE. I deleted the swanEXTN file in the cabo\styles\cache file and ran my page. Editing the custom.xss file does not appear to take place. I use the code on my local host in JDeveloper 10.1.3.3.0.

    Am I missing something? I'd rather not have JavaScript code in my controller. I agree with another poster that it is better to let the framework handle, viewing the page (also issues potential browser).

    Thanks for any help.

    http://oracleanil.blogspot.com/2010/10/restrict-user-to-enter-data-in-caps.html

    Thank you
    -Anil
    http://oracleanil.blogspot.com

  • Check box to change the value of the field and reveal hidden text

    Hello

    I need to change a value in a field when you press a checkbox

    the default value can be $ 10 in 'formfield1 '.

    But when the checbox is checked, the value of 'formfield1' must spend $ 8

    I also need a reval text function in "textfield2' of the text hidden to visible.

    Is it still possible to combine in a box?

    I found a code on the forum and changed it, but it does not work as expected, it affects the field, it shouldn't and it behaves a bit funny, here is the code to calculate.

    I also tried to change the value of Off to On, but who has not reversed the procedure than I hoped.

    Well its a start, maybe someone can understand a give me help on the way?

    ________________________________

    custom for the discount calculation

    var nDiscount = 2;

    name of the Sub total field

    var cSubTotal = "formfield1";

    name of the non-Discount checkbox

    var cbNonDiscount = "CheckBox1";

    default value for the non-Discount

    Event.Value = 10;

    see if the purchase is with discount or not non-Discount

    If (this.getField ("cbNonDiscount") .value == 'Off') {}

    Event.Value = this.getField ("cSubTotal") .value - nDiscount;

    }

    put an end to a custom calculation

    Ah, if you want the calculation to take place when the box is checked, use this:

    If (this.getField (cbNonDiscount) .value! = "Off") {}

    Instead:

    If (this.getField ("cbNonDiscount") .value == 'Off') {}

  • Is there a way to change the default sort of the Explorer of Windows 8 fields?

    I would like a way to change the default sort fields to explore.  For example, a default pictures folder displays the fields 'name; Date; Type; Size; Tags '.  Is there a way to change this so that a default pictures folder indicates 'Date Modified' instead of 'Date' when sorting.

    In addition, the default order can be changed also?  Sticking with the example files pictures, is there a way so that instead of sorting by name, the default is sort by modified Date in ascending order?

    Try the following (similar to earlier versions of windows):
    Right-click on the folder
    Properties
    Customize
    -Choose among five models (General information, documents, photos, music, video - what's in a name?)
    -choose to apply to subfolders
    ARange such view as described by Kevin
    In the menu bar:

    View

    Options
    Change the folder and search options
    View
    Apply to records (of the same model)
    Hope this helps
    JVH

Maybe you are looking for