Graph cluster

bonjour, c'est tout bete mais je n'arrive pas à faire une graph 2 voies sur le vi ci joint! quelqu'un pourrais me dire comment on fait?
quand il y a juste 3 constantes numériques dans le cluster on faire un graph et des que j'en rajoute une (comme dans le vi) c'est plus bon! comment on fait alors?
merci d'avance
labview 2013
Pièces jointes :
graph.vi ‏10 KB

Actually, Shane, for once I believe your advice is bad, because if you do this, you will change the order of the elements in the cluster. In this case, it doesn't matter, because the graph is the last element anyway, but in a code with existing wiring, this will be a problem. This can be fixed by reordering the controls in the cluster, but that's a real pain and there is no reason for it anyway, BECAUSE...
Any element of a cluster (or an array) can be reached through the list of variables (right click the property node and select "link to"). A refernce can also be created by right clicking on the graph and selecting Create>>Reference, although I don't know if these features were available in 6.1.
In any case, all this doesn't matter, because I believe Stijn wants only the first graph to have a different background and the answer to that one is: Sorry, can't be done. An array is a collection of elements with identical properties. You can't change the properties of only one element.
Try to take over the world!

Similar Messages

  • 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

  • How to create an intensity waveform graph cluster with t_0 and dt ?

    Hi all,
    I would like to know whether it is possible to create an intensity waveform like you can do with a 1-d waveform (with "build waveform") so that you get a cluster with the waveform array, the t_0, the dtand the attributes. 
    If not I would like to know the following:  I use references to cluster typedefs to update my controls and indicaters on the front panel. Now if I use a property node for the intensity graph to set the offset and multiplier on the x-scale, the x-scale on the graphs on the sub-VI work perfectly, however not on the real front panel, probably since these get updated through a reference. Does anyone have a clue how to fix this?
    Regards, Pieter

    You are only writing the "value" of the type definition via the property node. This does not include properties such as offset and multiplier.
    On a sidenote, you are using way too much code for most operations.  
    For example, the to-I32 can be placed on the cluster, so only one instance is needed.
    Also property nodes are resizeable, so only one instance is needed.
    There are also Rube Goldberg constructs, such as ">0  *AND* TRUE", which is the same as a simple ">0"
    Overall, you are really fragmenting memory by constantly building and then resizing arrays to keep them at a max size of 2880. This can cause performance problems due to the constant need of reallocations. It might be better to use fixed size arrays and do things "in place".
    Message Edited by altenbach on 03-19-2009 09:57 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    OneIsEnough.png ‏8 KB
    CombineProperties.png ‏3 KB

  • How to convert cluster to waveform?

    I'm having trouble building a waveform properly.  I have a relativeX, an Xincrement, and a 1D array of data  (what is returned from a 5114 scope).  But the 'build waveform' function wants t0 to be a timestamp.  This isn't what I want....
    I don't mind just using the cluster for showing it on a waveform graph because it works and it's not a problem.  However, there are a lot of waveform functions for writing waveforms to files that I would like to take advantage of....how can I do this?
    thanks,
    -Z

    I think I am with you and the answer is probably not. You can work with both datatypes but if you want to use waveform datatype then there is a little more work to get the graphs looking the same with a negative x0
    Let me know you labview version and I will post the above vi for you to study.
    David
    Message Edited by David Crawford on 10-25-2006 09:20 AM
    Attachments:
    Waveform Graph - Cluster or Waveform Data Type.jpg ‏24 KB

  • Converting data in waveform graph to an ASCII file

    We are using a Labview program to acquire rapid voltage data, however due to specifications on the board we are employing a voltage divider factor that can be changed in the program, as well as sensing the polarity and correcting it so that the voltage is always positive.  This data is saved in raw form to a bin file.  To view this data, we have another program that has inputs for the scan rate and voltage divider factor, and then it reads the raw binary file and generates voltage vs. time data directly into a waveform graph.  No one here actually wrote this entire program, it is my understanding that NI originally helped to develop the program and no one in my group fully understands the intricacies.
    What we would like to do is obtain data in 2-column ASCII format from the waveform graph directly (voltage vs. time) in some way.  Is this possible, and if so how can it be done?  The program is currently run off of Labview 4.1, however we also have Labview 7.0 on another computer and can copy the program and bin files if necessary.
    Any help is greatly appreciated.

    I'm having some trouble because the data is not technically in a waveform (brownish-red colored wire).  The program builds a waveform *graph* (cluster data with pink wire) using the bundle function, where the top input is a dbl x0 that is generated from (1/scan rate) multiplied by the first scan number.  The middle input is delta(t), which is just (1/scan rate), and the bottom input is a 2D array of two columns of voltage data, one is voltage and the second is a voltage from another channel that I don't need, and I can't figure out how the 2D array is generated because it looks like it should only be 1D (it suddenly becomes 2D after leaving a for loop). This creates a waveform graph with time vs. the 2 sets of voltage data.
    So you'd think you could just build a waveform with the same data, but the "build waveform" function wants a t0 with a timestamp format and a 1D array for the 'Y' input, and I also can't just convert the cluster data for the waveform graph to an array using the 'cluster to array' function as it gives me a data mismatch. 
    Does anyone know how to remove the first column or row of a 2D array and create a 1D array?  Also, how can I input a timestamped t0 if it needs to be on the order of <1 ms, since milliseconds are crucial here?  Is there any way to make a waveform with a decimal t0 instead of this ridiculous timestamp? 
    Thanks again for any help.
    Message Edited by chemengr on 06-19-2006 09:23 AM

  • 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

  • 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?

  • 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

  • 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)

Maybe you are looking for

  • Cs6 web premium wont install all programs

    Hi, I have recently downloaded CS6 Web premium student edition on trial. However once it had finished downloading it wouldnt install Photoshop, Flash Professional and Adobe InDesign, everything else was fine though. I have looked at the error report

  • Web Color vs My Mac in Photshop

    I have been having a problem with the color changing from vibrant colors to dull unsaturated colors when they display on the web. I usually save pics for the web using sRGB 98 jpgs. I have posted on my own site and lots of other sites and most of the

  • HT3180 Apple TV blinks rapidly

    My Apple TV started blinking rapidly in the middle of the night when the tv was off. The next day when I tried to use Apple TV,  I couldn't access anything. The screen was blank. Then finally there was a graphic of the iTunes icon with a USB connecto

  • Very Simple question about JList

    Hi, I am newbie to Java, and I want to show a couple of items in JList Control, but it doesn't show up, anyone can help me. When I use system.out to printout the contents of the ListModel, it does tell me that those items are in it. Thanks a lot!!!!

  • Newbie here! Get my s10-3 tomorrow. Plan to upgrade to 2 gigs, then go with 7 Home. I have...

    I have had very good luck with my 5 year old Think Pad R51...so I hope this little Lenovo keeps me happy. I am a big Mac fan! My family has 4 Mac's, all over 3 years old with practically no "minor" issues. While It would appear that Windows 7 is a wi