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

Similar Messages

  • 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

  • Changing the property node from an control in an cluster raises an error in LV2011

    Hi, all
    when I run the code in LV2010 SP1 no problems.
    But in LV2011 it gives an error.
    Is this an BUG
    Attachments:
    test.vi ‏18 KB

    Franzo,
    It certainly is strange.  The error comes from the Width property node, but it occurs when ReadoutMode is clicked.  It does not need to be changed.
    Wrapping it in an event structure (ReadoutMode: Value Change) seems to eliminate the error.
    Questions for someone at NI who knows how these things work internally: It is also interesting that the data type of the Maximum property is always DBL, regardless of the datatype of the control.  Should not a U16 control have a U16 Maximum? And what about the Extended datatype? How can a value larger than the maximum for a DBL be set via a property node of type DBL?
    Lynn

  • 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

  • Dump in user exist CC01 to set default value to valid from date

    Dear friends,
    Task is to set default value to valid from date field in Transaction "CC01".
    In INCLUDE ZXCCAU01 of Function 'EXIT_SAPMC29C_001' in Enhancement 'PCCD0001' I written the code like this
    DATA var LIKE sy-datum.
    var = var + 1.
    which is not related to program by creating project and activated the project.
    When I run cc01 it is giving dump.
    Error is :
    Program "SAPLXCCA" tried to use screen 1000.
    The screen does not exist.
    Can some one guide me What is the problem and How to resolve this.
    If not, Is there any other method this can be done.
    Regards,
    Venkat

    Hi venkat,
    DATA var LIKE sy-datum.
    var = var + 1.
    the code u written i guess not ok.The code used by kishan is correct. i.e
    DATA var LIKE sy-datum.
    sy-datum = sy-datum + 1.
    var =  sy-datum.
    write var.
    use the above code.
    SAPLXCCA is a functionpool not a program.please check the same.
    regards,
    Nagaraj

  • 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

  • Setting Chart type property of iSPC chart dynamically doesn't work

    Hi all,
          I am trying to set the chart type property (XBAR, MEDIAN etc..) of iSPC chart dynamically from my html page.
    This is the code that I used.
    var chart_obj = document.iSPCChart.getChartObject();
    chart_obj.setChartType("MEDIAN");
    iSPCChart is my Applet name.
    But the code doesn't seem to work.
    The chart is always of the type that I have set in the iSPC display template.
    Can someone help me in this regard?
    Thanks a lot.
    Regards,
    M.Subathra

    M,
    Even though that method shows up in the script assistant and the docs it really doesn't work. 
    Just swap out the display template for one saved with the desired type:
    document.iSPCChart.setDisplayTemplate("Folder/MedianChart");
    document.iSPCChart.updateChart(true);
    With all of the alarm rules, colors, limits, settings, etc. it is not likely that you will have the same view (display template) that applies to every SPC chart type.
    There is also a predelivered example of an SPC Chart that uses an iframe and an irpt to dynamically pass the chart type (along with other settings) you can reference: http://<servername>/Lighthammer/Samples/SPC/Servers.irpt
    Regards,
    Jeremy Good

  • Updating a property node from a sub-vi

    I want to have a string indicator box that updates as my program moves along, i have been using the property node this works fine in the main vi but now i want to update it from a sub iv. any ideas?

    Tip: The easiest way to accomplish this is to do the following:
    In your top-level VI that has the control right-click on it and select Create-->Reference. This will allow you to place a reference in top-level VI's block diagram.
    Create a new VI that will be your subVI.
    Drag and drop the reference object from the block diagram of your top level VI to the front panel of your new subVI. This will create a reference control on your subVI that is of the same type as the control on your top-level VI.
    Connect the reference control on your subVI to a connection terminal, and then wire the reference object in your top-level VI's block diagram to the subVI's input terminal.
    Then, in your subVI you can just use the standard "Property" and "Invoke" nodes to fiddle with the control.

  • 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

  • Different set of values for two rings in an array of clusters

    Hi, people.
    Is it possible to do what it's shown in the attached picture?
    I have an array of clusters. Two elements of the cluster are rings. Can I define a different set of values in the second ring (the one at the right) depending on the value selected in the first ring (the one in the middle)?
    If not, could you give me a good alternative?
    Thanks,
    FranciscoMensaje editado por Porras
    Attachments:
    Rings.jpg ‏270 KB

    I'm trying to do something very similar to your example but populate the comboboxes (or Rings) programmatically.    What you have is so, so close but it seems to require input from the mouse to get the correct control.    I don't really understand why you can change the String[] parameter in your program and it works fine but mine changes all the elements throughout the array.    The Refnum for the control does not change regardless of what cell is selected.   So, I'm a little puzzled how the correct cell or element is updated with the new combobox string.   
    Ultimately, I want to have an array of variables with an associated combobox (ring) of options.     So, for variable Temperature, the options are Cold, Cool, Warm, and Hot.   Then, variable 2 is Pressure, which might be Low, Medium and High.    Yes, this is for a fuzzy logic controller (not part of the NI Controls Toolkit).
    Any help is greatly appreciated!!!
    Attachments:
    TestRing.vi ‏19 KB

  • How to set default value of VO from pageflowscope variable

    Hi All,
    I have a page for creating new records and when the user clicks on the create button I show a pop up window for creating the new record.
    I would like to default few values when the page pops up.I have these default values in pageflowscope variables at this point of time.
    I guess I might have to override the create method of the VO row impl and set the default values.But How do I access the pageflow scope variables in the VOROwImpl.
    Please let me know.
    If this isnt the best way of doing it, please suggest alternative best practice.Thank you!
    Thanks,
    --John.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Have a method in AMImpl which would take the list of attributes along with the values (that are to be defaulted).
    In this method, create & insert a new row and set the default values from the input parameters.
    Expose this method thru client interface so that it is exposed as part of data control.
    In the View/UI layer, to create a new row, call this AM method thru the data control with the list of page flow scope variables that you have currently.
    Thanks,
    Navaneeth

  • Property Node activated even though it's been removed from Block Diagram

    Hi,
    I messed around with the property node of one of my controls and when I was finished and removed the property node from the block diagram it still makes my control blink.
    How do I make it stop??
    Is the option of Enable state not possible to set in property node mode. I'd like to go from disabled and grayed to enabled.
    Thanks.
    Solved!
    Go to Solution.

    Hi
    Your blinking property might still be set. Add the property again to set it to False.
    To set the enabled/disabled/grayed state use the "Disabled" property.
    Hope this helps.

  • Set the value of a CWNumEdit Control from within the code

    I am trying to update a CWNumEdit Control with data created during program execution.  I am using the set_Text function but it does not seem to be working.  I was wondering if there is something that I am missing to get this functionality to work.  Please help.
    I am developing a VS .NET 2003 WinForm GUI and am Using Measurement Studio 8.1.1.

    Hello mtd32610,
    I noticed this question was already posted on this forum.  We like to
    keep all questions related to a single issue confined to one forum, so
    please direct all future replies to one post or the other.
    As Jervin_J mentioned in the previous post, the standard method for
    updating a CWNumEdit control is to set the Value property of the
    CNiNumEdit object that is associated with this control.  You do not
    need to call the set_Text function, in fact I am not familiar with any
    set_Text function, so I think you may be calling this method on the
    wrong class altogether.
    You should have an object associated with your CWNumEdit control that
    you can set the Value property for.  As mentioned in the reply from
    Jervin_J, the normal way to populate the control is to use:
    <control>.Value = <numeric_value>;
    Regards,
    Marty H.
    National Instruments

  • When i change the value of a combo box using a property node it displays the value not the item label

    I am using a combo box as a select list for text serial commands.  I have items like "engineering", "GUI", and "Scan" for the commands "MDE", "MDN", and MDS respectively which i have input as the corresponding value in the combo box.  so for example the label "engineering" has the value "MDE" in the combo box items list.  when the Vi starts it needs to read the current value MDE, MDN, or MDS and then i want it to display on the front panel the item text corresponding to that command value.
    To do this i have tried to read the serial command, ie MDS and then wire that to a "value" property of a property node of the combo-box, but instead of displaying the corresponding item label, "Scan", it displays the value "MDS" on the front panel instead.  i want the front panel to use the label text when choosing and displaying but the block diagram to use the serial commands.  Can this be done with a combo box?  I'm trying to use a combo box so i can keep it all text and avoid having to build a case statement to convert enums or rings from a numerical value to the text command.
    The correct text value is wired to the value property and it does exist in the combo-box.  I have unchecked "values match items" and selected to not allow undefined values.

    Don't use the value property node.  Use the Text.Text property node.  When creating the property node, select Text, then in the next pop-up box, select Text.
    - tbob
    Inventor of the WORM Global

Maybe you are looking for