Using waveform chart to collect data

Hello,
I am a new user to labview, however I have been using it for a while now.
I have a simple problem.
My model runs a drive cycle for 1400 secs.
I want to record data for a sample rate of 1 sec.
However, When I try to run the model and export it to excel it shows data for a sample rate of 0.1 seconds. How can I change that?
Also, what can be the maximum buffer size of the waveform chart?

Hey govindgoal,
The max buffer size is pretty massive so don't worry about that. I would post your code or at least the part which is recording the data for people to help debug. It would seem however that you have some timing issues with your application.
Regards
Andy
"To 'G' and not to 'C', this is not a question!"

Similar Messages

  • How to use waveform chart for slow data

    For slow data acquisition (e.g. 1 sample / sec) in the case of using DMM, how to display those data in a chart / graph?
    For this sampling rate, there will be only 1 point in the chart. 
    How to buffer them and display them in a sequence?
    Or, any other method?
    thanks

    Here is a quick example showing chart, graph and XY graph.  All YOU need to do is use a chart and wire your DMM reading right to it.  Charts have their own built in history (you can change the buffer size by right-clicking > Chart History Length)
    For more info see the Examples...  Building User Interfaces > Displaying Data > Graphs and Charts
    Using LabVIEW: 7.1.1, 8.5.1 & 2013
    Attachments:
    MultiGraphs.vi ‏17 KB

  • Plotting multiple graphs on one waveform chart with dynamic data types

    I'm trying to put multiple graphs on one waveform chart and having data agreement errors. I'm wondering if it has anything to do with the fact that dynamic data is being used (I've had no problems with other datatypes in the past). Does anyone know how to correct this problem? I've attached the following .VI. There will be plenty of .VIs on the bottom that won't load, but they are not consequential for this problem.
    Thanks!
    Brian
    Solved!
    Go to Solution.
    Attachments:
    Stiffness Control V1.vi ‏119 KB

    you could use stacked plots by right clicking on the chart and clicking on the stacked plots and than on the front panek you can put a bundle function on the FP and hook your signals up
    Harold Timmis
    [email protected]
    Orlando,Fl
    *Kudos always welcome
    Attachments:
    multiplotwaveform.JPG ‏138 KB

  • Plotting data with multiple y-axis using waveform chart

    I am using LabVIEW 7.1 and am simply trying to split my data on one waveform chart using 2 Y axis.  One goes from 0-150 and the other from 800-1000.  I want them to graph on the same chart, and I have selected 'duplicate scale' when I right click on the chart, as instructed in the labview manual, but both of my data streams are still only connected to one of my axis.  I can't get it to recognize that one data stream should go on one axis and the other stream should go on the other axis.  Can someone help please?

    Right-click in the plot legend one plot. In the context menu select y-axis and after the axis you want for this plot. The scale is changed directly.
    There is an image of the context menu attached.
    I hope this helps
    Greetings
    shb
    Attachments:
    two y-axis.png ‏16 KB

  • Accessing waveform chart history collected via DAQmx

    Hello,  I'm collecting voltage data using DAQmx and I'm displaying the data using a waveform chart.  At the end of the acquisition I would like to access the entire data set stored in the chart but when I attempt to do so using a History Data property node, it only gives me the data that was collected in the last chart update, not all of the data stored in the chart.  Attached is a copy of the program, which is simply the Continuous Analog Input example.  Any suggestions?  Thanks!
    Attachments:
    Jeffs_Voltage - Continuous Input.vi ‏80 KB

    Data Flow.  You have no clue when that chart history will be read.  You need to force it to read after the acquisition is complete.  Using the error wire to force the data dependancy is a good way to do it.
    How long are you acquiring the data for?  If much more than a few seconds, I would use that logging feature to stream the data to a TDMS file and then you can just read the resulting file.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Waveform chart. Send data to Excel

    I am monitoring the output voltage from a electronic circuit using LabView 7.1 and a DAQ card.
    I have been able to view the output voltage using a Waveform Chart but i have been unsuccessful sending the data to a file. Only one data point gets saved each time.
    I am using the "Write to Spreadsheet File .vi "
    Could someone tell me what i am doing wrong?
    Please see the program attached below.
    Attachments:
    Attempt 3.vi ‏26 KB

    You can build a 1D array as your loop runs. Where your data exits the while loop, right click on the border and select 'Enable Index'.
    If you want to save data continously, you need to move your 'Write to spreadsheet file' vi inside your while loop. As it is, only the last data point will be saved when you stop your loop.
    You will also need to connect a control or constant to the file path input so that you do not get a file dialog every time your loop iterates. Further, connect a True constant to the 'append to file?' input so that you do not overwrite data.
    Also, you may want to insert a wait period in your loop to allow other processes to run.Message Edited by DavidT on 04-27-2005 09:16 AM

  • Using FPGA program to collect data for long time without 'gap'

    Our data collection system has a NI-PCIe 7852R card. We want to collect data at up to 10 KHz for up to 10 to 30 minutes. The data amount is too large so we have to separated them into multiple Array and save in multiple files. We do not want to loose data during the saving time. Anyone has idea on how to do it? We would appreciate your help.
    My current method:
    1 using FIFO memory, in FPGA program loop , write data from AIs to FIFO memory, after certain amount of data is written, say 2000 of it, asks a IRQ.
    2. In Host program loop, wait for IRQ, once the IRQ comes, read in FIFO data, do some processing, put the data into prelocated array, once the prelocated array is full, save it to the disk.
    So far the method is not working.
    1st, there seems never a IRQ, the wait for IRQ (invoke method) never took any time.
    2nd, the FIFO reading in the host program loop seems takes no less time than the FPGA program write same amount of data into FIFO...
    SO I have extra questions:
    1. Does the 7852R cards and its new FPGA still support IRQ?
    2. What is the reading speed of FIFO read in Host program? I thought it should be much faster than the FPGA program writing it....
    Any help will be propitiated.
    Thanks a lot

    Here is the FPGA program block
    Part of Host program block inside the loop
    Part of Running results.
       1. Some data is missing in every FIFO reading in Host program
       2. The FIFO reading in Host program takes more time than the AIs=> FIFO in the FIFO program
       3. Of cause each host loop takes more time than it takes FPGA program to get same amount of data...
    Attachments:
    FPGA_AI_block.png ‏48 KB
    HOST_AI_inloop_block.png ‏31 KB
    Running result.png ‏124 KB

  • Any alternate solution to using Waveform Chart Property Nodes 'ActPlot', 'Plot.Visible' for mulit-plot color problem on PDA?

    Hello,
        On a waveform chart, 4 signals need to be plotted based on the status of 4 boolean inputs. Eg. if the first boolean input is true, the first signal needs
    to be visible on the waveform chart; if the first boolean input is false, the first signal should not be visible on the waveform chart and so on. This can be
    done on LabVIEW desktop using the Waveform Chart Property Nodes 'ActPlot', 'Plot.Visible' - a sample VI "BundleSignals_Select_Desktop.vi" is attached for
    reference.
        But on PDA, since the Waveform Chart Property Nodes 'ActPlot', 'Plot.Visible' are not supported, some other method has to be used. I have done the
    selection/de-selection of these signals using 'Insert', 'Delete' array functions as shown in the attached VIs "BundleSignals_PDA.zip" which works, but the
    problem is that the colour of these signals do not work as desired when the selection/de-selection of these signals is done - It is required that the first
    signal should always appear in White color, the second signal should always appear in Red color, the third always in Green color & the fourth always in Blue
    color.
        I hope i have made myself clear of the problem. Has anyone faced this problem before & is there a solution?
    Note: Version of LabVIEW that we are using: LabVIEW 8.5 Professional Development System for Windows Vista/XP/2000 and LabVIEW 8.5 PDA Module for Windows
    Mobile.
    Thanks & Regards,
    Subhashini
    Attachments:
    BundleSignals_Select_Desktop1.vi ‏25 KB
    BundleSignals_PDA.zip ‏26 KB

    Unfortunately the only alternative to using property nodes is to set the properties manually on the development environement. The limited size of memory does limit us in terms of features for the module.
    Mehak D.

  • Using Waveform Chart, inconsistent results when setting X range and delta X properties

    I have isolated my problem to a simple vi consisting of only a waveform chart (attached). I am using LV 5.1.1. I have used an attribute node to set x minimum to 0, x maximum to 10, delta x to be entered by the user, and have turned autoscaling off.
    When I plot 2 random points, x maximum is inconsistent, and doesn't stay at 10 when the vi is run several times in a row. Specifically, the first time the vi is run (after delta x is changed), x maximum changes. Then, the second time it is run, the max typically goes back to 10. However, when run several times in a row, x max will fluctuate. Specifically, I tried entering a delta x of 8. Mostly, the min is 0, max is 10,
    and the line between the 2 random points plots from 0 to 8 along the x axis (good). However, every once in a while, the x max will go to 8.
    This behavior is very strange, and will not allow me to program my actual application correctly until I fully understand what is happening. I would assume since Waveform Chart has these attributes to set, I can still using the Waveform Chart, and don't have to completely restructure my program to use another display.
    Attachments:
    deltaX2.vi ‏28 KB

    That is the expected behavior, it is only that you don't assign the properties in the right order. If you set the XScale.Multipler before min and max all is how you expect it. When you set the multiplier, min and max are automatically changed to reflect the scale changes thus overwriting your previous settings.
    LabVIEW, C'est LabVIEW

  • 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

  • I use waveform chart VI to plot the setpoint as a g

    reen line, process variable value in a white line, maximum and minimum in red lines.Is there a way that I can change the process variable color only for those points when the values are out of max and min range and leave the in range points still in white?The reason for doing this is to alarm the conditions when the process variable is out of limits. But we prefer not to change the color for the points when they are in limits.

    reen line, process variable value in a white line, maximum and minimum in red lines.Is there a way that I can change the process variable color only for those points when the values are out of max and min range and leave the in range points still in white?Alberto,
    Thank you for your VI. It triggered my mind. Now I can use three different plots to represent three different zones, then the color will change.
    Great idea! It will work. since I have to use auto scale y, then I changed your VI, now you can auto scale y without seeing the NaN points. see attached VI.
    I have the following questions:
    1. how to clear XY chart using a front panel button?, seems no attribute for this.
    Attachments:
    colored_chart1.vi ‏41 KB

  • Waveform chart data to file

     dear sir,
     iam getting eight different  plots on waveform chart with system date and time. Now i want to store this   eight values with system date and time in excel file as per specified time interval. it shoould be online because i don't want to stop my vi to save that data in file. Is it possible? If  yes please help me.
    thanking you
    falgandha

    Falgandha,
    this can be done with ActiveX or just saving the data as spreadsheet file and then importing it to Excel.
    If you like to know more about Excel and ActiveX, you should take a look into the ActiveX-examples of LabVIEW.
    Saving data as spreadsheet file is available as examples as well, but maybe it is sufficient for you to use the "Write To Spreadsheet File.vi" from the file IO palette.
    hope this helps,
    Norbert B.
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • 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

  • 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

  • Waveform chart Display

    Hello
    i am try to make my waveform chart as accumlate data which mean that it will not over write the old measurnents but instead will display all
    from the begining of time
    can anyone help me?
    thanks in advance

    Sorry, I don't have DAQ drivers installed, so I cannot really inspect your code.
    Still, there are some beginner mistakes that should be corrected.
    The loop all the way on the left uses 100% CPU doing nothing but spin millions of times per second. Place a small wait.
    Instead of a sequence structure, use a state machine architecture. Much more flexible.
    If the code is sitll in the first frame, pressing start would lock up the VI because the event cannot be handled.
    If you would make some of your booleans latch action, the local variables would not be needed.
    Why do you even use the event structure and event loop? Just wire the START button (switch action) to the outer case structure. Wire the ON LED to the same wire.
    You don't use the timeout event, so why is it there?
    Explain the purpose of the two charts.
    Since the while loop could go on forever, you potentially have an unlimited amount of data to retain. Is there an upper limit? No computer has unlimited memory. Maybe you should stream the data to disk and just display the last few thousand points on the charts.
    LEDs are typically indicators and don't make good controls (Start Lock).
    LabVIEW Champion . Do more with less code and in less time .

Maybe you are looking for