Change properties inside dynamic stack plots

Is there any way in LabView 8.2 now to change the properties of indicators inside an array or cluster?  I want to change the properties of the waveforms inside DynamicStackPlots (http://zone.ni.com/devzone/cda/epd/p/id/3024).  I see on this forum back in 2005 this was last discussed.  I have also tried making a cluster of waveforms (instead of an array of clusters) from which you can at least separately access properties (allowing you to make specific waveforms not visible, yielding dynamic stack plot functionality).  But you STILL cannot modify, say, the plot min range, label, scale... etc.
All ideas welcome!
Thanks,
Adam

Hi, Adam.
This question seems to pop up every once in a while. The answers are different for arrays and clusters:
Clusters
You can access the properties using an explicitly-linked property node (IE, one that takes a control reference as an input). You can obtain a reference to the controls in one of two ways:
  - Right-click on the control (inside the cluster) and select Create»Reference.
  - Create a property node for the cluster and access the Controls[ ] property. This will give you an array of references to the controls inside the cluster, and you can pass that into the explicitly-linked property node. (You may have to use a To More Specific Class VI if you want to access properties that apply to only graphs.)
Arrays
Since arrays are for holding a large quantity of indentical data types, the properties for all elements of the array must be the same. If you really want to sidestep this functionality, however, you can always create an array of references to controls. If you wanted to do that, you'd have to create all your controls individually and then create references for them one by one. Once the references are created you can pass them into a Build Array VI. To alter the properties of any particular control, you'd use an explicitly-linked property node and pass in the appropriate reference.
Let me know if any part of this isn't clear. Have a nice evening!
Message Edited by sarahk on 10-25-2006 04:35 PM
Sarah K.
Search PME
National Instruments
Attachments:
clusterControlReference.GIF ‏6 KB

Similar Messages

  • Dynamically stacked plots of chart

    In LV 2009 it is still not possible to set the number of stacked plots of a chart programmatically. Is there any useable workaround?
    Before I start measurement I know how many channels I will acquire – between 1-16.
    Before the measurement starts I want the chart to display as many plots as I have charts
    I am building exe in the end (in linked thread is proposed some workaround that doesn't work in executables)
    My only suggestion so far is to use 16 stacked plots and play with their height and position to hide and show them = not very friendly. Thanks for any suggestion
    Message Edited by ceties on 01-12-2010 03:28 PM
    LV 2011, Win7
    Attachments:
    StackedPlots.vi ‏14 KB

    If you somehow manage to execute the program with "overlayed" plot selected (with the number of stacked plots wired to the property node )and then switch back o "stack plots" progrmatically i think you can solve this...
    Guru
    Regards
    Guru (CLA)

  • Stacked Plot y-axis property access.

    STACKED PLOT Y-AXIS
    I have a stacked waveform chart showing four plots
    Each plot correctly appears on a different sub-plot
    I can use the set active plot property to loop through the four plots and change their names, visibility etc.
    I can also read which is their active y scale index which corresponds to the plot index (i.e.both 0-3)
    BUT
    When I try and change a y scale property (e.g. label>text) it only ever changes the top sub plot label
    I have tried forcing the active Y-scale index also to no avail.
    I have also tried an overlay plot with 4 different y-axis and have the same problem.
    HOW DO I SET TEH INDIVIDUAL Y-SCALE PROPERTIES ON A STACKED PLOT?
    Attachments:
    stackedplot_yaxis_edit.zip ‏22 KB

    I made 2 small modifications to your VI, take a look at the attached.
    First you needed to set the active Y scale rather then setting the index. But more importantly the property node you are using to set the values is linked to the wrong graph.
    Let me know if the attached does what you where looking for.
    Attachments:
    stackedplot_yaxis_edit2.vi ‏66 KB

  • Change properties in stack plots

    hello
    I'm using a waveform chart in my VI (labview 6.1).I need to display three graphs with diffrent y-scales.
    So I chose Stackplots. The result is one chart with three diffrent output windows. So far so good - but now I need to change the properties of the graphs individually. Primarily I'd like to change the way the displayed points are interpolated.
    I've searched for the place where to make this changes but all I found was a way to adjust the first output chart. All other output windows of the stack plot remain with the standard looking. maybe a quite stupid question ...
    thanks in advance for any help
    Simon

    You need to use/set the "Active Plot" property as per the attached.
    =====================================================
    Fading out. " ... J. Arthur Rank on gong."
    Attachments:
    Use_Active_Plot_v61.vi ‏28 KB

  • Dynamically resizing stacked plots depending on visibility of scale

    Hi,
    is there a way to change plot width in a chart with stacked plots, depending on visibility of scales and number of digits of scales _and_ without resizing width of the chart when all scales are invisible?
    The problem: when all scales are invisible and the number of digits increases, the chart's width decreases and the scales move a little to the left.
    Thanks a lot in advance.
    Cheers,
    Martin

    Hello Martin,
    Could you please attach some sample code of your question. Also, if would be really helpful if you could document the front panel of the code with what to do in order to see the problem you are seeing with the chart's width decreasing.
    Thanks.

  • Changing y-axis in chart stack plot

    I am using LABVIEW 5.0.1f1:
    I plot 8 values in a chart as stack plot by bundeling the values. During
    running programm I want to change the y-axis of the 5th value (changing maximum).
    But if a use attribute node of this char and select "active plot"=5 and "y
    maximum"=40 only the 1st plot window of this stack is changing its y-axis.
    How can I modify the 5th plot window?

    I have the same problem, did you find a solution?

  • How do you programmatically switch between a stack plot and an overlay plot with a waveform control?

    One method i realize is to have two waveform controls, one visible and one not visible. The real issue here is, how to dynamically control the number of plots in a stacked plot. My case,
    i will have between 2 and 8 channels. I have found that in the properties if i set the number of plots - Legend--Plots shown . I can control the number of stack plots, however, i must toggle from overlay to stack plots in design mode for the correct number of stack plots to be shown. Does anyone know a way around this problem or know of the property that has alluded me?

    Hi,
    You cant select between Stack plot and Overlay programmatically. Well not in LaBVIEW 5.1.1.
    You could have two Charts, one set up for Overlay and the other setup for Stacked. Then hide the one you are not immediately using.
    Ray.
    Regards
    Ray Farmer

  • How to calculate the Percent change in a dynamic

    hi All,
    I'm trying to get the percent increase/change of two dynamic
    colums.  In my report, the user has a checkbox where he can select two colums to calculate the percent growth.
    My DataSet is PilarName, Calification(is a decimal value) and Period (this is a string).  I created the Matrix this way:
    PilarName [Period]
    [PilarName] [Calification]
    Which give me these values:
    So, now I need to create another column to calculate the percentage change between these two colums.  I tried this:
    I added a Adjacent column group for Period column and I grouped by the calculated column "ColumnDiff".  Add the following expression.
    =(SUM(Fields!Calificacion.Value)- Previous(SUM(Fields!Calificacion.Value),"ColumnDiff"))/Previous(SUM(Fields!Calificacion.Value),"ColumnDiff")
    After that I get: 
    I'm getting the sum of the two columns instead.
    Any clue about what I'm doing wrong? Please help me, I've been looking for the answer but any solution works for me.
    Luis Carlos

    Hi Luis,
    According to your description, you have a report with different dynamic columns. Now what you want is show your user percentage growth in your matrix report after your user select two of those columns (I think you may use parameter to achieve your “checkbox”
    function). Is my understanding correct?
    In Reporting Service, we can’t calculate dynamic columns with our build-in arrogation functions. So we need to add custom code into our report, and call those functions which defined in custom code in our expression. We have tested your scenario in our local
    environment. Here are steps and screenshots for your reference.
    Go to your Report Properties, add the custom code below into your report:
    Dim Shared Num1 As Double
    Dim shared Num2 As Double
    Public Function GetCalification(Calification as Double,Type as String,Type2 as String) 
    If Type = Type2 Then
       Num1=Calification
    Else
       Num2=Calification
    End If 
    Return Calification 
    End Function
    Public Function GetPec()
    Return (Num2-Num1)/Num1
    End function
    Create a matrix. Put PilarName into Row field, put Period into Column field. In Data field, put the expression below into the textbox:
    =Code.GetCalification(Fields!Calification.Value,Fields!Period.Value,Parameters!Period.Value(0))
    In our sample report, we created a parameter (named Period) for selecting two columns. You can replace “Parameters!Period.Value(0)” with your own parameter.
    Add an outside column at right (%Growth), put the expression below into the textbox:
    =Code.GetPec()
    Save and preview. The matrix and result looks like below:
    Reference:
    Custom Code and Assembly References in Expressions in Report Designer (SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • How to change the images dynamically in a table.

    Hai,
                     How to change the images dynamically in a table based on the condition in webdynpro abap.
    Edited by: Ravi.Seela on Oct 13, 2011 2:17 PM

    This has been much discussed earlier. Do search posts.
    For your scenario i would do the following.
    inside your node which is binded to the table, i create a new node image with cardinality 1 ..1 and a attribute called path of type string.
    create a  supply function for the node image .
    Supply method now has a Element (Parent element ) and node.
    Based on your record in element, set the right image source to path attribute and bind the node.
    This will make sure that the framework calls the image supply function for every row in a table.

  • BAM. Track message payload inside dynamic send port

    Somehow Biztalk 2010 BAM fails to track message payload inside dynamic send port. Messaging properties and Context properties (from our own property schema) are tracked correctly.
    I'm using XMLTransmit with specified document schema property on the send port, but this does not help.
    Tracking the same properties on Receive port is successful.
    What could cause this kind of behavior?

    I do not use ESB. There are only simple send ports. I have been trying to track message payload either from static and from dynamic sen ports. In both cases it does not track anything (only null values).
    I've trying with simple solution: one send and one receive ports. No mapping or other stuff. Tracking profile had the same fields set, both with two ports mapped: one send, and one receive. Receive port line is filled with correct values from message, while
    send port line stays empty (null).
    What could cause such behavior?

  • Stacked plots problem in exe

    Hi,
    Ive got a problem with creating .exe application where 2nd chart functioning properly.
    2nd chart is in subpanel as a stacked plot. I pass via main form numbers of stacked plots. In builder it works perfectly, in .exe not at all..
    Any ideas?
    Attachments:
    WykresOnlineCAN.zip ‏73 KB

    Ok sorry I didnt explain well whats the point.
    There is no problem with properly "refreshing"  of subplot - works fine even without static reference(but thanks anyway, I missed that).
    I cannot changed the number of staked plots in the screen(constanly 1) - in editor mode it changes according as number of flaged plots.
    The problem is show in the pictures below.
    Attachments:
    editor mode.png ‏60 KB
    in exe.png ‏57 KB

  • Change subgrid view dynamically by Javascript

    Hello,
    In my current project Client
    would like an activities view that shows related activities PLUS some fields from those activities.
    Please let me know how to change subgrid view dynamically.
    we are trying to get the same results as in the out of the box subgrid where you get the regarding activities but we want some additional fields such as the To from the phone
    call activity
    I am using below code to achieve this
    // JavaScript source code
    //Change the Fetch XML and set the subgrid ID
    function UpdateSubGrid()
        var SubGrid = document.getElementById("Activities");
        if (SubGrid.readyState != "complete")
            //The subgrid hasn't loaded, wait 1 second and then try again
            setTimeout(UpdateSubGrid, 1000);
            return;
        var fetchXml = "<fetch version='1.0' output-format='xml-platform' mapping='logical' >" +
      "<entity name='activitypointer'>" +
       " <attribute name='subject' />" +
        "<attribute name='ownerid' />" +
        "<attribute name='prioritycode' />" +
        "<attribute name='regardingobjectid' />" +
        "<attribute name='activitytypecode' />" +
        "<attribute name='statecode' />" +
        "<attribute name='scheduledstart' />" +
        "<attribute name='scheduledend' />" +
        "<attribute name='activityid' />" +
        "<attribute name='instancetypecode' />" +
        "<attribute name='community' />" +
        "<order attribute='scheduledend' descending='false' />" +
        "<filter type='and'>" +
        " <condition attribute='isregularactivity' operator='eq' value='1' />" +
        "</filter>" +
        "<link-entity name='phonecall' from='activityid' to='activityid' visible='false' link-type='outer' alias='phonecalllinkage'>" +
        " <attribute name='from' />" +
        " <attribute name='to' />" +
        "</link-entity>" +
        "<link-entity name='task' from='activityid' to='activityid' visible='false' link-type='outer' alias='tasklinkage'>" +
        " <attribute name='percentcomplete' />" +
        "</link-entity>" +
        "</entity>" +
    "</fetch>";
       // fetchXml
        //Set Fetch XML
        //Inject the new fetchXml..
        SubGrid.control.SetParameter("fetchXml", fetchXml);
        //Force the subgrid to refresh
        SubGrid.control.refresh();
    Many thanks in advance.
    Harsha

    Hi Pedro,
    Thank you for your response.
    Actual requirement is Client
    would like an activities view that shows related activities PLUS some fields from those activities. I tried out of box this first but it is not achievable because some entities are not available in entities list to select columns.
    I want to add coulns from related entity inside grid.
    Please let me know how I can achieve this through IFrame, Plugin or ssrs report?
    Thanks in advance.
    Harsha

  • Stacked plots

    Is there a way to have a stacked "Waveform Chart" with 8 stacked charts but display 16 plots, 2 on each chart?

    Ok I found a way to do this.  It is not exactly straight forward but the attached VI and control show what you want.  The secret is in customizing the graph and using the "Y Scale Index" property.
    Follow these steps and you should be golden.
    1. Create your stacked plot with the 16 plots.  So you will have 16 tiny little plot areas... no worries.
    2.  Take a look at the attached code and see how you can select the active plot and then the Y Scale Index associated.
        You at the moment have 16 plots and 16 Y scales.  Simple change the Y scale index of the last 8 plots to be 0-7. 
    3. Try that and notice you now 16 plot areas 8 plots with 2 plots on it, and then 8 that are empty.
    4. The last thing is to get rid of the 8 "blanks".
    5. Select the last 8 plots and make their Y scales not visible.
    6. Finally right click on the chart and select customize.
    7. Select window>> Show Parts Window.  In that new window you can find the last 8 plots, and set their hieght to 1, and change their location.  I suggest moving them under the top plot. 
    8. At this point you have a lot of free space.  Select one of the remaining plots and increase its height to what looks good for just one plot area.  Then select the 8 that you want to show and you can use the "Resize Objects" ring in the tool bar to make them all the same size.  Move them to where you want and bingo.
    9.  You should now have 8 visible plots, and 8 that are hidden.  Save the control and replace the one on your Front Panel.
    You should be done.  Let me know if or where you get lost because I know this is kinda strange.
    Evan
    Attachments:
    Overlaid graphs.ctl ‏31 KB
    Overlaid graphs.vi ‏50 KB

  • How to change the button dynamically?

    Hi,
        My Application is that,when i will press the button(on state-Enliglish text will come on the button,off state-Hindi Text will come on the button).
    So,my problem is that i can't write hindi text on the button,so only way is that i can port the image from the file,so how cal i do this without customizing the button.
    With Regards
    Dibya

    Broken Arrow wrote:
    Baji wrote:
    Place a boolean button in the LabVIEW front pannel and right click>>Advance>>Customize. ......
    Message Edited by Baji on 05-29-2009 04:23 PM
    The question, for whatever reason, was how to do this without customizing the button, although your solution is obviously the best way to do it, and how it is meant to be done.
    So, my question to the original poster, why can't you customize the button like Baji has suggested?
    Agreed.
    I would also encourage posting both in English and your native tongue to try and clarify the issue.
    Looking forward...
    Dynamic language changes are best handled using property nodes to change the captions and text of all FP objects. It is a lot of work to set-up the first time but once completed, maintaining the code is straight froward.
    If there are issues with just changing properties not fullfilling all reqs then a Picture Control takes care of most of the "all other cases" rather well (but is seldom trivial).
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How to change VO's dynamically for a item for each row in advanced table?

    Hi All,
    We had a requirement to filter the employees based on the search criteria table. I am using advanced table for developing search criteria.
    In that table I am having three columns. Operator (messagechoice), Criteria Type (messagechoice), and Criteria value (messageLovInput). Also 'Add Another Row' functionality is available.
    My requirement is:
    First Row:(Initial Row)
    When the user selects a value in Criteria Type, only the values that are relevant to that type should be displayed in the Criteria Value.
    Second Row: (when the user selects Add Another Row button)
    When the user selects a value in Criteria Type, only the values that are relevant to that type should be displayed in the Criteria Value.
    The problem I am facing here is, the Criteria Value column is pointing to only one VO at design time. But wee need to change that VO dynamically without disturbing other rows depending on the Criteria Type value.
    Is it possible to do so?
    Note: User can add n number of conditions as he want.
    Can anyone help how to acheive this.
    Regards,
    Sundeep.

    Check Dynamic Poplist section under Standard Web Widgets in Chapter 4 of OA Framework Developers guide.

Maybe you are looking for

  • How ERMA is implemented in SAP Retail

    Hi I want to understand the concepts and process behing EMRA(Extended Retail method of Accounting). I have gone through the SAP standard keys, characterstics, Infosources and other features related to ERMA but i want ot understand how EMRA is actuall

  • My headphone are not functioning correct

    Ok, recently i just found this forum and im glad to post my problem here. I am using SB Li've! 4., everything is working fine except my headphones. It's like only my Right side is working and my left side is not working when i plugged the plug into t

  • Href link in JSP page not working?

    Hi All, I am creating a web app that at various points accesses various files from a local repository (the app will be installed on WAS instances on local servers and the repository will be on the server with a WAS variable pointing to its location -

  • Brand New Macbook Pro one of the USB wont recognize device

    Hi, I recently acquired a brand new macbook pro i5 core model for school. It was running perfect and I was so happy with my machine the last few days then suddenly last night my mouse didnt work no more. I thought it was strange so I tried the port t

  • Flashing folder, next steps

    I have a 1st Gen unibody MacBook Pro that was running 10.6. I did something in terminal (honestly cannot remember what) and it booted up to a flashing folder ever since. I believe I was messing with the active partition settings trying to get Windows