Waveform chart, plot and Dynamics Data and double data

Hello everyone !
I would like to get separate plots on the same waveform chart.
Actually, I am simulating 4 signals (but in reality, it would be signal from sensors) and I would like to get 4 plots.
In the end, I get 3 plots and no 4 plots.
It is very strange... Yet, I have selected 'Stack plots' and '4 plots shown'.
Actually, I can see the last data has been merged with the first one.
How can I fix that ?
Thank you !
Solved!
Go to Solution.
Attachments:
test5.vi ‏105 KB

I'm not sure how you got into this state but try going into the chart properties (right click front panel chart and click Properties from menu) and under the appearance tab, unclick "stack plots", unclick "Show digital displays(s), hit "OK", then go into properties again and reselect those two boxes and hit okay. It should correct the problem.
All statements are my opinion and worth every cent you paid for them.
Tom Whitaker, CLD
"Give every man thy ear but few thy voice."
Polonius in Hamlet.

Similar Messages

  • Operating a Waveform Chart Backwards and Forwards

    I want to acquire data to a waveform chart. I want to be able to reverse the direction of my acquisition so as to overwrite the data that I have just acquired when needed and then go back forward - and so on. Does anybody know how I might be able to accomplish this or know of an example that may already do this? Thanks

    You can't do that with a waveform chart but you can do it with a waveform graph. See attached example.
    Attachments:
    temp.vi ‏69 KB

  • Waveform charts plotting

    I have a data acquisition VI, which acquires two sets of data as x and y values.I have problem plotting them in a waveform chart.I tried bundling them and wiring to the chart, but instead of one plot of x vs y as the data is being acquired, i get to view 2 sets of plots. How to overcome this, so as to plot my x and y values as they are being acquired in a waveform chart.Will someone help.

    > ... y as the data is being acquired, i get to view 2 sets of plots. How to
    > overcome this, so as to plot my x and y values as they are being
    > acquired in a waveform chart.Will someone help.
    If the X values are evenly spaced, then you can encode them as X0 and
    dX, wire these into a cluster with the Y array, and send that to the chart.
    If the values are not evenly spaced, one option is to look at the XY
    chart example in examples/general/graph/charts. The example uses a
    subVI to collect and limit the number of points, the data is then drawn
    using an XY graph.
    Greg McKaskle

  • Export Waveform Chart Plots data to spreadsheet file based on X scale (Time Stamp) min and Max Value

    Hi All,
    Query 1:I am trying to export the Chart data(Total plots 6 ) only between the X scale Min Time and Max time limit .
    But couldnt able to achieve that progammtically.
    is their anyway to achieve this.
    Query 2:Also ,In chart their is an  right click option to export data to excel,but when using this option the data get exported in its own temporary name(iv*****.tmp),i dont want this to happen.Instead the data expored using that option should be written in a file specified by me(everyting should happen in backend)
    pls suggest the best solution for above 2 queries.
    Thanks,
    Selvan.

    Hi selvan,
    1) read the chart history (or better keep a history in your own shift register) and limit the data to the XMin and XMax values (read all those chart settings from its properties). Then save the data using WriteToSpreadsheetFile…
    2) The right-click option is as it is. When you need different behaviour you need to program your own routine. Once you finished query 1 it will be no problem anymore to also solve query 2…
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Saving array data from a waveform chart

    I am using a CRIO 9004 and a 9237 bridge module to measure some strains from strain gauges. I've got one timed loop that reads the DMA FIFO and puts the arrays of values (16 data points, 4 per channel) into a queue. In the consumer timed  loop a For loop scales the binary data, auto indexes it into arrays, then the arrays are merged into a 2D array for the four channels  displayed on a waveform chart . Everytime the consumer loop runs it indexes 4 data points (per channel) yet the waveform chart plots them in a consecutive manner and doesn't overwrite the previous four. If I convert the arrays to waveform arrays I don't see anything on the waveform chart.
    If I pass the 2D array of data to a array indicator inside or outside the consumer loop I get only 16 data points. I want to save the information that appears on the waveform chart  after the consumer loop but because I'm not using waveform data type I can't use the write waveforms to file vi. The waveform chart history buffer has been set to 195360.
    Idealy we will run the four channels for 120 seconds charting the data and saving the data. The minimum data rate is 1613kS/s (403 per channel) The data can be saved after the loops have finished gathering and processing or while they are running. I noticed when I tried to write to TDMS it slowed the consumer down. Same thing if I use a shift register with the volume of data.
    I suspect I'm not sending data to the chart in the correct manner ( usualy takes two attempts to "clear chart" using shortcut menu).  I'm not too familiar with timed loops /producer consumer loops  and just tried to put something together based on examples.
    I've attached my host vi and front panel screenshot.

    Hope they appear attached this time.
    Attachments:
    Basic DMA (Host).vi ‏444 KB
    screenshot2.jpg ‏113 KB

  • How to set waveform chart to start data since beginning of run

    Solved!
    Go to Solution.
    Attachments:
    TCs.vi ‏106 KB

    You need to check the update mode of your chart.
    Strip Chart—Shows running data continuously scrolling from left to right across the chart with old data on the left and new data on the right. A strip chart is similar to a paper tape strip chart recorder. Strip Chart is the default update mode.
    Scope Chart—Shows one item of data, such as a pulse or wave, scrolling partway across the chart from left to right. For each new value, the chart plots the value to the right of the last value. When the plot reaches the right border of the plotting area, LabVIEW erases the plot and begins plotting again from the left border. The retracing display of a scope chart is similar to an oscilloscope.
    Sweep Chart—Works similarly to a scope chart except it shows the old data on the right and the new data on the left separated by a vertical line. LabVIEW does not erase the plot in a sweep chart when the plot reaches the right border of the plotting area. A sweep chart is similar to an EKG display.
    From the help menu:
    The waveform chart maintains a history of data, or buffer, from previous updates. Right-click the chart and select Chart History Length from the shortcut menu to configure the buffer.  The default chart history length for a waveform chart is 1,024 data points. The frequency at which you send data to the chart determines how often the chart redraws.
    Attachments:
    resp2.jpg ‏36 KB

  • Plotting elements from an array in waveform chart

    Hi all,
             I am trying to plot a real time data by extracting single element from an array.
    Problem is that, at some frequencies waveform chart plot perfect while at other frequencies it plots like a undersampled signals.
    Any suggestions?
    Attachments:
    wfm.png ‏136 KB
    wfm.vi ‏133 KB

    The timing information comes from the data acquisition process, not the display. You should be able to get equally good display of timing information on a chart or a graph.
    How many samples do you read at a time? How do you define "realtime"? Anything plotted on a graph or chart for the use of a human operator does not need to be updated more than about 10 times per second because the eye/mind system works at about that time scale. For humans a real time grahical update rate of 2 to 10 Hz is adequate. Then you will have 256 to ~51 new samples at each update.
    Another issue is that both your graph and your plot have plot areas which are less than 200 pixels wide. If you supply more than [plot width] pixels to a graph or chart, LabVIEW will reduce the data to determine which pixels to plot. So your graph with 1000 X-axis values has that reduced to the 184 pixels across the width of the graph. So, regardless of the precision of the data, the "precision" of the display is limited to the number of pixels.
    Lynn

  • Waveform Chart Y-T Values

    I have a waveform chart plotting Voltage values against time. I have to store both the values into a Spreadsheet file. I am able to store the values on Y axis (vOLTAGE), but not the time values. How cal i do so?

    One way is to build a waveform data type with Build Waveform function, add t0 and dt info, and use the Export Waveforms to Spreadsheet function. The dt, (delta time) should be readily available from the sampling rate of your data acquisition. You could also create an array of time values, append this array to your Y array for a 2D array and use the 2D input of Write to Spreadsheet file. There is a function in LabVIEW called WDT Get Waveform Time Array that shows how to create an array of time values.

  • Problem with Waveform Chart updating

    Hi!
    I have written a LabVIEW project for 8510.
    I have a problem with the waveform chart not updating the data incoming to it.
    that is, Y axis does not update according to 8510 display format.
    May you help me?
    Attachments:
    Network_Analyzer_8510C_nazanin_5.lvproj ‏6 KB

    Hi,
    Do you want to change the label???
    1. Just right clicl your graph
    2. in the properties window go to 'Scales' tab
    3. select the Axis, and change the name.
    Is this the solution regarding your issue....
    Or
    do you want to change the domain from Time or Frequency...??
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.
    Attachments:
    Solution.vi ‏265 KB

  • 3 Waveform Chart to a Single Excel but in Different Spreadsheet

    I wanted my waveform chart to export the data to excel which I can easily do by right clicking the chart and export to excel. But I have 3 waveform chart and I want to export it to a single excel file but in different spread sheet. How do I do that with the same result with the conventional "right click method and export"?

    For this you probably will need to add some code to your VI to do this instead of right clicking on the chart. You can use the VIs located in the Programming>Report Generation>Excel Specific pane which has tons of stuff for that.
    Attached is an example of a basic VI that populates three waveform charts with random data and creates an excel spreadsheet with each chart's data input into a different workbook. This is rough and you can add a lot more functionality if you want depending on your needs. Just take references to all your charts and put them into an array and feed into the for loop.
    (Also there are probably better/cleaner ways to do it but this is the best I've got )
    Attachments:
    WaveformExcelExample.vi ‏29 KB

  • Waveform chart update problem

    Hi!
    I have a problem with the waveform chart not updating the data incoming to it.
    How can i refresh it so it updates it every time it enters the loop?
    The data ingoing to the array and out of the array is checked to be correct and valid.
    Why doesnt it refresh it?
    Yours truly,
    Tomi Nurminen

    problem solved.
    Im a retard

  • Strictly typed refnum vs normal refnum for a waveform chart

    I know that one way of clearing a waveform chart is to write an empty array to the 'history' property of the charts property node. The help file for this states: "use strictly typed refnums when reading this properrty"
    I am looking at a program coded in LV 8.6
    a number of control refnums are carried around in an array (so strict typed)
    in some cases (but not all) the programmer used "to more specific class" to designate a waveform class when writing to properties for scaling the Y-axis, etc. Other times this is not done(?)
    We are now having an issue which appears to be that the chart is re-initialized when dynamically rescaled (I am not sure if that is what is going on, but that is what it looks like). 
    It looks like when the chart is dynamically rescaled the previously acquired data is gone and the chart starts populating fresh. 
    Haven't figured out what is causing this, and I am wondering if strict type refnums vs generic refnums may be a factor?
    Lawrence M. David Jr.
    Certified LabVIEW Architect
    cell: 516.819.9711
    http://www.aleconsultants.com
    [email protected]

    Waveform charts can hold different data types (they are polymorphic), such as DBL or 1D-array of DBL. When you want to set the history, you need a 1D DBL or 2D DBL respectivily. The correct data type is part of the 'strict type', I guess you will get the default instance if you use the non-strict (generic) type.
    But if this is releated to your problem, I can't even guess. 
    Felix 
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

  • How to implement cursor in waveform chart?

    Hi,
    i have used visa tools for making .dat file of data values...i used waveform chart to graphically represent data of that file.i want to implement cursor in that can you help me out how to do it.
    Regards,
    vijtin
    Solved!
    Go to Solution.

    Hi vijtin,
    replace your chart with a graph to enable a cursor legend...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How to show two different plots with current system time and date on waveform chart

    I am using  one waveform chart to display the more than one value continiously. The data  are comming properly but i am not getting my system (pc) time and date on x axis. It is showing default date and time (i.e.01/01/1904 5:30:45). Please  give me suggestions to display the real time and date on x axis of waveform chart. 

    How does your data look like? Do you graph waveform data types, dynamic data, or plain arrays/clustes? In the case of plain arrays, you need to set x0 to the absolute start time of your data, e.g. with a property node.
    I you would attach your code (or an image) we could offer more specific advice. There are too many possibilities.
    LabVIEW Champion . Do more with less code and in less time .

  • Data acquisition and waveform graph plot

    Dear All
    My signal is out put of current transformer which is 2v dc. I succesfully configure usb 1208fs with labview8.2. Now I want to plot my input signal on the waveform graph in frequency vs amplitude(db). Can any one guide me how can i plot my data?

    Hi,
    Could you strip the VISA stuff and re-post your VI so I could run it and see where is the difference coming from. A few observations though
    1. Always try to wire from left to right and top to bottom so that your block diagram code is readable.
     2. A waveform graph gets completely redrawn everytime you give it soem data ao it is typically used outside any loops. If you want to display a waveform inside a loop, it is better to use waveform chart.
    Regards,
    Ankita

Maybe you are looking for