Plot discontinuous data in labview graph/chart

Hi,
I would like to plot discontinuous data in a graph in labview. 
The data is aquired and plotted over time - butduring certain periods there is no data aquired.
I don't want during these times any "line" between the adjescent points - I just want simply "no line".
Maybe the best way to show it is this example of a javascript chart
http://www.highcharts.com/stock/demo/data-grouping
- zoom into the time around november 2005
During certain times there is no data - this is implemented in the datastream as "null" instead of a vaild floating point number - similar to NaN for floating point numbers - the javascript code knows that in this case there should be no interpolation.
Is there any way to have a similar behaviour with labview charts or graphs ? 

Yes.  Place an NaN value in the array where you data break is before sending it to the graph.

Similar Messages

  • Plot exel data in labview dynamicall​y

    I would like to plot My Excel data in labview on XY graph, dynamically every 5 seconds.
    i heard that we have to make use of activex.
    Attachments:
    int_ana_110101.xlsx ‏14 KB

    Hi,
    Yes, you can use ActiveX to do this.
    Search "excel" on LabVIEW examples and forums, and you will find a lot of examples to male what you want.
    Best Regards,
    V-F

  • Saving data from graph/chart to use next time a VI is run

    Hi all!
    I am not sure if this is even possible, or whether someone has maybe
    done something like this. I need to save the data from a graph or chart
    during each run of a VI. I then want to call this data back into the Vi
    the next time it is run so it can be displayed at the same time that
    the VI runs. I need to do this in order to compare measurements from
    different setups during each measurement. This way I will have a
    reference to be able to observe what influences different changes in
    the system has had in comparison to a previous test.
    Any suggestions will be greatly appreciated!
    Thanks for the help!
    Charel Marais

    There are a few points to this.
    First, you need to decide whether you want to save the data or just hold it in memory. Saving it to the hard drive will be more complex, depending on the format of your data, but you can search for "file" in the example finder (Help>>Find Examples) and look at the VIs in the file I\O palette.
    If you simply want to hold the data in memory until the next time the VI is run, you can simply use a local variable or a shift register. You can search the example finder for "shift register" for some examples.
    The key to what you want is using multiple plots on your graph\chart. When you do, you can take the data from your last run and simply insert it into the graph as an extra plot, which will be visible at the same time as your new data. Again, search the example finder, this time for "graph" or "chart" to see how to work with multiple plots.
    To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. You can also contact your local NI office and join one of their courses.
    In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
    Try to take over the world!

  • Labview Intensity Charting/Graphing

    How do you get an array with three columns of data to be 3 individual arrays and then graph them in an intensity graph/chart? I am pulling data from tcp and it is output as a comma separated string and a carraige return to denote an end of variables so the output in the data stream looks like:
    (X,Y,Intensity)
    6,80,9,
    74,14,0,
    51,69,1,
    then i conver it to s spreadsheet style 2D array. I talked to the labview reps and they said I need to use something like Replace Array Subset. To do this. I have included the VI and an image of what my current setup results in. Basically I just want the intensity to be plot at the X and Y coordinate specified in the set. Thanks!
    Attachments:
    TCPGraphing.vi ‏40 KB
    labview.png ‏108 KB

    If I understand correctly, you will want to initialize a 2D array of the correct size for your data filled with zeros.  As the data is read in, use the Replace Array Subset to replace a zero with the new data.  The X and Y coordinates will determine which element of  the 2D array to replace with the associated Z value.  Something like the attached maybe?
    Randall Pursley
    Attachments:
    Replace.png ‏20 KB

  • Chart Web Part to not plot zeros on a line graph

    Hi all,
    Is it possible to not plot zeros on a line graph?
    I have a line chart with days of the current month along the x-axis and a value on the y-axis. I have a series representing a forecast as a line that will show what the values along for the whole month should be and a second
    line chart series representing the actual. This tells the reader how the actual is tracking against the forecast. The data is based on an excel table.
    Currently when the latest value is set the line skews back to 0. I don't want this shown, I just want it left blank. On excel you can change the zeros to na() and the line graph will not plot, however, if I leave them as na() in the source data, the whole
    column wont be imported in the chart wizard.
    Any ideas?
    Thanks
    Andy

    It's true -- the RangeBar chart type only has two field options (X and Y) while the RangeColumn correctly has an addtional Y field. The RangeBar chart should obviously have two X fields if it's supposed to plot a range, as the name and example image indicate.
    Neither this thread or the one linked has led to an answer. Can this be fixed?

  • The plotted data on the graph disappear when clearing graphs!??

    Hi folks
    I got this vi, with two graphs, and one chart. I got this chart coz i want the data plots to strip in the graphs.
    but when the VI runs, and i pres stop and run again, the data plot disappears, they are then beeing plotted in the back ground or something like that.!
    Also when clearing the graphs the data plottet disappears.
    How can I overcome that ?
    regards
    Zamzam
    HFZ
    Attachments:
    FlowReadChartHist1_mod2.vi ‏79 KB

    Hello Zamzam,
    same again:
    1) I click "Clear" when the graphs are not filled with data: graphs are cleared, new data appear from left and fill the graphs.
    2) I click "clear" when the graphs are "filled" (the x-scrollbar shows
    more data the display is showing): graphs get cleared, new data appear
    from left and fill the graph again...
    3) I click "stop" at any time: vi stops, actual display stays.
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Display LabVIEW graphs in realtime from previously acquired data

    I have some raw LabVIEW data stored in a BIN file. This file contains about 4 channels of labview graph data that was acquired. How can I open the raw LabVIEW data and view the four steams in realtime? I need to be able to view the data as it scrolls across in the same way as when the data was acquired. Is there a program or premade VI to do this?
    I will then use screen capture software to create videos of the labview graphs. If there is a way to directly convert the visual labview graph data into a video that displays the graph in the same way it was collected that would be ideal. For now I would be happy just getting the data displayed in the same way as it was collected.

    I'm sure this has been asked before, but I am having a hard time finding the other messages.
    Basically you need to create a VI that reads in the binary data from the file.  You also need to know the acquistion rate for that data, what is the dt between data points.  Now feed that data into a for loop (auto-indexed) that feeds the data one point at a time to a waveform chart.  The loop would have a wait statement equivalent to your dT of the data.  Thus the loop runs at the same rate as you had acquired the data adding a point at a time to the waveform chart.

  • Plot different data set depending of some conditions using labview and veristand

    Hi Community,
    i have a couple of points saved as XY data points on my desktop.  The files are save as csv.  the idea is to read the file utilizing the Read From Spreadsheet File vi when some conditions are met and then plot the XY data wiht XY Graph Addon of the veristand workspace.
    for instance:
    if case 1 is true read the corresponding file and then plot the first set of data
    if case 2 is true read the corresponding file and then plot the second set of data
    if case n is true read the corresponding file and then plot the n set of data.
    Could you give some advices how to implement it (Labview and Veristand)?
    I'm using LV and NIVS 2012
    Thx
    Mich
    Attachments:
    vide.vi ‏35 KB

    Hi Michel,
    I believe the easiest method will be to use the VeriStand .NET API to call into VeriStand and utilize LabVIEW for creating the decision making cases that you have.  I have attached some examples of using the VeriStand API in LabVIEW.
    Using the NI VeriStand .NET API in LabVIEW to Control a VeriStand System
    https://decibel.ni.com/content/docs/DOC-32268
    Where Can I Find LabVIEW Examples Using the NI VeriStand API?
    http://digital.ni.com/public.nsf/allkb/E1066949FA67B6CE862578A7005988D5?OpenDocument
    Please let me know if this helps.
    Matt S.
    Industrial Communications Product Support Engineer
    National Instruments

  • How to copy one plot from a waveformGraph or a chart to an other waveform Graph in run time?

    Hello...
    I need to copy a chart og waveform graph to another waveform graph in runtime, but its not working, I tried to copy froma chart to a graph by using the history property, but it didn't work coz it just runs the data from the chart the same way in the graph. I sort off want a standing plot from the chart to graph. or from graph to graph. it doesn't matter.
    The meaning by that is that I want to check the data , by using the graph pallete and the cursor pallette.
    But I can't do that if the source graph  is running.
    so by copieng the graphs data to another graph. i can check the data all the time i want.
    I Hope someone out there Understand what I mean. My english is not that good.
    Thanks.
    Zamzam
    HFZ

    Hi again, I maked this VI, and it works, but i cant really get the X- scale time with it, any suggestions.!
    Thanks
    Zamzam
    HFZ
    Attachments:
    CopyRealTimeChart.vi ‏52 KB

  • Can not edit data labels in old graph chart objects using Word 2010

    In Word 2010, Insert object "Microsoft Graph Chart", go to Chart Options and check an item in Data labels, such as "Series Name", "Category Name" or "Value". Click OK, then double-click on a data label to edit its
    settings, or right-click on a data label and select "Format Data Labels..."
    This makes Word to crash. The only way I can get out of it is by using the Task Manager to kill Word.
    This happens in Windows 7 and Windows 8. This does NOT not happen in Word 2007 nor Word 2013, so it seems specific to Word 2010. All our clients have the same problem, this does not seem related to a specific workstation configuration.
    The Microsoft Graph Chart are the old charts used within .doc files. I have an application still generating those types of files and need to edit data label settings manually before processing the files with my application.
    Also note that anytime you edit a .doc file in Word 2010 and you see "Compatibility Mode" in the title bar, the Insert / Chart option from the ribbon inserts an old type chart (same as if you use Insert / Object / Microsoft Graph Chart), not the
    new Word 2010 charts. You then have the same problem editing the data labels.
    The underlying Activex seems to be the Chart.Exe file, the one I have installed is 14.0.7012.1000. You can see the version by double-clicking the chart and then look in the Help / About menu.
    Any help will be greatly appreciated.

    As this is a configuration issue and not a programming issue I' moving your question to a more appropriate forum where you're more likely to find assistance.
    Cindy Meister, VSTO/Word MVP,
    my blog

  • How to generate an s-curve graph/chart in labview

    I would like to generate my s-curve shape in a visible graph in a labview vi. Are there any quick/dirty vi's that can take position, accel/decel, vel and jerk value, and plot this into a time graph? Something akin Motion Assistant...
    I am able to construct a trapazoid graph using basic algebra within lab view, but cannot find a good formula to compute an s-curve. I am familiar with converting the jerk value to actual counts/s^3, but from there on, I do not know how NI-Motion calculates to accel, decel and velocity times. Thanks.

    Hello,
    What versions of LabVIEW and Motion Assistant are you using? Motion Assistant 1.2 exposes its API to LabVIEW and these functions can be accessed by opening LabVIEW and navigating to All Functions >> NI Measurements >> Motion >> Motion Assistant. Using these VIs, you can set up a move and use the Get Move Profile VI to obtain an array of points for the velocity profile.
    Beyond this method, there is no straightforward way to obtain those datapoints.
    If you have any questions about this method, please let me know.
    Regards,
    Scott R.
    Applications Engineer
    National Instruments

  • Is there a data Buffer similar to Chart Histroy in LabView ?

    Dear all,
    Is there a data Buffer similar to Chart Histroy in LabView ?  Which I can store a large amount of data without worrying about memory & overflow ? I don't want to display original data, I want to process data in the buffer, then discard the original data. Do I necessarily need to use Chart?
    I  don't want to display original data because I want to save time to do other processing and make output more "real-time".
    Maybe " Initilize Array" can do that? any one has examples?  or is there similar functions in Labview as " Malloc" in C/C++?

    But one of the things that the Chart History buffer handles is to act like a circular buffer, overwriting old stale data as new data comes in.  As far as I've been able to determine, Queues can't do that.  Instead, a queue will either grow its size and write the new data into the new space or else it will ignore the new data and return an error.  I haven't found an option that lets you leave the queue at the same size and overwrite the oldest data with the new data coming in.
    In the past I've used LabVIEW RT where the RTFIFO offers such an option, and I don't understand why queues don't support it.  I'll grant that the default behavior for a queue should be NOT to overwrite, but an explicit option would be very useful.
    Probably an even better wishlist item would be a new set of functions called Circular Buffer.  Underneath, it could be implemented similarly to either Queues or RTFIFO's.  Additional accessor functions would be provided to allow random access rather than purely sequential access.  The ability to request an array of elements rather than a single one at a time should also be supported.
    In the meantime, someone on this forum posted a tip a few weeks ago.  He (she?) would create a subvi that used an actual Waveform Chart as the circular buffer.  The extra trick was to hide the chart on so there wouldn't be slowdowns to draw the chart data n the front panel.   Ah yes, see the response by rpursley8 in this thread.
    -Kevin P.

  • How to take the print out of the entire data from the waveform chart

    i am using cont acq to spreadsheet file.vi to acquire data from a number of channels. this vi also plots the acquired data on the waveform chart. i want to take the print out of the entire data. how can i do it ?
    also how can i take print out of the data between given interval??
    please reply me
    thank you

    There are a number of different ways of achieving your goal. Depending on which version of LabVIEW you have and which development environment, the Report Generation Toolkit is a very powerful tool. Attached is an example that prints the acquired data without the use of additional toolkits.
    Jonathan Hildyard
    Applications Engineer
    National Instruments
    Attachments:
    DAQ_with_Print.llb ‏115 KB

  • How to save data on a graph and then add new data to it

    i am currently plotting data on a graph from a physical system. However when i want to add new data to the plot, the old one is replaced. I am trying to do more than one plot on the same graph, where the incoming data is at different times. I want something like Excel where i can just add a new plot to the graph.Can i save the data or freeze it onto the graph or something so that i can add a new plot and see the two at the same time?

    > i am currently plotting data on a graph from a physical system.
    > However when i want to add new data to the plot, the old one is
    > replaced. I am trying to do more than one plot on the same graph,
    > where the incoming data is at different times. I want something like
    > Excel where i can just add a new plot to the graph.Can i save the data
    > or freeze it onto the graph or something so that i can add a new plot
    > and see the two at the same time?
    As the other post pointed out, there are two objects in LV for plotting,
    graphs and charts. If you wish to have a chart recorder that
    accumulates data into one or more plot with time, you probably want a chart.
    If you push a button and acquire a trace and want to add that to your
    graph, you just need to
    combine it with the data you plotted before and
    update the graph. It isn't the most efficient, but you can easily read
    the value of the graph using a local, add another row or column or
    element to your data and send it to the graph.
    To directly answer your other question, no, the grah doesn't have a
    functional interface for clearing, adding, or deleting plots. Instead,
    you do that with the diagram nodes and give the graph the results.
    Greg McKaskle

  • How do you change the Number of Plots Shown property of a Waveform Chart at runtime?

    Is there any possible way to change the Number of Plots Shown property
    of a Waveform Chart at runtime?  Thy Dynamic Stackplots example is
    way to limited.....

    There's a couple of ways to do this -
    1. Manage the data going into the chart to only be what you want displayed
    2. Use property nodes.  Specifically, the Plot.Visible node. (LV 7 example attached).
    2006 Ultimate LabVIEW G-eek.
    Attachments:
    MultiPlots.vi ‏48 KB

Maybe you are looking for