Graphs in cluster

Hi,
When I run this vi the graps remain empty. How come the data is not being graphed? 
Also is there a better way to access the graphs in a cluster. Can I loop through the cluster? I don't want to put the graphs in an array because I want them to be able to have different properties.
Thank you!
Solved!
Go to Solution.
Attachments:
dataToPlots.vi ‏63 KB
Pciture.PNG ‏91 KB

You can put them on a 2d array and then plot in different waveforms. You can do it in many different ways. 
Each plot can have their own Y scale/properties as you wish. 
One good way to think is to do that programatically, using References. 
Please see my example attached so you can have a better idea of what Im talking. about. 
Feel free to modify this subvi to update the properties you need to use for your data. 
But the concept is the same. Create references to your graphs from the main vi, build an array of references and pass this array as input to the subvis. Inside the subvi you can update as many properties as you want. Please remember to use the error cluster if you want to see if there is an error at any point. 
Please let me know if you need additional help. 
ricardo
RKO
Attachments:
Updating Value with Property nodes.vi ‏21 KB
Updating values.vi ‏19 KB

Similar Messages

  • Why does my graph not Cluster?

    My graph does not cluster like it should. I am charting two
    years worth of data...same number of months. But the cluster is not
    working. It displays all of 2006 first, then all of 2007. I'm using
    CFMX 7.0.2.
    <CFCHART
    CHARTWIDTH="500"
    CHARTHEIGHT="300"
    SCALEFROM="0"
    SCALETO="1000"
    GRIDLINES="6"
    YAXISTITLE="Reports Run"
    XAXISTITLE="Run Date"
    FOREGROUNDCOLOR = "000000"
    BACKGROUNDCOLOR = "EDEDED"
    FORMAT="Flash"
    seriesPlacement = "cluster"
    show3d = "yes"
    URL="reportlog.cfm?run_dt=$itemlabel$&drill_request"
    >
    <CFCHARTSERIES
    TYPE="bar"
    QUERY="getCounts06"
    VALUECOLUMN="total_count"
    ITEMCOLUMN="rundate"
    SERIESCOLOR="ff0000"
    SERIESLABEL="Total runs"
    >
    <CFCHARTSERIES
    TYPE="bar"
    QUERY="getCounts07"
    VALUECOLUMN="total_count"
    ITEMCOLUMN="rundate"
    SERIESCOLOR="9999CC"
    SERIESLABEL="Total runs"
    >
    </CFCHART>

    My graph does not cluster like it should. I am charting two
    years worth of data...same number of months. But the cluster is not
    working. It displays all of 2006 first, then all of 2007. I'm using
    CFMX 7.0.2.
    <CFCHART
    CHARTWIDTH="500"
    CHARTHEIGHT="300"
    SCALEFROM="0"
    SCALETO="1000"
    GRIDLINES="6"
    YAXISTITLE="Reports Run"
    XAXISTITLE="Run Date"
    FOREGROUNDCOLOR = "000000"
    BACKGROUNDCOLOR = "EDEDED"
    FORMAT="Flash"
    seriesPlacement = "cluster"
    show3d = "yes"
    URL="reportlog.cfm?run_dt=$itemlabel$&drill_request"
    >
    <CFCHARTSERIES
    TYPE="bar"
    QUERY="getCounts06"
    VALUECOLUMN="total_count"
    ITEMCOLUMN="rundate"
    SERIESCOLOR="ff0000"
    SERIESLABEL="Total runs"
    >
    <CFCHARTSERIES
    TYPE="bar"
    QUERY="getCounts07"
    VALUECOLUMN="total_count"
    ITEMCOLUMN="rundate"
    SERIESCOLOR="9999CC"
    SERIESLABEL="Total runs"
    >
    </CFCHART>

  • Read & write lvm files

    Hi All,
    I am plotting one parameter against two parameters on XY Graph. I need to send this graph along with 4 numerics & 1 string data captured during the testing for printing. So I just thought of saving this as LVM file into a location & filename of my choice & read back for printing after the testing is over.
    XY Graph requires cluster of 2 elements(one is X array, one is Y array) for plotting. I tried writing only graph part alone to lvm file by builiding an array. But when I tried to read back this, it is not either reporting any error or showing the graph on the indicator.
    Hope someone can suggest me how to do.
    Thanks
    Kousy

    Hi,
    I am sending my vi, LV 7.1 version. Hoping helps me out how to use write & read lvm express vis.
    Regards,
    Kousy
    Attachments:
    WriteNReadlvm.vi ‏183 KB

  • Saving images from apd process automatically into DSO or DB?

    Hi All,
    Is there any possibility to save those statistical graphs or cluster/regression-analyses images right into a DSO or Database?
    i know i can rightclick them and save thats not what i need.
    Or is there any way to trigger the apd-process except (RSAN_PROCESS_EXCECUTE) and tell the process to save certain images?
    i searched the forum for answers but no success...
    Thanks in advance,
    Yves

    You'll need to submit a feature request.
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    You can quickly correct the incorrect sizing by right
    clicking and selecting Resize. Unfortunately it has to be done with
    each image.
    Potentially you could use FAR from
    http://www.helpware.net to do a
    mass find and replace but be careful and make a backup first.

  • Unable to plot 1-D array with a cluster of 2 elements on an XY graph

    I'm Unable to plot a 1-D array with a cluster of 2 elements on an XY graph. The data appears at the input to the graph but nothing is plotted. I'm trying to plot a line connecting each point generated.
    Solved!
    Go to Solution.
    Attachments:
    TEST11.vi ‏13 KB

    Chuck,
    0. Do not post VIs with infinite loops! Change the True constant to a control.  One of the regular participants on these Forums has commented that using the Abort button to stop a VI is like using a tree to stop a car.  It works, but may have undesired consequences!
    1. Use a shift register on the For loop also.
    2. Inserting into an empty array leaves you with an empty array.  Initialize the array outside the loop to a size greater or equal to the maximum size you will be using.  Then use Replace Array Subest inside the loop.
    3. Just make an array of the cluster of points.  No need for the extra cluster.
    Lynn
    Attachments:
    TEST11.2.vi ‏11 KB

  • Erroneous time in graphs in output cluster

    I have an application that reads a binary file and then displays, analyzes and presents the data in charts and indicators. The 'main' application is "06_ATP_Read and Analyze SubVIs.vi" with the "04_ATP_Read.vi" and "05_ATP_Analyze & Present Data.vi" subvis.
    The application with the problem is called "05_ATP_Analyze & Present Data.vi" and it is in the attached file. It was built on the LabView Basics II example.
    Everything works fine except in the graphs from the output cluster the time values are 5000 times bigger than the real ones displayed or selected in data graphs at the left of the cluster. The 5000 times value is exactly the sampling rate I am using (5kHz) but I am not sure if this is related because I am not sure where is the problem coming for. My feeling is that the feedback node is causing the problem but, again, I'm not sure.
    What could I do to make things right? Any suggestions/examples anybody?
    Thank you.
    Attachments:
    06_ATP_Read and Analyze SubVIs.zip ‏2076 KB

    Thank you Travs,
    I think I got the idea but how would I implement this in my vi? I tried a couple of connections and the attached file presents some of them. Look in 05_ATP_Analyze & Present Data.vi, in case structure 0.
    Another problem is that the sampling rate might vary from file to file and I will not know it before opening the file. I need some kind of automatic reading of sampling rate rather than manual insertion.
    This vi is very similar to the exercise from LabView Basics II and there I did not have to put any additional 'build waveform' components to make it work; probably because there was a chart and not graphs, I don't remember right now... Any way, the idea with the cluster is that it helps me to easily save processed data in one file. I'd like to stay with this solution only if there is nothing better that you or somebody else can suggest.
    Could you show me how would I implement the 'build waveform' in my vi?
    Attachments:
    05_ATP_Analyze & Present Data.zip ‏2525 KB

  • Question about the Cluster and Column width in Graphs in Illustrator CS2

    How do they relate to each other? How do the Percentages work together? Is there any information about how you can mathematically figure how much area each Cluster width takes. If you make a graph and make both the cluster and column widths 100%, the entire area is filled. If you make the Column width 50% the bar will sit exactly in the center of the Cluster width, but if you make the cluster width 75%, the bars move closer together.

    Gregg,
    The set of bars that represent each row of data in the graph spreadsheet is called a "cluster".
    Let's let
       W = the width of the whole area inside the graph axes
       R = the number of rows of data
       C = the number of columns of data
    Then the maximum potential space to use for each row of data is W/R. The cluster width controls how much of this potential space is assigned to each row. This cluster space is then divided by C, giving the maximum potential width of each bar. The maximum potential width for each bar is then multiplied by the column width percentage to get the actual width of each bar.
    So the actual width of each bar is ((W/R)*Cluster width)/C)*Column width
    The graphs illustrated below have three rows of data, with two columns each. The solid colored areas in the background have the same cluster width as the main graph, but they all have a column width of 100%. This lets you see more easily how the gradient bars that have a column width of 80% are using up 80% of their potential width.
    Notice that as the Cluster percentage gets lower, the group of bars that represent a row of data get farther apart, so that you can more easily see the "clumping" of rows. When the Cluster percentage is 100%, the columns within each row are no closer to each other than they are to the columns in other rows.
    As the Column percentage gets lower, the bars for each data value occupy less of the space within their row's cluster, so that spaces appear between every bar, even in the same row.

  • Charts and graph shown as --array and cluster datatype in block diagram

    Hi friends,
    I new user...
    I have a basic doubt...
    In many examples the graph and charts are shown as "array data type and cluster data type "------in the block diagram panel...
    Please tell me, how these data types are shown as graph and charts in the front panel window.....
    regards
    raja

    These are very basic issues and it should be clear once you study the online help and examples for a while.
    Waveform Graphs
    Plain waveform graphs assume equally spaced data. The x-values are implicit from x0 and dx of the x-axis. By default x0=0 and dx=1, meaning the x-values are the array indices. You can change the offset and multiplier from the properties dialog or programmatically via property nodes.
    If you give a 2D array, there will be multiple graphs. Transpose if needed.
    Alternatively, you can give a cluster of [x0, dx, y-array] and the x-axis will adjust accordingly.
    As another alternative, you can built a waveform datatype and feed it to the graph.
    You can also graph dynamic data.
    XY graphs
    xy graphs are needed if the x-vlaues are not regularly spaced.They take a variety of data formats, so pick what is most approriate for the data
    A cluster of an x-array and a y-array
    An array of clusters, each containing an xy pair
    A complex datatype (it will graph imaginary vs. real or similar).
    Charts
    Charts are different, because they maintain a data history buffer an retain a certain amount of data. Some examples of data inputs:
    A single scalar: it wil be appended to the existing chart data, possibly throwing out the oldest existing point.
    An array: The array data will be appended to the existing chart data.
    A cluster of e.g. 5 points: The chart will have 5 dividual plots, one point gets appended to each plot.
    etc.
    The express xy-graph can be configured as xy chart, etc.
    Sure, it is a bit complicated at the beginning, but the complexity also gives you flexibility to do exactly what you want. Just play around with various scenarios and look at the outcome. The best way to learn!
    LabVIEW Champion . Do more with less code and in less time .

  • Wiring data into a graph in a cluster

    Hallo,
    I would like to ask please how to feed data into a  graph in a cluster. My intention is to read a data file (txt). So I read a spreadsheet, extract the data of interest from the header and of course the actual datapoints taken. For that reason I made a cluster of numerous elements some of which are XY graphs. I tried to extract the column vectors of the data and display them in a graph. The problem is that the connection is not OK. Labview keeps telling me that I have a data mismatch. I took two arrays, e.g. time and X, bundled them together and wired to the unbundled function of the indicator. The message is the source is a cluster of two elements whereas the sink is a 1D array of cluster of two elements. What does that mean ? I mean when I use a regualar indicator XY graph (not in a cluster) it works fine. Any hint is appreciated.
    Yours Sincerely
    Karel
    PS: I generally used to do it the way that I created a custom control first then I place this control in my subVI and use bundle by nama and simply create a constant for the input cluster => select the elements I wish to update, is this the correct way of using the cluster of indicators ? 

    Yes.  Much easier to figure out what you are doing by way of looking at a VI rather than a bunch of words.
    Use the Index and Bundle Cluster Array function.
    Message Edited by Ravens Fan on 09-09-2009 10:57 PM
    Attachments:
    Data%20Processing[1]_BD.png ‏20 KB

  • Multi graph cluster

    Hi all,
    I have to plot data coming from 64 different sites. 
    What I'd like to do is to create an array (8x8) of graphs and plot each incoming trace in a different graph.
    To do so, I've created a 2D array of clusters, where each cluster contains a graph.
    By means of a for loop I converted the 1D data array related to each channel in a cluster (bundle function).
    The indexed cluster produced by the for loop is finally sent to the array of clusters containing the data. 
    I've attached a simple VI I did to test what i was doing. The idea is to plot 4 different ramps with programmable gains.
    However the resultant plots are some flikkering.
    Anybody could help me to solve this problem please?
    Kind regards
    Gian Nicola
    Attachments:
    GraphOrder.vi ‏16 KB

    you should have been answered by now-
    So I will answer.
    <you may wish to wrap your head in Duct tape>
    I do not believe your "fickering" is a bug.
    The fact that you can drop a cluster containing a graph into an array MAY be a bug.- let me attempt to explain why.....
    so for a Graph we pass an array of (DBL)  to the UI theead tranfer buffer.... Whoops!  property "Value" has very little do do with "Property" Plot
    What is that again?  And how does that affect your example code?
    Elements of an array must have identical properties except for "Value" (and by extension "text.text")  "Plot" is a property of a "Graph"  o..o ....It is related to the value of the 1D array.  but, before it is displayed on the plot area the plot is subjected to either compression or expansion..(WaddUmean Jeff?)
    The "PLOT" sends the data array through a processing plant.  the data points that cannot be displayed (like a 200,000,000 points) are decimated with some turning point algorithm and others (like a 5 point array) are interporlateded to fill in the pixels that are missing!
    Yes ,  a line (PLOT with color and "glyphs") is different from an array of DBL.  they are not directly related.
    So what you see a flicker is LabVIEW refreshing the properties of the graphs in the array of clusters of graph indicators. 
    Is that helping at all?
    Jeff

  • I have an array of clusters of 4 numeric indicators and i want to plot 2 of them in a xy graph for the entire array? How can you seperate out 2 of the indicators of each cluster for the entire array

    I have keithley 238 SMU, which when used in sweep mode returns the value in a array of cluster of 4 numeric indicators of which 2 are voltage and current and other two are step size and delay....I want to plot
    I-V curves, how to do that?

    Hello aby
    this could be a possible solution to separate 2 values from an array of 4 elements clusters an create 2 arrays suitable for graphing.
    Hope it helps.
    Alipio
    "Qod natura non dat, Salmantica non praestat"
    Attachments:
    a_solution.vi ‏24 KB

  • Transform a cluster in a graph

    I want to transform a cluster into a graph like in the example "peak detection".
    But i don't know what to do.
    Can you give me a methode to do that?

    There is a useful example in LV on this matter. Look at XY graph.vi in Search Examples / Fundamentals Examples / Graph Examples.
    Roberto
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Sun Cluster: Graph resources and resource groups dependencies

    Hi,
    Is there anything like the scfdot (http://opensolaris.org/os/community/smf/scfdot/) to graph resource dependencies in Sun Cluster?
    Regards,
    Ciro

    Solaris 10 8/07 s10s_u4wos_12b SPARC
    + scha_resource_get -O TYPE -R lh-billapp-rs
    + echo SUNW.LogicalHostname:2
    + [ -z sa-billapp-rs ]
    + NETRS=sa-billapp-rs lh-billapp-rs
    + [ true = true -a ! -z sa-billapp-rs lh-billapp-rs ]
    cluster2dot.ksh[193]: test: syntax error
    + + tr -s \n
    + scha_resource_get -O RESOURCE_DEPENDENCIES -R sa-billapp-rs
    DEP=
    + [ true = true -a ! -z sa-billapp-rs lh-billapp-rs ]
    cluster2dot.ksh[193]: test: syntax error
    + + tr -s \n
    + scha_resource_get -O RESOURCE_DEPENDENCIES -R lh-billapp-rs
    DEP=
    + [   !=   ]
    + echo \t\t"lh-billapp-rs";
    + 1>> /tmp/clu-dom3-resources.dot
    + + tr -s \n
    + scha_resource_get -O RESOURCE_DEPENDENCIES_WEAK -R lh-billapp-rs
    DEP_WEAK=

  • Excessive whitespace apex svg cluster bar graph

    Hi,
    I've created a cluster bar graph which works fine except that it only fills half the space in the region, the rest is whitespace. If I expand the chart width the region increases size and the proportion of display to whitespace is still the same, about 50%. I'm pretty inexperienced with HTML, so don't be afraid of oversimplifying.
    Any ideas on what to do?
    Cheers

    Try the APEX forum here: Oracle Application Express (APEX)

  • How to combine different array/cluster sizes in one X-Y graph

    Hi,
    I'm working on a project to analyse hysteresis loops and have come up with three X-Y graphs which give me the information I need. However, I would like to be able to overlay the plots on top on one another. They all have the same axes (load and displacement), but different content:
    1. "Load-Displacement" is a cluster of two 1D arrays (length is variable depending on the data file - in the dummy file attached it is 6369 points)
    2. "Stiffness" is a cluster of two 1D arrays (always 2 points in length)
    3. "Rectangles" is a 1D array of a cluster of two 1D arrays (length dependent on the number of rectangles which is determined by the number of times the FOR loop is executed - default is 100)
    Can someone point me in the right direction - I'm sure there must be an easy way, but haven't found it in the help file/searches/forums
    Many thanks,
    Ian
    Solved!
    Go to Solution.
    Attachments:
    Hysteresis loop analysis.vi ‏191 KB
    dummy data full.txt ‏258 KB

    Something like this
    Tim
    Johnson Controls
    Holland Michigan
    Attachments:
    Example.vi ‏184 KB

Maybe you are looking for

  • Someone please tell me how to get this stupid album artwork on my iPod!!!

    okay, i know several people have posted question after question about this problem and no one has yet to answer it fully. i have collected album artwork to the songs on my iTunes, checked that stupid show album artwork under "get info", and now i don

  • Mac logs out without warning, and displays no error message.

    Hi. I hope someone can figure this out. I'm using Mac OS X Version 10.5.6, and it is relatively new (Bought sometime last fall, O8). Within the last month, I've noticed several occasions where I will log in, and before I do anything, I'm immediately

  • Oracle forms how to create excel format report

    hello :) these are my codes that generates report in live previewer. my problem is how to create an excel report producing the same output i can get in live previewer. Declare      pl_id ParamList;      v_alrt number;      v_acct_ent_date date;      

  • Export Self-Contained / Sequence / Aspect Ratio Question

    Hello all, I have source clips, that look like this, with a command+I in quicktime: Format: 24-bit Integer (Little Endian), Stereo (L R), 48.000 kHz DVCPRO HD 1080i60, 1280 x 1080 (1888 x 1062), Millions FPS: 23.98 Normal Size: 1888 x 1062 pixels Cur

  • How can i fix my itunes when its not working

    my itune isnt opening...i tried everything, nothing worked.........PPPPLLLLLLZZZZ HELP ME