How to plot a graph with no fixed time interval?

Hello

I know that this question is a bit silly... but still, I would like to know how to find...

If the signal is generated randomly by time, how it chart in the chart since its interval must be fixed?

as the following picture

I think graph XY can achieve, but is not what I want because the signal is generated continuously for a long time.

I hope that data must be updated, graphic - mode this possible?

Use a fixed size queue and make a queue with loss when new data. It essentially becomes a data buffer of length defined by your queue size. To display data, use 'Get Queue Status' with 'Elements to return' = True.

(Or have fixed an array of size and have a circular index of items - but I think that the solution of the queue is cleaner)

Tags: NI Software

Similar Questions

  • How to draw a graph with several axis xy enter?

    Hello

    I have problem in xy graph, the graph xy can only display 1 signal the y-axis of entry (as you can see in the attachment)

    Is it possible to draw the graph xy with 2 go? Or maybe there's another type of graph as possible to do?

    Note: the x axis must be an entry too (not compared to the time / sample).

    Answers and advice are welcome.

    Best regards

    Alvin Chandra

    You ask for a second scale of Y on the graph?

    If so, right-click on the scale of the existing, select "Double ladder". This will create a second scale. You can then (if you wish), right-click on the new scale a select 'Swap sides' to put it on the other side of the chart.

    You ask about adding a second plot?

    If Yes, then you must group your arrays of X and Y points in clusters and build those in a table:

    The x-axis is always an entry on the XY graph. You just need to change the title of the axis. Way easier to do is to double-click the axis title and type the new name.

    Rob

  • How to plot the graph control scattergraph mulitple?

    Hello

    I have two double arrays declared and I'd draw x and y and x x. I can do one at a time, how can I add so that x, y and x, x points are displayed. I tried to use the plotXYmulitple command, but it requires a 2D array. What I need to convert my 2D table data or there is an easier option? any help would be greatly appreciated.

    You are absolutely right! That's what happens you encode two o'clock in the morning. I'm writing my own solution below in the case where any other interested person. But you know it will be nice if you can make mulitple conspire like matlab function plot(x,y,x,y) etc.

    Thanks again!

    Kashif

                double[] xValues = new double[5] { 1, 2, 3, 4, 5 };            double[] y1Values = new double[5] { 1, 2, 3, 4, 5 };            double[] y2Values = new double[5] { 1, 4, 9, 16, 25 };
    
                scatterGraph1.DefaultDataOrientation = DataOrientation.DataInColumns;
    
                double[,] yValues = new double[xValues.Length, 2];
    
                for (int i = 0; i < xValues.Length; i++)            {                yValues[i, 0] = y1Values[i];                yValues[i, 1] = y2Values[i];            }
    
                scatterGraph1.PlotXYMultiple(xValues,yValues);
    
  • How to configure a button with alignment fixed points on a logorithmic scale?

    My question is quite simple, but after rooting in the button/gauge proteries, I can't find a way to do what I would like to:

    I would like a simple button with 4 possible values control: 0.0125,0.125,1.25,12.5

    I would like that they also spaced and I want the button to engage only in one of these four values

    I can get it at least to the point of having four values there by placing arbitrary markers (scale-> add the marker), but I can't figure out how to align them, or even if it is the way of Paris to follow on that.

    Thank you!

    See example LV86 attached. Open the Properties dialog box for the button for more information on its configuration.

  • How can I continuously auto-save and auto-nom of the JPEG files with a controlled time interval

    Hello

    I am newly involved in some Labview projects out of my knowledge. I try to save multiple images to JPEG from a task of direct imaging to a folder in the hard disk of the computer some every minutes. I would like to quote these files with the date and time (for example. Img_06012011_1635. (jpg). Then, after hours long image capture, I can have all the image files in a proper order.

    My goal is to have auto JPGs saved and self-appointed with data and the time right now. I also need to control the time between each economy.

    Could you please show me some advice about this? See the attached vi, I know I have to do something on the side "way of writing" at the top right. Thank you!

    Start with this

  • How to calculate the days with 2 Date/time fields

    Hello
    I tried to create a workflow to update a numeric field with the following formula, however, I get an error message "value too long for the field 'ZNum_0' (maximum size 16) (SBL-DAT-00235). Can I know what is the problem with my calculation?

    dtCloseDate - dtAssignDate

    Thank you

    Hi, your formula is correct.

    You could be facing this problem because it will assess the value in decimal and result has no set limit for the decimal point. As digital field accept only 16 characters, the problem is occure.

    You must truncate the result with a defined decimal.

    Hope this will help you
    Dinesh

  • How to choose a queue messages after a time interval specified OSB 11 g

    We designed asynchronous OSB services using JMS queues. Whenever there is a problem with the target system, we put these messages to a different queue (called error queue).

    Could you please let me know how to send the normal queue these queue error messages after a specified period of time (say 2 hours)?

    Help, please.

    Kind regards
    Neeraj

    Another is to set to the queue of the error queue-> substitutions--> 'Override of time to deliver. " It is the delay in the millis.
    Have a service proxy consuming the error queue and return the message to the normal queue.

    By doing this, the proxy will always listen queue, but it will not pickup the message until the delivery time is reached.

    Kind regards
    Fabio Douek

  • How to plot several points point (XY) on the same chart?

    Hello

    I have a table and a graph with a fixed axis x of Y values which varies. How to draw these new values y without replacing the previous ones? For example have a scatter of new data? Watch example Figure 1 below:

    Figure 1: (Note: the image was photoshopped to demonstrate)

    Figure 2: Current functional diagram, LabVIEW VI:

    Thank you!

    Just build up a simple concession:

  • Build the table to 2 dimensions to plot a graph from UIMessages

    Hello guys,.

    I need some advice, the problem I have is that I want to pass an array [0 5] numbers to my throwugh of custom UI UIMessage to plot a graph with these data in the same grapgh (see the behavior of the 6 signals on the same graph), but so far I could only pass a value and see only a signal in the graph.

    Is there a way to pass the french table UIMessage using the activeXDataParam? Or may be otherwise?

    Thanks for your comments.

    Eder

    I threw together a simple example in TS 2014 and 2014 LV.  I think it does what you want.  Simply run the main vi in the project and select the random sequence file Array.

    In addition, attached is a photo of my UserMessage vi.

    Hope this helps,

  • Chart how many plots with wpf chart

    This is probably a very basic question, but I can't understand how the chart more than a set of data with the chart WPF in VS2010.  There is a DataSource property on the chart, but I don't see the same on each class of land.  I can't find any documentation on the source property of the chart data.  Can I pass an array of doubles and he plots very well but now I need to draw two sets of data.  Can anyone help?

    The DataSource property is documented in the how: map and graphic subject and on the GraphBase class (which is the type that defines the property). However, it seems that these issues do not directly address your question multiple plot; I put in a request to improve this.

    To answer your question, if you use DataSource to pass an array of double values in a plot, you can use a collection to pass data to multiple locations (for example a double[][] , a List , or a ObservableCollection ).

    Otherwise, you could use the Data collection to provide each parcel with data; for example:

    graph.Data[0] = /* double[] for plot 0 */;

        graph.Data[1] = /* double[] for plot 1 */;

    ~ Paul

  • the exact position of the mouse click xy graph while he plotted graph with mouse events

    Hello

    IAM using Graph xy for multi locations

    IAM traced graphic with mouse movement and events using the example attached (draw the graph with mouse events)

    but in sub vi Values.vi scale there are two constants 66 and 30 when I change my plot (I also change the scales), then the mouse position and chart position (cursor) value are not well aligned, but when I change the constants mentioned above I get the alignment perfect between the cursor and the last point in the path.

    as I went to another parcel (with scalability again) the same alignment problem resurfaced.

    I need to replace these two constants with something dynamic

    Please help

    concerning

    Mazhar

    solution to my problem is

  • How to animate a line with the pen tool to give the impression that it is plotted?

    How to animate a line with the pen tool to give the impression that it is plotted?

    Or you can choose the pen tool (g), set the padding to zero and the race to what you want, then draw a path, then press U twice to reveal all of the properties that have been changed for the layer, and then click Add (top-right) and select Connect the tracks.

    To make the race work just animate the start or end point and sent to paint on original or reveal original or normal.

  • How can I set up a table with a fixed header on parchment?

    I'm trying to implement a table with a fixed header on parchment on my site of Muse. The table must scroll with main site window (not inside a box).

    Here is an example with CSS, HTML and JS code in separate windows.

    Is this achievable in Muse? If so, how can it be done?

    I saw a few threads on similar topics but have not found an answer.

    Thank you.

    Dmitry

    Yes, you can add the table by using the feature to insert the HTML code and it will still work until browsers stop supporting them. But you will not be able to pin, added the header of the table in the order of the Muse.In, to pin header in the Muse, it must be a separate object in the Muse.

    If you need to do requires a significant amount of custom coding, then Dreamweaver is probably a more appropriate tool as Muse does not support direct access to the code.

  • How to save a graph 3d with a transparent background?

    How to save a graph 3d with a transparent background?

    File > export > save for Web (legacy) > PNG (with transparency)

    Nancy O.

  • How to make a graph that plots &amp; quot; steps &amp; quot;

    Hello, I want to be able to plot a graph that displays "steps".

    I use the Waveform.vi plot would again change the type of trace of square waveform (which I think is the control to be edited), nothing happens.

    Please see the attached picture of what I want to say right now, thank you

    I also want to change the x axis to display 0 to 10 instead of-100 to 0, I tried to change the minimum and maximum values of the Cartesian axis attributes x, but then the graph is out of reach.


Maybe you are looking for