Unable to use correctly the value property node in a re-entrant VI

Hi everybody,
I am using labview 6.1 and developing an application which call a reentrant SubVI. However when I use the Value Property Node (which I need : the use of local terminal isn't possible in my final application) in the re-entrant SubVI, i get the initial value of the control, not the current value !?
Is there anybody to explain me why and how to solve this problem ?
I have attached 3 VIs for a better explanation.
Thanks.
Attachments:
Master.vi ‏9 KB
Slave.vi ‏23 KB
globales.vi ‏7 KB

You just need to create a local variable instead of a property node to read the value of the control that was passed in. Popup on the control and select Create >> Local Variable. Or just wire the control to where you need it. Data flow is still working; Feroz just explained an idosyncracy of how property nodes work in reentrant VIs.
BTW - I don't mean to turn this into a sales opportunity, but you might want to check out the VI Analyzer Toolkit. It reports the following for a reentrant VI that uses property nodes:
"You are using an implicit property node in this reentrant VI. This can result in unexpected block diagram behavior, as a reentrant VI will occupy multiple data spaces but will maintain only a single front panel. You should consid
er either making this VI non-reentrant, or eliminating the use of implicit property nodes."
I'm not sure how many people would know what the message means, but they would be forewarned and hopefully check into it further (e.g. test with this specifically in mind).
I filed a bug report to have this investigated further and at least documented better.
Roy

Similar Messages

  • Why is the Value Property Node of a Typedef control not typedef itself?

    This is not preventing me from progressing, but I am puzzled by what I am seeing on one of my diagrams (LV 2011).
    I have a typedef control which I am reading around my diagram and passing to some subVI. For this purpose I create a read "Value" Property Node and pass the value to the subVI.
    The subVI uses the same typedef control as that in my calling VI but nonetheless there is a coersion dot on my calling VI's diagram when I connect the "Value" to the subVI connector. Why?
    The closest to this discussion I found was this old one, but it did not end up with a final answer.... It turns out that the typedef control I am talking about is an enum, but that does not matter.
    As a matter of fact, if you connect the Value output of a Property Node to a sequence and create a subVI from that sequence, the corresponding control has lost any link with the typedef. In other words, the Value property node of a typedef control is not a typedef. Why?

    [...] Why?
    Because you haven't posted an idea here.
    Well.. maybe you or somebody else has and I missed it, after all there's more than 14k ideas so for just for LabVIEW.. What? Who said that means there's a lot of room for improvement in LabVIEW??
    Jokes appart, if there is an idea, please give the link.
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

  • Problem with the Value property node (MacOS)

    As far as I have tested it, Value Property nodes (and Value (signaling)) don't work in MacOS : The value property appears as a boolean, the value(signaling) as a cluster (width, height).
    Even with boolean controls, the node is not working.
    No such problem in LV 8.6.
    Am-I missing something ? Is that some "intended use"  ? Or simply a bug ?
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Solved!
    Go to Solution.

    That sounds like some sort of indexing problem with the property nodes like somesort of corrupted installation.  What if you just delete the property node and recreate it?
    I dropped a numeric control and looked at the shortcut menu for the list of property nodes.  Right below Value and Value (signalling) are Visible (which would be a boolean) and Xcontrol, which when you step down through the submenus, the first choice is Container bounds, a cluster of Width and Height.  So these 2 datatypes that are 2 lower on the list match the ones you are getting.
    What happens if you pick another property node a few elements up or down on the shortcut menu?  Does is happen for some other properties, and if so, are thereany properties that are okay?
    Here is what my property nodes look like for a numeric and I draggged the box up and down to show the natural order of the property nodes.  Note that I have scripting installed, so there are a few more property nodes (and the blue box at the top) that you might not have.
    PS.  Check you signature.  The Kudos button is now moved to the left since the forum upgrade. 
    Attachments:
    Example_VI_BD.png ‏4 KB

  • How do I use the Index Values property node with a multidimensional array.

    I am using a 2D array to store operator inputs on my front panel.  I only want to display one element to the operator at a time.  I am trying to use the Index Values property node to change the displayed element.  However, I can only get the Rows index to work.  How do I direct the Columns index as well?  The help says to use one per dimension.  I need clarification on what this is talking about.  I've tried adding a second element to the property node, 2 seperate property nodes, and diferent wiring techniques. (series, parallel)

    If you only wire up one of the inputs (col or row) what you get out is a 1D array of either the column or row. If you wire controls to both, then you will get one element out of the array. Getting a single element in a 2D array requires you to specify both a row and column.
    Message Edited by Dennis Knutson on 02-08-2007 08:34 AM
    Attachments:
    Index 2D Array.PNG ‏2 KB

  • "The 'charCode' property of a keyup event should not be used. The value is meaningless." Is this possibly caused by a virus?

    I don't know what's wrong with my Mac Mozilla Firefox, version 3.6.8, but today, it started alerting me about an error message on the "Error Console". In every website I visit, it tells me: "The 'charCode' property of a keyup event should not be used. The value is meaningless." Is this possibly caused by a virus?
    I saw a pop-up which did not allow me to click it when I scatter the windows on my Mac. I was using Private Browsing, with pop-ups disabled, but one pop-up managed to get passed my settings, and open in another window. It would not allow me to select it, so all I did was to close Firefox, and start a new session. So far, everything has been normal, I also deleted the cookies it installed.
    But, I still keep seeing that "Error Console" notice under my "Tools" on the Menu Bar, and when I clicked on it, it listed errors (such as what I listed above).
    Would someone explain this to me?
    Thanks for your help!

    The messages you see in the Error Console are mostly to assist the web site's author in resolving compatibility problems. Some of them can assist you in determining why a web site doesn't work as intended. The one you mentioned doesn't sound that suspicious, except that it occurs on many sites. Perhaps one of your add-ons is trying to monitor what you type?
    To diagnose whether this is caused by an add-on or one of your settings, you could try the following:
    First, make a backup of your computer for safekeeping. To back up Firefox, see [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information].
    Next, try starting Firefox in Firefox
    [http://support.mozilla.com/kb/Safe+Mode Safe Mode]. Be careful not to "reset" anything permanently if you didn't back up.
    Does that resolve the errors? If so, then an add-on usually is the culprit. If not, try creating a new (blank) profile: [http://support.mozilla.com/kb/Managing+profiles Managing profiles].
    If the new profile works correctly, you can choose between further research on your old profile or moving key settings like bookmarks from your old profile to the new one. [https://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile Recovering important data from an old profile].
    Hope this helps.

  • Unable to debug/correct the CMOD code for a variable used in a query

    unable to debug/correct the CMOD code for a variable used in a query
    i am using the data in a DSO in a query and using a custom coding variable in that query , but this data not coming in that query ..
    can anyone suggest how to debug that cmod code for the variable?
    code is written in CMOD tocde for the variable.

    belowis the code that i have written for a custom coding for a variable
    *******Start***
    IF i_step = 2.
      CASE i_vnam.
        WHEN 'IC_COMPCD'.
         TYPES:       BEGIN OF gt_itab_DyAuthTable,
                           username  TYPE /bic/afiop_o1200-/BIC/IC_USER,
                           companycode TYPE /bic/afiop_o1200-COMP_CODE,
                      END OF gt_itab_DyAuthTable,
                      BEGIN OF gt_itab_Cocd_all,
                            companycode TYPE /BI0/MCOMP_CODE-COMP_CODE,
                      END OF gt_itab_Cocd_all.
          DATA: gi_itab_DyAuthTable TYPE STANDARD TABLE OF gt_itab_DyAuthTable,
                wa_itab_DyAuthTable TYPE gt_itab_DyAuthTable.
           DATA: gi_itab_Cocd_all TYPE STANDARD TABLE OF gt_itab_Cocd_all,
                wa_itab_Cocd_all TYPE gt_itab_Cocd_all.
          SELECT /BIC/IC_USER
                 COMP_CODE FROM /bic/afiop_o1200
            INTO CORRESPONDING FIELDS OF TABLE gi_itab_DyAuthTable
            WHERE /bic/ic_user = sy-uname.
          LOOP AT gi_itab_DyAuthTable INTO wa_itab_DyAuthTable.
            IF wa_itab_DyAuthTable-companycode EQ '*'
              OR
              wa_itab_DyAuthTable-companycode EQ ' '.
              SELECT COMP_CODE FROM /BI0/MCOMP_CODE
                  INTO CORRESPONDING FIELDS OF TABLE gi_itab_Cocd_all.
              LOOP AT gi_itab_Cocd_all INTO wa_itab_Cocd_all.
                l_s_range-low    = wa_itab_Cocd_all-companycode.
                l_s_range-sign   = 'I'.
                l_s_range-opt    = 'EQ'.
                APPEND l_s_range TO e_t_range.
              ENDLOOP.
          to exit the loop if any one value is */space/all for a user's compcode values
            EXIT.
            ENDIF.
          ENDLOOP.
           if control is here means, the comp codes values didnt have */space
              LOOP AT gi_itab_DyAuthTable INTO wa_itab_DyAuthTable.
                l_s_range-low    = wa_itab_DyAuthTable-companycode.
                l_s_range-sign   = 'I'.
                l_s_range-opt    = 'EQ'.
                APPEND l_s_range TO e_t_range.
              ENDLOOP.
      Endcase.
    Endif.

  • Set chart value (property node) from a waveform ARRAY?!?

    Hi!
    In Labview 8.0 I want to send data to a front panel chart via its value property node. This works just fine if I wire a single waveform to the value property (attachment1). However, if I wire it with a waveform array (attachment2) it fails. Is there any workaround?
    Thanks in advance,
      Rudolf
    Attachments:
    attachment1.PNG ‏3 KB
    attachment2.PNG ‏3 KB

    The reason I was showing this with only one graph was that
    the
    two-graph version failed for me. I had tried having separate data
    sources, of course. Just to be sure I have rebuilt the VI from scratch
    as per your diagram (see attached image and VI) and run it again with
    the same results:
    The failure was not in my inability to see the
    plot but rather in an error message (attachment) which would only
    occur if I tried to wire more than a single plot into the value node.
    I subsequently also tried doing this using 1D and 2D DBL arrays and
    observed a similar problem: the 1D case works fine, the 2D case throws
    "insane object" errors and crashes labview entirely.
    Message Edited by frumpel on 04-05-2007 10:53 AM
    Attachments:
    test1.vi ‏16 KB
    block-diagram.PNG ‏33 KB
    error-message.PNG ‏15 KB

  • Alternative units of measure are inconsistent; correct the values in SMW01

    Hi,
    when material replication process is happening we came across an error in SMW01.It shows
    Alternative units of measure are inconsistent; correct the values
    Message no. COM_PRODUCT_UNIT014
    Consider the below example
    we have maintained a material from KG to MM which is not a standard SAP conversion but client requires this conversion as
    Tubes (Steel) are mainly ordered in M (Meters) but invoiced by the supplier in KG. Then used in production in KG again. In that case we need a conversion M <-> KG.
    This is very common practice even in indirect material (e.g. Oil, you order barrels, tu vendor invoices KG and you handle Liters in your stock
    can anyone guide me if there is any BADI or SAP note available for this error.
    regards
    subbu

    Hi,
    I have gone through that note it says that the corrections has to be done at BBPCRM component level but i have gone through the system component version i did not find CRM
    so how can we apply the note?
    regards
    subbu

  • How to assign a dynamic value to the value property of a button ?

    Hi Folks,
    I have a need, can i know how to assign a dynamic value to the value property of a button. Scenario is like follows...
    This is a struts based web application
    1. I have a file which consists of login user details (user name and his previlages) for a web application.
    2. I got those user details, into a List.
    3. When a user logged into the web app, in the home page there are few buttons. The type and number of buttons shown depends on the type of user/ user. (Buttons have different combination and the number of buttons available are not constant, they will vary from user to user).
    4. for each button, there will be a different action. I can pass the value of a button to an action class, but here button must have a dynamic value.
    Here is my test code:
    <%
    if (List != null)
    for (int i = 0; i <List.length; i++)
    %>
    <html:submit property="rduname" value= "<%=List%>" onclick="return submitRdu('<%=List[i] %>');"/>
    <%
    %>
    But my problem is how to assign a dynamic value to the value property of the button ( i know 'value= "<%=List[i]%>" ' will not work, just wanted show you guys).
    Thanks in advance,
    UV
    Edited by: UV_Dev on Oct 9, 2008 2:15 PM

    Let me try i know am not good at JSP but do we need double quotes here
    value= <%=List%>i think JSTL should help you about the dynamic thing                                                                                                                                                                                                                                                                                                                       

  • Component Creation - how to work the VALUE property

    Hey all,
    Have an 80% working component to solve one of my problems (reference http://swforum.sun.com/jive/thread.jspa?threadID=53379&tstart=30, yeah not much there ;-).
    *Taglib class
    *TLD
    *Component class
    *faces-config.xml
    *Renderer
    DT:
    *sun-faces-config.xml
    *BeanInfoBase classes generated with Rave tools.
    Now, my problem is I want to pass the value/data from one object to my object (bind the data). I'm not having much success with this one piece. Can anyone point me to an example or show an example of how to pass **value** property in such a way that the data from, say a textbox, can be shown all the way through to the Renderer?
    A full example would be best, I've added the value attribute into the TLD, and is-bindable in the sun-faces-config, and various coding attempts but still missing some pieces.
    p.s. yes, I've examined the calendar example, the datedisplayer/datepicker example, and half a dozen other ones...still looking :-)
    thanks!
    -D

    In case I'm not making it clear:
    Creating a custom component. I want to bind to a database field, a bean field, or to another JSF component the data. The only way I have found to 'bind' is through the value property located in Java Studio Creator (i.e., you click on the ... or the arrow beside 'value' for the object, and you can select what you want to bind).
    How does one take that 'value' bound information and show the real value in the Renderer class?
    example:
    Bind custom-object 'value property' to an HtmlTextInputBox that has the value "This is a test".
    Render "this is a test" or whatever is entered in the text box to the webpage with the custom-object.
    Bind custom-object 'value property' to a Sessionbean property called 'myNum'.
    Render the value of 'myNum' to the webpage with the custom-object.
    Bind custom-object 'value property' to the field 'mydbdata' in a database.
    Render the value of mydbdata to the webpage with the custom-object.
    USECASE:
    Starting with the tld, how does one accomplish this 'complex' feat?
    *TLD
    *Taglib class
    *faces-config.xml
    *component class
    *renderer class
    so the end result is:
    RENDERER:
    encodeEnd(....
    writer.write("my bound value is: " + howtogettheboundvalue);
    ...

  • Unable to write back the values using allocation

    Hi,
    I am trying to allocate the JAN basic salary to FEb and wants the same to allocate to all the months..
    *RUNALLOCATION
    *FACTOR=1
    *DIM T_GLACCOUNT WHAT = R_BASICSALARY; WHERE=<<<
    *DIM T_DESIGNATION WHAT = MANAGER; WHERE=<<<
    *DIM RPTCURRENCY WHAT = LC; WHERE= <<<
    *DIM T_CATEGORY WHAT= PLAN; WHERE = <<<
    *DIM T_DATASRC WHAT = MANUAL; WHERE= <<<
    *DIM T_ENTITY WHAT= US01; WHERE = <<<
    *DIM TIME WHAT= 2010.JAN; WHERE= 2010.FEB
    *ENDALLOCATION
    *COMMIT
    but its not writing back the values to Feb even though its not showing any error.
    Even i am trying to write values to all the months in the year once it is posted to JAN like..
    *DIM TIME WHAT=%YEAR%.MONTH; WHERE=<<<
    But its saying 2011.Month not exists as i have time master data till 2010 only..is ther any alternative which i can use???
    Your help is appricaiated...
    Thanks,
    Naresh.K

    Hi Naresh,
    I understand that you want to allocate the values in Jan to all the other months of the year
    In that case you can try the below logic as well
    *XDIM_MEMBERSET T_GLACCOUNT = R_BASICSALARY
    *XDIM_MEMBERSET T_DESIGNATION = MANAGER
    *XDIM_MEMBERSET RPTCURRENCY = LC
    *XDIM_MEMBERSET T_CATEGORY = PLAN
    *XDIM_MEMBERSET T_DATASRC = MANUAL
    *XDIM_MEMBERSET T_ENTITY = US01
    *FOR %YEAR%=2009,2010
    *FOR %MONTH%=FEB,MAR,APR,MAY,JUN,JUL,AUG,SEP,OCT,NOV,DEC
    *WHEN TIME
    *IS %YEAR%.JAN
    *REC(TIME ="%YEAR%.%MONTH%")
    *ENDWHEN
    *NEXT
    *NEXT
    *COMMIT
    Regards,
    Shoba

  • Error trying to change the value property of a cell with decimals

    This is a script question.
    I’m using a system defaulting to Spanish, so the decimal delimiter is the comma.
    During a script I need to change the property value of a cell multiplying it by -1. As an example, I want to change 1,25 into -1,25.
    This is how try to do it:
    tell application "Numbers" to tell document 1 to tell sheet 1 to tell table 1
    set selection range to first cell
    set mi_cell to (value of first cell of selection range) * -1
    set value of first cell of selection range to mi_cell
    end tell
    The expected result is wrong provided that the original value of the cell has decimal value. Otherwise is correct.
    See examples of what happen after running this piece of the script:
    1,25 becomes -125,00 instead of -1,25
    6,00 becomes -6,00 (in this case is correct)
    Does anybody know how to solve this problem?
    Thanks in advance.
    Ratz

    This was described here in several scripts.
    Before setting the value of a cell to a number or a date, the value must be coerced to a string.
    It's the only way available to take care of localization features.
    Your script must be
    tell application "Numbers" to tell document 1 to tell sheet 1 to tell table 1
    set selection range to first cell
    set mi_cell to (value of first cell of selection range) * -1
    set value of first cell of selection range to mi_cell as text
    end tell
    or better
    tell application "Numbers" to tell document 1 to tell sheet 1 to tell table 1
    set mi_cell to (value of first cell) * -1
    set value of first cell to mi_cell as text
    end tell
    CAUTION : don't code
    tell application "Numbers" to tell document 1 to tell sheet 1 to tell table 1
    set mi_cell to -(value of first cell)
    set value of first cell to mi_cell as text
    end tell
    which is supposed to do the same but would return the opposite of *_the integer value_* of the cell.
    Yvan KOENIG (VALLAURIS, France) dimanche 13 février 2011 16:06:39

  • Unable to use all the feature of my email service (Juno on the web) like; font size/color, bolding, italics, highlighting etc why? Those features work through Internet Explorer but not Firefox.

    When I go to my Juno on the web through Firefox, I am unable to use the tool features such as:
    Font size / Color
    Bolding
    Italics
    Bullets
    Highlighting
    just to name a few. Yet when I bring it up through Internet Explorer these features work, plus the way Firefox reads my Juno the tabs are distorted (the page is not formatted correctly, I contacted Juno they said I should contact my modem company AT& T they said no so you are my last resort.. Please help resolve my issue, THANK YOU in advance for assisting with this matter.

    It is up to Juno to enable Midas, the Rich Text Editor which is built into Firefox, with one little line of code on every web page that has RTE for IE. There's nothing that you can do to turn that feature on your self, it has to be coded on each web page that has Rich Text Editing.
    http://www.mozilla.org/editor/midas-spec.html <br />
    http://kb.mozillazine.org/Midas
    Their ignorance probably lies with their staff programmers only knowing how to do it for IE ''(their training and certificates are probably from the Microsoft cabal)'', and not realizing that Gecko and WebKit apps each have their own Rich Text Editor's, which require their own small line of code to enable those Editor's.

  • How can I set the timing property node to sample clock property

    I am developing a code for acquiring acceleration data from cDAQ 9184 using DAQmx VIs. I need to include a timing property node with a (sample clock rate) reading property. How can I do that?
    Solved!
    Go to Solution.

    I really appreciate your effort. NowI have this property Node '' DAQmx Timing'' on the block diagram but the problem is that when click on the property NO menu shows up there. I dont know were the problem is. Is there any software drive I need to install other than DAQ mx to solve this problem? The same problem happent any time I want to use a property node. Let me send you my code file so that you can see where the problem is. And I really thank you in advance for your support.
    Attachments:
    acceleratiom programing code with logging and Analog Triggering.vi ‏22 KB

  • Unable to use or the back arrow & has stop working

    unable to use the back arrow , will not work on any site, just stop working
    thanks

    You can check for problems with the <b>places.sqlite</b> database file in the Firefox profile folder.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.org/kb/Bookmarks+not+saved#w_fix-the-bookmarks-file
    *Places Maintenance: https://addons.mozilla.org/firefox/addon/places-maintenance/

Maybe you are looking for

  • Reg. Creation of Super BOM

    Hi all, Pls tell me how to create Super BOM. I am using ECC6.0 My Requirement is i want supply a finished Product for Eg. Car which has many variants like Colour,Engine Type etc.,I have to create Variant BOM that is Super BOM for this Fin.Product Car

  • Am unable to start the listener, it throws error# TNS-12560 and TNS-00583.

    $ lsnrctl start ---------------------------------------------------ERROR MESSAGE---------------------------- LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 25-SEP-2011 00:01:50 Copyright (c) 1991, 2005, Oracle. All rights reserved. Starting /u

  • Error on DocumentsToGoFiles47

    I recently downloaded and installed "Documents To Go Files onto my ?Blackberry Bold 9000 and when opened it ended up with an "Error starting DocumerntsToGoFiles47:Class 'net.rim.device.api.ui.text.BreakIterator' not found" Please advise how I can res

  • Using Spring in Nitrox for JSF

    Hallo -- I have a full domain model implemented with Hibernate and Spring, making extensive use of Spring's Hibernate APIs, so need to be able to include Spring support in my Nitrox JSF app. The problem is, all I can find is seemingly contradictory a

  • I have lost Safari from my iphone. How do I reinstall it?

    I have somehow lost Safari from my iPhone. Can anyone help?