Problem With Plotting a graph

Hi,
I need help plotting a graph.
The situation is .... I have data of speed against time. Data is like this : a truck runs at some speed until 10 o clock. Now the driver changes time of the speed vs. time tracking device back to 9 o clock. Now if I plot this data it becomes a invalid graph as between 9 - 10 I will be having two values for the speed.
I thought of a solution that when ever a time change occurs I will drop the speed to 0 and again start plotting the graph with next point on the scale of x axis with the new set time ...... Is this possible ? 
Please help.
Thanks and regards
Anirudh

Hi,
Here is a photo of what I want to do with the graph.
Here as the values that i am mappinng on x axis are repeated the graph is not one to one. Now to make it look like a one to one i want to drop it zero at the first 6. the restart the scale after 6 as 5 and continue mapping. Is this possible ?? ?? 
Thanks and Regards,
Anirudh.
Attachments:
tr1.JPG ‏113 KB

Similar Messages

  • Problems with Flash Line Graphs

    I have two problems with the new Flash Line Graphs in APEX 3.1
    1. I have created a query that returns a set number of rows. Sometimes the VALUE for a specific row might be null. When this occurs the LABEL data does not show up on the X axis. I want the LABEL data to show up no matter what. How do I accomplish this?
    2. Related to the above query. When the VALUE field is null for 3 records (or more) in a row, not only does the LABEL data for those records not display, the VALUE and LABEL data for the records that appear in the set after these 3 records also do not display. If one or even two null VALUE fields appears in a row, things are still OK. What do I need to do to get all my data to display?
    Any help would be appreciated.
    THANKS
    Raymond

    Raymond,
    For the Interactive report chart issue, could it be related to this?
    Re: Apex 3.1. Interactive Report. Questions and Problems.
    Interactive Report. Chart. Seems to be bug...
    - Christina

  • Problems with express xy graph

    Hi,
    I am new to Labview. I am using Labview 8.5. I wish to create a program which reads in an excel spreadsheet and displays the data on an express xy graph. I have been able to read my excel spreadsheet into labview but cannot display a graph in my express xy graph. The express xy graph plots only one point and I do not understand why. I would be grateful if someone could please advise me on what the problem could be. The block diagram is shown below.
    Your help is very much appreciated. Thank You.
    Dibz

    To elset191: I have actually added a transpose array between the Read From Spreadsheet and the express xy graph and it now displays a full graph! Thank you. I mistakenly thought the xy graph read in the data in columns rather than rows. However, the y-axis values is a 2D array. Therefore, ideally I would like each row of this data to generate its own plot on the xy graph. Can it do this? At the moment the express xy graph looks like its only reading in the first row of y-axis 2D array. Would I be able to somehow show multiple plots on the express xy graph for each row of the data?
    To Dennis Knutson: Apologies, but i thought it would have been assumed that as you cannot read in native excel files as you said, then obviously I had converted the file if I initially stated I had read it into Labview. Also, as stated above the y-axis is actually a 2D array which is why I used the 2D array to display it. Granted, the x-axis values is a single array but no problems were incurred so I did not get around to changing it. 

  • Problem with plotting XY data from PSD

    Hello, I am pretty new to LabView.  I am trying to make an XY plot that shows the coordinates read from a PSD (position sensitive detector) over time.  I have the code attached so far, but when I get to the XY graph, it says "You have connected two terminals of different types.  The type of source is 1D array of cluster of 2 elements.  The type of sink is 1D array of cluster of 2 elements."  I don't understand why there is the broken link if they both are of the same type...  Any thoughts are much appreciated!  Thanks!
    Also, sorry for only having a screenshot, my computer is not wanting to upload the actual code...
    -J
    Attachments:
    Image.png ‏92 KB

    It looks like you are just making things up. The required inputs to an xy graph is completely different. First, don't work with the evil dynamic data. If you do, use it correctly. The shift register, build array, bundle, another build array are all wrong. If you insist on dynamic data, user the Express XY graph and just wire the x and y inputs directly. To use a normal xy graph, get rid of the dynamic data and convert it to something real.

  • Problem with Plot Starting at Zero Seconds.vi

    In document with ID: 4KTFBLE9 an example vi is offered.  Its name is "Plot Starting at Zero Seconds.vi".  I have problems in "borrowing" the function labeled "Waveform Chart", comprising a box with the text "XScale Multiplier".  When I transfer this function to another vi, the function is transmutated to another function.  What happens, and what am I doing wrong? 

    This is a property node and it will only link directly to items in the same VI. If you move it to a different VI, it will turn into a plain property node.
    If you have another waveform chanrt in the other VI, you can right-click the copied proeprty node and select "link to..." and select the local waveform chart.
    If you want it to act on the "other" wavform chart, you need to make the second VI a subVI and wire the reference to it via a connector.
    If you want to create a new such property node, simply right-click the waveform chart and select the desired property.
    Message Edited by altenbach on 11-18-2008 08:51 AM
    LabVIEW Champion . Do more with less code and in less time .

  • Problem with customization of graph

    Hi experts,
    I am facing some problem in customizing graphs created through Report Builder. I am having some values on x-axis like employee name (emp-code).
    e.g. Janak Nirmal (007)
    I did one thing that i m only displaying emp-code on x-axis. i.e. 007
    now i want to show user also which emp-code is bind to employee name any where in graph.
    i.e. 007=Janak Nirmal
    is this customization possible ?
    how do i include it in jsp page ? how do i customize graph x-axis.
    Is there any way to do this ?
    Please help me i m in critical stage of project
    Thanks in advance.
    Janak

    Can any one help ?
    Please i need help.
    Regards
    Janka

  • Problem to plot the graph

    Hi, I am a beginner in Labview. In my exercise, I want to display the 1D data I got from excel in the waveform graph in Labview but it does not appear. Here is my what I have done so far. I have data in excel which has 16 rows and 2 column. I have used path function and also read spreadsheet function to display my table in labview and it works. In My labview front panel displaying now, I have 16 rows and 2 column of data. I want to analyse the 2nd column only so I use array subset function to extract the 2nd column. When I run my labview, the size of my array is now 16x1. I want to display this as a waveform graph so I choose 1D waveform graph. When I run it, the graph doesn't show anything. Please give me advice for this.
    Regards
    ade

    Hi,
    thank you very much for your reply.
    Previously, i change my excel data to CSV file before i applied it to the labview. Now,  I am planning to change my simulation from using 'read from spreadsheet" to use the activex as shown in your VI . Im still in the very basic stage of understanding what is activex, how activex and labview works together, how to display the data in the labview table (previously in the array indicator), and also how to analyse/process the data so i will need more intensive time to learn. However, in your VI, i cannot run it because there is a mismatch particularly in Variant to data Function as shown in pict below
    The thing that still make me curious until now is why i cannot plot my array of data in waveform graph. When i plot it in Chart, the plot is appear but in the  graph, there is no plot. . i try to track by mark the point that might be plotted but it shows only in point 0,0. If you dont mind, can you look at my work in my attachment?. I will attach my VI, and also the data in csv format. Thanks before
    Regards,
    Ade
    Attachments:
    Project try2.vi ‏15 KB
    LAbview Excercise.csv ‏1 KB

  • Re: is anyone else having a problem with 2-D graph of LVM data some x values showing up as negative values?

    attached is the lvm file

    This is a side post from Original Post and should be responded to there.

  • Plot xy graph in specific zone

    Hi!
    I'm having a problem with my XY Graph.
    I collect data and show it on the graph where x-axis is between 0 and 100 for example.
    Then I have a button that will collect data again but just between 40 and 60 on the x-axis, so what I want to do is:
    - After I click the button, The plot between 0 and 39 and the plot between 61 and 100 will remain in the graph and the new data will replace the one that was on the 40 to 60 in x-axis.
    How can I do this??? Maybe with two plots???
    Any help would be great.
    Thanks

    EDIT: Solved

  • Problems with XY Graph "forgetting" plot properties

    I am having trouble with an XT Graph in my loop.
    The graph has 10 plots which at any time can have anything from 0 to ~1000 points, often some plots will have significantly less ploints than others. There is a user selectable option to display all points or just the most recent set.
    My problem is that I want the graph to reflect the input data by plotting a single point at the time of an update, so I have a string of points rather than a line.
    When I right click the graph and go into properties, I change the point style to solid circle and turn off line interpolation. I then click save these values as default, and save the vi.
    However, once I run the vi, the graph always reverts plots 1 to 9 (not plot 0, this stays as I want it) to have no points displayed and line interpolation on.
    Has anyone had this problem before? Ho did you fix it?
    I know it can be fixed, as I had this probelm a few months ago on a similar vi and after weeks of struggle I solved it, however I just cannot remember how I did it.
    Thank you for any help, at the moment I can't post any code. Note that the data the graph shows is all perfectly fine, just the plot properties are being forgotten.
    Solved!
    Go to Solution.

    HI DarraghCorrigan,
    In relation to the problem expressed in your initial post:
    "once I run the vi, the graph always reverts plots 1 to 9 (not plot 0, this stays as I want it) to have no points displayed and line interpolation on"
    This is due to a bug in the LabVIEW software whereby any changes that are made to the plot properties (e.g. to change the colour of a plot) will not be retained, except in plot 0 which is unaffected. Our R&D department are currently investigating this problem so that it can be fixed in future version of the software. The recommended workaround for this problem is to pragmatically set the plot settings at the beginning of the code using property nodes.
    As I understand it, this is not the main problem that you are experiencing. If you set up the properties for a plot (using some of the described property nodes) which is subsequently removed or rewritten on an XY Graph, my understanding is that there is no way that LabVIEW can remember and retain these properties.
    As you rightly suggested, one way of conveniently overcoming this problem would be to set default plot properties so that when you remove/rewrite a plot and then add it again, it will always default to those properties. Unfortunately, it is not currently possible to do this though it has been recommended as a product suggestion so it is a feature that is under consideration for implementation in future releases of LabVIEW.
    I think the issue you need to be addressing is the fact that you are at some point resetting the graph by sending an empty array to it such that all of your properties are lost. If you can find and remove this section in your code, you should be able to overcome your problem.
    I hope this helps.
    Best Regards,
    Christian Hartshorne
    NIUK

  • Problem with printing graph larger than screen size in labview6 (plots are shopped).

    I have attached with my message the report I try to print. It is a Labview 6 vi.
    I had no problem with Labview 5. But with Labview 6, the plots are shopped (all the rest of the report is correct). What is printed is not what I see.
    The graph is intentionnaly built very large, then rescale to fit page, in order to improve the print quality of the plots. I repeat it, it worked fine with Labview 5.
    Thanks if you can help.
    Lionel.
    Attachments:
    Print_of_large_scale_graph.vi ‏284 KB

    Hi Lionel,
    I experienced a similar problem days ago: re-compiling a vi from LV 5.1 to LV 6.0.2 its front panel could not be printed anymore; no error, just a blank sheet.( The mass compile procedure did not reported any error).
    The only way to get out from this headache was to re-build the vi in LV 6.0.2, I simply selected all its diagram and copied it in a new vi, saved it and I got print-outs!
    Try it.
    Good luck,
    Alberto

  • Graphing problem with two plots

    I know how to plot two graphs on top of one another but the problem I have
    is as follows. I have the spectrum of a certain noisy signal which has been
    averaged. I then change some conditions by pressing a button and the
    spectrum changes to something else. of course I can capture both of these
    graphically but really I want them both on the same graph - any ideas?
    The data is not available at the same time - would I have to store it
    somewhere in a buffer and recall it in some way? Picture a spectrum analyser
    where there are two channels - you take the spectrum on channel A and then
    store it. You then take the spectrum on channel B and do a comparison where
    they appear together - this is my problem in essence.
    thanks
    tom

    If both writes to the graph occur in the same loop ( just at different iterations), use shift registers. (See attached simple LabVIEW 7.0 example).
    If the writes occur in different parts of the diagram, Just write the first channel to a local variable of the graph, then later combine the two channels for the final graph.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    2Channel.vi ‏46 KB

  • Help In keithley 2400 VI!!(Problem with the data logging and graph plotting)

    Hi,need help badly=(.
    My program works fine when i run it,and tested it out with a simple diode.The expected start current steps up nicely to the stop current.The only problem is when it ends,i cannot get the data log and the graph,though i already have write code for it.Can someone help me see what's wrong with the code?I've attached the necessary file below,and i'm working with Labview 7.1.
    Thanks in advance!!!
    Attachments:
    24xx Swp-I Meas-V gpib.llb ‏687 KB

    Good morning,
    Without the instrument it might be hard for others to help
    troubleshoot the problem.  Was there a
    specific LabVIEW programming question you had, are you having problems with the
    instrument communication, are there errors? 
    I’d like to help, but could you provide some more specific information
    on what problems you are encountering, and maybe accompany that with a simple
    example which demonstrates the behavior? 
    In general we don’t we will be unable to open specific code and debug,
    but I’d be happy to help with specific questions. 
    I did notice, though, that in your logging VI you have at
    least one section of code which appears to not do anything.  It could be that a small section of code, or
    a wire was removed and the data is not being updated correctly (see pic below).  Is your file being opened properly?  Is the data being passed to the file
    properly?  What are some of the things
    you have examined so far?
    Sorry I could not provide the ‘fix’, but I’m confident that
    we can help.  Thanks for posting, and
    have a great day-
    Message Edited by Travis M. on 07-11-2006 08:51 AM
    Travis M
    LabVIEW R&D
    National Instruments
    Attachments:
    untitled.JPG ‏88 KB

  • Problem with the number format in the graph axis with Report Generation Toolkit.

    Hi!
    I'm trying to use the Report Generation Toolkit to plot some graphs in Excel.
    My first problem is that I don't know how to configure the number format in the Excel Set Graph Font.vi so that my numbers are correctly displayed in the graph's axis. The only given option is general (0,0) but this is not enough for me, my numbers can get really small so I need engineering notation or fraccional format.
    Second: I also insert a table with the graph source data, but the numbers are not correctly displayed either: for example: 
    0,75 is shown as: 
    0,750000
    but 1,25  is shown as: 
    1!250!000
    My guess is I am making to much or wrong string to number conversions or Excel is getting it wrong but I can't find my way...
    Can someone help me with this?
    Thanks,
    Isabel

    Here is my VI, it's just a trial so it can look messy...
    Thanks,
    Isabel
    Message Edited by Isa_pm on 01-22-2007 01:12 PM
    Attachments:
    Create report.vi ‏96 KB

  • Iam using a table in numbers to plot daily graph lines. If I fill a cell with a text box  at say zero it plots the graph. I can't actually set the cell value until the actual day but the graph plots it at zero when I don't want it to plot anything. Is tho

    I am using a table in Numbers to plot daily graph lines. Mood swings of how I am on the day, i"m a depressive.
    If I fill a cell with a step box at say zero it plots the graph. I can't actually set the cell value until the actual day but the graph plots it at zero when I don't want it to plot anything. Is there a work around. so thatbgraph only plots on the day?

    The answer is (sort of) in your subject, but edited out of the problem statement in the body of your message.
    When you use a stepper or a slider, the value in the cell is always numeric, and is always placed on the chart if that cell is included in the range graphed by the chart.
    But if you use a pop-up menu cell, you can specify numeric or text values in the list of choices for in the menu. Numeric values will be shown on the chart. Text values will not.
    For the example, the values list for the pop-up menu was:
    5
    3
    1
    Choose
    -1
    -3
    -5
    The first pop-up was set to display Choose, then the cell was filled down the rest of the column. Any text value (including a single space, if you want the cell to appear blank) may be used instead of Choose.
    For charts with negative Y values, the X axis will not automatically appear at Y=0. If your value set will include negative values, I would suggest setting the Y axis maximum and minimum to the maximum and minimum values on your menu list, rather than letting Numbers decide what range to include on the chart. Place a line shape across the chart at the zero level, and choose to NOT show the X axis.
    Regards,
    Barry

Maybe you are looking for

  • Standard report field addition

    Hi All, Can you please tell me how to add extra fields in the standard report RABEST_ALV01 for the tcode s_alr_87011963, though there is no user exit for the above tcode ? Thanks in advance.

  • ISA Application SAP CRM 5.0 - on mobile

    Hi All, We are supporting ISA application fr our client on SAP CRM 5.0, as of now. We would like to check if there is any possibility for our end users to open the application on their mobiles. If its possible, what all do we need to configure, if an

  • Formatting disk under SunOS 5.6

    It so happens that my company's customers mainly use other UNIX vendors, so I don't do much with SunOS/Solaris. So please excuse my ignorance. Anyway, I've got a customer with nearly 10 year old Sparc 5's and Sparc 10's, I believe. He's looking at tr

  • Trigger email after saving details in VA01.

    hi, can anyone please tell me how we can trigger an email right after the details are put in the VA01 and saved?? All the values input should be sent in throught the mail. Kindly help...point will be awarded to the most appropriate replies.

  • OS X Server DVD kernel panics

    Which hardware configurations kernel panic the OS X Server v10.5 DVD (RETAIL)? I get a kernel panic with an early-2008 Mac Pro dual 3.2 GHz quad-core with Apple Mac Pro RAID card, Apple Dual-Channel Gigabit Ethernet PCI, NVidia GeForce 8800 GT, and 3