chart xy plot

Hi I just do a simple simulation model in which a result of a formula a is the acceleration.  This result he plot against time.  By integrating acceleration I get speed and by integrating the speed I get the distance.  These last results I have ground them against time.  However, when I tried to draw distance from speed, it looks like a get a graph of distance against time.  What would be the correct functions to use for this draw properly thank you.  The first picture shows a view of the part of the model and the second photo shows the results of the chart I put.  The graphic I need properly takes units of the axis y, but x units are incorrect, it seems it's just plotting against time.

Thank you

Hello

You can use a bundly function to draw paintings in a xy chart. Check the gasket VI for explanation.

Kind regards

Amine31

(Give congratulations to good answers and Mark as a Solution If your problem is resolved)

Tags: NI Software

Similar Questions

  • Plots of non-visible WPF chart

    I am using measurement graphic studio in my WPF application. Firstly to my chart, the plots on it becomes sometimes invisible, but the graph becomes visible if I click on the limits of the axis or change the title of the axis. It happen with one is not specific in my request, and I'm not sure why it's happening. I will be grateful if someone could help with this.

    Thank you.


  • How can ensure me that my chart has several plots?

    I'm trying to get a chart that plots from a txt file I have. The first coumn came and the rest of the columns are data from the various sensors. On the chart that I got it looks like its reading at the first cloumn.

    How can I ensure that I receive a plot of each column?

    Thank you

    Altenbach says:

    (I think that your table manipulations may be further simplified)

    Yes, read the converted file and use "delete from table" as follows:

    Much simpler!

  • Problem of transparency with a compass 2D plot

    Hello

    I use a compass 2D field to view the joint angle. I have the desire to have the plot area and the transparent border of the chart, the plots are so over a picture on my wall and nothing else is visible. So that I can put it in the editor control and with the paint bucket in my VI tool. When I save and reload the vi transparency has been removed. Does anyone have a solution for this? I am running LV10.

    I'm sorry. There is no such node property in LV2010. The only work around is to open the next VI and make transparent controls framework using the coloring tool. That VI gives the original looking for the compass. Of workaround only affects the control of Compass on your machine.

    C:\Program Files (x 86) \National Instruments\LabVIEW 2010\vi.lib\Math Plots\2D Math Plots\2D Compass\2D compass XCtrl\Facade.vi

  • About 40 second delay communication Modbus

    Hello!

    I have a small problem using the following modbus library for LabView8.6:

    Modbus Library

    After that I started the slave demon it takes about 30 to 50 seconds for the first values (sent via TCP/IP) to arrive. I have a chart that plots all 18 read values to me and it always takes a long time to see them jump fom 0 to another value. Subsequently, there is a delay of about 30 seconds about how current values are.

    I can't post the VI here because it uses a lot of SubVIs that would not make lack anyway. However, I already checked the Modbus Salve example VI and I the same time as in my own program.

    Anyone got any ideas?

    Thanks in advance and amicably.

    Kamil

    Problem solved. It was the device (a data recorder) who was so slow in sending data while she was acting as master. I've now changed to be a slave and read its operating records. In this way the values come "immediately".

  • Unexpected behavior in the curve route 2 generated by script

    All,

    As part of a larger 'application', we generate a number of curves of time vs measurand of our test data.  We are now trying to add several additional graphs of this type, but this time, including signals (curves) on each of the additional graphics, and charts must be created exclusively by a script.  The results are shown in the attached file ("desired output_script generated 2-curve plot.jpg").  However, after you run the script attached ("of report generation Script_2 Curves.PDF"), it seems that there is no displayed curves on the graph resulting, as indicated in the attached file ("real output_script generated 2-curve intrigue, jpg").

    Most of the code to create the chart was captured using the method of 'ctrl-A' on the "Curve and definition of the axis" dialog box after you manually configure the desired graphic.  After the transfer of the captured code to the script, additional lines were added to create the various objects (axes, curves, etc.) and the new objects (since the final graph will be generated 'from') scratch.  I used this method before with great success.

    This problem seems similar to what I had already met (and published information on) trying to add a constant (horizontal line) of a measurand existing against time graph.  Because of this similarity and the resolution of the previous question, I added the PicDefByIdent = 1 directive in scripts, but the results of same behavior if this directive (and the definition of the associated "name-based" curve) is included.  In addition, PicUpdate is called at the end of the script.

    We use DIAdem 11.3 (with TDM Service Pack 1).

    Any assistance anyone can provide this number will be greatly appreciated.

    Kind regards

    Bill Evans

    720-988-3436.

    Bill,

    I'm looking into your question and he's looking for a little, but I have a few things to try now.

    First of all, once you run the script, could you try to refresh the screen to report? PicUpdate should take care of this, but it does not hurt to be excluded as a possibility.

    Secondly, I found this example on our site on the creation of a new chart and plotting to it: https://decibel.ni.com/content/docs/DOC-3994

    And one thing I notice from this example, it's that they give the channels with D2CChnXName and D2CChnYName rather than D2ChnX and D2ChnY, so here's an example of what their definitions of strings like:

    D2CChnXName = EXAMPLE/Time"."
    D2CChnYName = ' EXAMPLE/speed '.

    I suggest to change this in your own code and see if it makes a difference. It is possible that setting the variables 'name' instead of just the X and the Y will solve the problem.

    If these steps do not resolve the problem, do not hesitate to post back and I'll be happy to work on the issue more in depth and help that understand you why this does not work.

  • FFT of the signal

    Hello

    Im trying to understand our noise of a laser. My setup is Laser - detector-Oscilloscope. I read the signal using a GPIB and Labview program. I think that I must take the FFT of the signal produced but it gives me nothing. I plugged the output signal to the FFT.vi and the result is a peak at 0 (zero). I should al least see peak around 60 Hz (light), but I can't. My sampling rate is 100Ksamples per second. Also, how can I see frequency on the x-axis of the curve of the FFT and what is Y Chart FFT plot?

    Thank you

    Yes. Without information from dt, spectral analysis function will assume a sample rate of 1.

  • data binding single graphic multiple graphic xpf in curves

    I am to evaluate MS2013 in VS2012.  I have a long history with MS and Visual C++.  My goal is to trace frequency vs. voltage data from two channels of dac.  I collect data at a particular frequency for both channels, process the data and then plot two points xy resulting.  As indicated in the messages earlier I found examples of bind a data set unique xy via an array of points connected with. Source of data but not a way to bind to multiple locations.  I tried without success to find a ChartCollection who would treat a double clue and two values double y.

    A stated differently, I would link two chart XY plots in one NOR: Graph of unique to a data source wpf I can fill over time and I am the Microsoft graph chart throughout the period.

    My apologies if I missed an element of documentation that addresses this requirement.

    Unfortunately, we do not have predefined data types that will draw more than one value of Y against a single value X. Using a ObservableCollection<Point[]> is a valid approach.

    If you draw (X-values are always growing), you can use a table of ChartCollection instead and imitate a picture to multiple values by using an extension method:

    public static class ChartExtensions {

    public static void Append( this ChartCollection[] charts, double x, params double[] ys ) {
                for( int i = 0; i < ys.Length; ++i ) {
                    double y = ys[i];
                    var chart = charts[i];
                    chart.Append( x, y );
                }
            }

    }

  • [graph] deleted plots are drawn to chart resizing

    I'm working on CVI2012SP1 and I m having trouble with the chart control.

    As the stripchart control to much trouble for me, I went with the chart control to display a mobile chart. It works much more painless than with the stripchart, but now I have another problem with drawing plots.

    I m deleting of all parcels and then adding the new. Then I call RefreshGraph() and the new route is drawn, but is also the former route (see the screenshot). If I resize the chart only the current path is drawn.

    Why is it so? Is this a bug? How can I work around it?

    Sorry, I Don t have a piece of code for the problem. The problem is that all the parcels of old, who then deleted by the DeleteGraphPlot function, always come when I select 'VAL_DELAYED_DRAW '.

    But I found a solution, I just select "VAL_IMMEDIATE_DRAW" for DeleteGraphPlot, and it works as expected.

  • 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

  • Rotate the Plot chart legend of XY

    Is it possible to rotate the legend of the plot for the plot names letters run from the bottom to the top rather than in the whole of the operator interface?

    The names of my plots are bigger and I need to show at least four plots at the same time. Put the scales to the right/left/above or below without rotating can cause a short XY Chart!

    Any ideas for me?

    Concerning

    Waris K

    Hello

    I don't know if there is a native way to do it, but you can 'cheat' to do this:

    You can move the table where the captions are, or even make the table turn into lines instead of the column.

    Is the idea ok for you?

  • Control of the Studio development plots Sun chart

    I paint a chart by using the graphic Studio development command and the following code:

    NationalInstruments.Controls.Plot insertionLossPlot = new NationalInstruments.Controls.Plot ();
    NationalInstruments.Controls.Rendering.LinePlotRenderer insertionLossLinePlotRenderer = new NationalInstruments.Controls.Rendering.LinePlotRenderer ();
    insertionLossLinePlotRenderer.Stroke = Brushes.Magenta;
    insertionLossPlot.Renderer = insertionLossLinePlotRenderer;

    NationalInstruments.Controls.Plot returnLossPlot = new NationalInstruments.Controls.Plot ();
    NationalInstruments.Controls.Rendering.LinePlotRenderer returnLossLinePlotRenderer = new NationalInstruments.Controls.Rendering.LinePlotRenderer ();
    returnLossLinePlotRenderer.Stroke = Brushes.Green;
    returnLossPlot.Renderer = returnLossLinePlotRenderer;

    This. NationalInstrumentsGraph.Plots.Clear ();
    This. NationalInstrumentsGraph.Plots.Add (insertionLossPlot);
    This. NationalInstrumentsGraph.Plots.Add (returnLossPlot);

    This. NationalInstrumentsGraph.Data.Clear ();
    This. NationalInstrumentsGraph.Data.Add (insertionLossPoints);
    This. NationalInstrumentsGraph.Data.Add (returnLossPoints);

    The plots are drawn correctly, but after about 2 seconds, the lines move slightly and their brightness seems to slightly reduce.

    I don't see all the graphic properties which would explain this.

    Can someone explain this?

    From your description, it seems that you draw a large amount of data for the chart at the same time. In the default RenderMode configuration of Auto , the graph allows to detect large, as default data Raster mode. After a short time-out, the graph will see that data are not updated with high frequency and pass automatically to the Vector , who uses anti-aliasing can give diagonal lines and a lighter side.

    To avoid the automatic ignition, just set RenderMode to one value other than Auto .

  • Is it possible to delete a plot with the help of the mouse select the chart control?

    For example, when I use the plot to draw thousands of lines on the chart control, I want to delete some of them, but there are thousands of generated plotHandle.

    How can I get the plotHandle of the specific line on the chart control with the help of the mouse to select the option?

    If I save the information from the lines, such as the plotHandle and the coordinates on a table or list, etc, I compare information lines for the plotHandle of the specific line.
    Is it all a user-friendly way to remove a track selection on the chart control?

    I can't give you a reasonable way to solve this problem, since as you have already noted plot do not snappable plots.

    A possible warkaround would be to replace the plot of individual instructions with a PlotXY matching with 2 bays 2 points each, which correspond to the x 1, x 2, y1, y2 parameters to plot. PlotXY plots are snappable, so you can enable this procedure select the plot and remove it.

  • Save the LV of many plots to Excel chart

    I have a LV graphic with ten plots on it.

    You will just need to save it in Excel.

    Many attempts and problems.

    Is it still possible without sending all data to Excel table, then a link to the chart in the same workbook?

    You just want to save an image of the chart to your Excel file?  Or you want to save your data tables that form the graph, as well?

    If all you need is a picture of your graph, use the method "Export Image".  Right-click on the terminal of your graph.  Select 'create... '. ' Choose 'Invoke node.  Choose "Export Image".  The method will appear on your drawing.  Specify the type of file (i.e. BMP), where you want to export the image (probably easier to export to the Clipboard), then use the appropriate Excel method to paste the image on the Clipboard in the Excel file.

    If you need the data, then you must write the data directly in the Excel file.

    Hope it will be unhelpful.

    d

  • Chart is showing many of the plots unwanted. How can I get rid of them?

    I'm trying to plot 2 functions on a single graph. Instead of simply to get these 2, I'm one conspiracy with the many others who are all very similar to one or more of those I want.

    I enclose a copy of the graphics and code (forgive the size)

    Any help will be greatly appreciated!

    -Margin

    Right-click on your chart and deselect the option table to transpose. The DAQmx Read with 2D NSamp DBL NChan data are organized where each line is a string, and each column is the samples for this channel.

Maybe you are looking for

  • arrested fan hp pavilion dv6-3141ee

    I don't know if you saw, but this is the 3rd time my fan no longer works... I took it 3 times to fix and it takes 3 or 4 months max, then it stops... again my request is that please tell me how to open the lid of my laptop and determined the problem

  • Lack of access to the balance of audio volume control

    The balance function is 'available', but now hidden in Windows 7. Is it possible to use a script or macro to quickly access the balance control? W7 the access sequence for me is 1) Windows task bar (click to view)--> Start (button)--> Control Panel (

  • Player C change frequently

    We have a domain environment & customer. Sometimes we get complaint several user C disk suddenly decrease if system restart then automatic increase, could someone help me why happens again & again? Tried troubleshooting: 1: scan Virus & antivirus upd

  • Add Win7Pro 64 computer Win7Pro 32 on an another HD D:

    Hello I have a Win7 Pro 32 bit version of windows on my computer. I already did so that my computers CPU is 64-bit. I want to do is be able to load Win7 Pro 64 bit on my D: drive so I can run my photography on this OS software.  And be able to start

  • Windows 8.1 hangs on "preparing to configure Windows disable computer.

    Hello I got his machine Windows 8.1 (Toshiba Satellite Pro) for a few months now. Everything has been working fine so far. Yesterday, I started and got the message: "preparing to set up Windows does not shut down the computer" which, I remember, he f