Append data to a waveform graph

I am using the Acquire N - Multi-Digital Trig to acquire a series of data. I wish to store the data acquired, by saving them into a file (Export Waveforms To Spreadsheet File) however, the waveform graph data are not appended. I have tried to see the example provided for appending data to a waveform graph (example.zip) on this webpage but I wasn't able to apply the principle to my application. (I have even tried the Append Waveforms.vi function but I cannot connect it to the waveform graph data).
I will appreciate it if I can have any suggestions on how to append the waveform graph data, so as to store them in a file.
Thank you

There is an Append Waveforms.vi that you can use for this. It's located in the Functions>>Waveform>>Waveform Operations palette. That will append two waveforms, which is different from just an array. If you only want to append arrays, you can use the Build Array function to concatenate two arrays.
J.R. Allen

Similar Messages

  • How to get the data from a waveform graph?

    Hellow!
    I have a waveform graph which has the experiment signal, so how can i do to save the X,Y data in a file?
    thanks!
    Mike

    Hii,
           You can store the data as shown in the vi, just use the signal data by converting it into the numeric form and give it instead of random data.
    Hope this will help.
    Thanks,
    Nishant
    Message Edited by Nishant on 04-16-2006 11:21 PM
    Attachments:
    file write.vi ‏31 KB

  • 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

  • XControl Data wiring problem - Data type is Waveform Graph (Strict)

    Hi,
    I created an Xcontrol for a waveform graph. The datatype (under Data 1.ctl) is a WaveformGraph reference type.
    When I wire a Waveform graph reference to the Xcontrol (as an indicator), there is a wire conflict.
    I checked the strict definition and the reference types are theoretically congruent but I cannot seem to wire it together. Any solutions?
    Please see the attached code.
    Thanks!
    Attachments:
    GraphDisplay XControl.7z ‏1717 KB
    Tester.vi ‏15 KB

    It looks like the XControl data is a waveform reference (strict). I can't open the XControl though, because I don't have a 7z compiler, but the problem is probably that the refnum will only take in a reference to an exact waveform graph because it's strict.
    You can create a non-strict reference and use that for your data by:
    Open your data control FP
    Press Ctrl-Space
    Type "Control Refnum"
    Press Enter and place that on front panel
    Right click it and brows to the correct data type:
    James
    LabVIEW Professional 2014

  • Converting data in waveform graph to an ASCII file

    We are using a Labview program to acquire rapid voltage data, however due to specifications on the board we are employing a voltage divider factor that can be changed in the program, as well as sensing the polarity and correcting it so that the voltage is always positive.  This data is saved in raw form to a bin file.  To view this data, we have another program that has inputs for the scan rate and voltage divider factor, and then it reads the raw binary file and generates voltage vs. time data directly into a waveform graph.  No one here actually wrote this entire program, it is my understanding that NI originally helped to develop the program and no one in my group fully understands the intricacies.
    What we would like to do is obtain data in 2-column ASCII format from the waveform graph directly (voltage vs. time) in some way.  Is this possible, and if so how can it be done?  The program is currently run off of Labview 4.1, however we also have Labview 7.0 on another computer and can copy the program and bin files if necessary.
    Any help is greatly appreciated.

    I'm having some trouble because the data is not technically in a waveform (brownish-red colored wire).  The program builds a waveform *graph* (cluster data with pink wire) using the bundle function, where the top input is a dbl x0 that is generated from (1/scan rate) multiplied by the first scan number.  The middle input is delta(t), which is just (1/scan rate), and the bottom input is a 2D array of two columns of voltage data, one is voltage and the second is a voltage from another channel that I don't need, and I can't figure out how the 2D array is generated because it looks like it should only be 1D (it suddenly becomes 2D after leaving a for loop). This creates a waveform graph with time vs. the 2 sets of voltage data.
    So you'd think you could just build a waveform with the same data, but the "build waveform" function wants a t0 with a timestamp format and a 1D array for the 'Y' input, and I also can't just convert the cluster data for the waveform graph to an array using the 'cluster to array' function as it gives me a data mismatch. 
    Does anyone know how to remove the first column or row of a 2D array and create a 1D array?  Also, how can I input a timestamped t0 if it needs to be on the order of <1 ms, since milliseconds are crucial here?  Is there any way to make a waveform with a decimal t0 instead of this ridiculous timestamp? 
    Thanks again for any help.
    Message Edited by chemengr on 06-19-2006 09:23 AM

  • Display multiple channels on waveform graph

    Hello,
    I would like to display multiple channels of acoustic data on one waveform graph. I currently have them separated and controlled by tabs inside a case Structure. I sometimes have run into DAQ error because I'm looking at 10 channels of 1/3 Octave data real-time. I woundering if I display all the channels on one waveform graph would I elimnate this error.
    can anyone help?

    Philip,
    I'm acquiring data at 44KHz sample rate and my frequency range is 0-20kHz (2 ni-4472 DAQ cards). Since I been using LV (off and on now for about a year) my application is still in the development stage. I tried including pics but could only include 1 at a time, so heres a copy of my vi for you. There is several things I'd like to figure out, I'm viewing data real-time and writing data to file. However, as I'm writing data to file I don't want the data to display in real-time (I think this is where my problem is). The other issued is when I've stopped writing data to file, the case structure outside the while loop opens the file and processed the data, however I'd like to see the data in the same display (waveform graph in while loop). Take look and give me thoughts.
    R/Scott
    Attachments:
    Submarine DAQ_writing reading OFFLINE_Rev2.vi ‏829 KB

  • Rs232-string-waveform graph

    Hello,
    I would like to display some data with the waveform graph which I read from my RS232 interface.
    But I didnt't how to realize that?
    Can anybody help me, please?
    Thanks a lot!
    Binoldino

    Hello,
    so I'm try it now again and I hope that is what you expecting from me?
    And you are right I need some training with LabVIEW !!
    Many Thanks!
    Attachments:
    Read RS232_N.vi ‏24 KB
    Read RS232_HEX.vi ‏24 KB

  • Free memory of waveform graph

    Hello,
    I'm logging temperature data once a minute and display 4 plots with 1440 points (data of one day) in a waveform graph.
    The data of the waveform graph is updated every 2 minutes. Over the time the application allocates continously more memory (maybe until the system crashes).
    Could anyone tell me how I can free the memory used by the waveform graph or its history ?
    Thanks for any help,
    Ralf.

    How to Clear Charts & Graphs.vi in LabVIEW help "Search Examples" demonstrates ways to clear charts before, during and after execution. This may provide you with some clues that you can apply to your vi.

  • Using a waveform graph, how to get all recorded data graphed?

    I record data from 6 channels using DAQmx with simulated channels and write to measurement file.  Then using read from measurement file, and waveform graph, I am trying to graph the data that has been recorded.  I am only getting a small amount graphed.  The same graph appears whether I have let the measure and record program run for 1 minute or for ten minutes.  It also displays a time at the end of the graph that is in the future.  What am I doing wrong?  Please help.
    Hillis Pratt, Jr.

    I am attaching the two VIs I have been trying to use.  I started with examples from NI and didn't go far from that.  Any assistance would be appreciated. 
    Attachments:
    Measure and Record Six Voltages with Express1.vi ‏119 KB
    Graph Measurement Files1.vi ‏89 KB

  • How do I change the data used by a Waveform graph dependent upon which tab window is active?

    Hi,
    First I want to say thank you in advanced!!  Let me describe the situation a little bit.  My front panel VI (see attachment) has a tab control and on each tab window I have an intensity chart with a free-drag cursor.  Below the tab control window I am trying to display either the row or the column of data where the cursor is located, I can do this for each intensity chart individually.  I am trying to clean the block diagram up a little bit and instead of using 4 Waveform Graphs, I want to use only one, can the data that is displayed in the wave form graph is associated with which page is active on the Tab Control.  Can this be done?  And how can I do it?
    Thank you again,
    ~Daniel DeWitte
    Solved!
    Go to Solution.
    Attachments:
    Changing Waveform graph data.JPG ‏123 KB

    Simply wire the tab terminal to a case structure that switches the data going to the graph terminal
    (sorry,posting by phone, cannot look at your code...)
    LabVIEW Champion . Do more with less code and in less time .

  • How does waveform graph downsamples the data before it is plotted

    Hi,
    I'm interested in how does waveform graph downsamples the data before it is plotted and what algorithm is used for this purpose? My goal is to plot 30 plots that have 1M samples each and I would like to downsample them before plotting onto a graph. I tried several VIs/algorithms for resampling and none of them gave the same result as seen by waveform graph (when all the samples are plotted).
    For example, if only one sample of 1M samples is 1 and all others are 0, then after downsampling to 1k samples the sample is not visible on the graph anymore. However, if I plot all 1M samples directly onto the graph, then also this 1 sample is visible (see attached example). 
    Solved!
    Go to Solution.
    Attachments:
    WFGDownsampling.vi ‏19 KB

    Hi andrej,
    LabVIEW draws plots in the way that draw every pixel affected by signal. So for example if there is zero-valued 1M samples and even one equals to 1, you will see the peak. That is the reason why you do not get the exactly same behavior comparing to interpolating. But if you set FIR as interpolation mode in Resample Waveforms (single shot).vi, result is really similar, but of course amplitude is 1000-times smaller than original one (because there is dt set to 1000). Keep also in mind that in Graph 2, there is different Y-scale and it should be considered as noise, not relevant data, I would expect 1000-times smaller amplitude as in Graph 3, it is many more times smaller.
    I would also like to say something about downsampling (decimating) the data. If you have 1M samples, you can see the peak even that there is only one value. But bigger problem is that with this graph resolution (I guess that is not more than 1000px), it is problem to find position of this peak. It means that still the zoom is needed to know where the peak is. Usually, when there is that big set of data, you are extracting different data (statistical information, peaks in FFT, etc.) not just visual data in graph.
    Mariaaa:
    I do not understand your question, can you please describe more your needs? You mentioned saving the data into a file, you can use Write to Measurement File express VI or see Write to Text File.vi in Example Finder and try to appropriately modify it.
    Best regards,
    Martin

  • Save multiple waveform graphs and data in one Excel File

    Hi there,
    I managed to save data from waveform graph into excel file and saving the plot into excel but individually. I'm aiming to save both the data and the plot in an excel file. May I know how do I do it? I've tried using the Write to Measurement File vi and also the invoke node of the waveform chart but it's still not giving me what I've wanted. 
    The above was only for one analog input channel and I have 2 analog inputs each with their respective sets of data and plot. Is there a way to execute the data and plot of one input in one worksheet and another set of data and plot in another worksheet, all in one excel file?

    Hi there;
    I would recommend using the Report Generation Toolkit; it is the easiest way.
    You can use either the Report Express VI or the Appi to save all your data in both formats
    Greetings

  • Is there a way to change the time of a saved data to be as the same as the time-axis of the waveform graph?

    Hi,
    I've a problem while saving the waveform to a spreadsheet.
    The problem that I'm facing is that I'm not able to save/change the time-axis of the waveform graph into the excel spreadsheet.
    The attachments below are what I've programmed on.
    1st file that would be asked to save is the results of the waveform.
    2nd file, supposing to be the time-axis
    3rd file, is the multiplication of results of CH 1 and CH 2.
    Would be glad if someone can enlighten me with a solution which is suitable for LabView version 8.2 and Tektronix DPO 72004.
    Thanks. ((((:
    Attachments:
    Modification of 2 CH waveforms (Multiply and Sum).vi ‏63 KB
    Modification of 2 CH waveforms (Multiply and Sum) Front Panel.JPG ‏220 KB
    Modification of 2 CH waveforms (Multiply and Sum) BD.JPG ‏92 KB

    I've saved it as text file which could be read if I open it with excel spreadsheet.
    My aim is to get the time-axis (x-axis) in the file rather than to get the date and time in the file.
    The attachment is the waveform results that I've obtained.
    Attachments:
    waveform vaule.txt ‏433 KB

  • How to Write Waveform graph data to Text File with user option to do so

    So, I'm new to labview and am having trouble writing one program in particular.  I have a waveform graph that runs for 120 seconds generating a sine curve.  I am, however, having a difficult time getting the program to write the x and y coordinates into a text file.  I have attached what I have so far.  
    The first task I was assigned was to write a program that creates a snusoidal curve on the front pannel adding one data point each half second for 120 seconds.  The plot should only start when the user presses a start button.
    The next part involves giving the user an option to write the generated data to a spreadsheet file called "sine.txt".  The file name and location should be hardcoded.  The file should contain the x and y coordinates of each data point in columns separated by tabs, also known as delimited.
    I have spent several hours tweaking the attached program and I just can't seem to get it to work right.  Any suggestions would help at this point.
    Sincerely,
    A frustrated chemistry student whose research mentor is out of town
    Solved!
    Go to Solution.
    Attachments:
    Sinusoidal Curve (saving to excel).vi ‏45 KB

    First, you are not creating Excel files.  You are creating text files.  And it seems that your Write to file is already creating X (time) vs. Y (data curve) that is tab delimited.
    Everything else you are doing is just too complicated or a Rube Goldberg.
    All you need is the attached.
    Attachments:
    Sinusoidal_Curve_(saving_to_Text_file).vi ‏69 KB

  • Acquire sound data time does not match with the waveform graph

    i am doing a basic data logging system to see the frequency behavior of sound. What I did is to use the "acquire sound" system of Labview and connect a waveform graph to see the time-domain behavior of sound.
    However, if I input a duration of 4 seconds (or any time), I will only see 75% of the sound (that is 3 seconds). I tried to extract the values using write to file to see if the waveform graph is the one who have the delay. however, the data also showed me 3seconds.
    I will attach here the picture of the simple program i created.
    I hope someone can explain to me why this happen.
    I am using the soundcard and microphone of a laptop. I also tried using a computer microphone. I have tried this program to all computers I can use (2 laptops: SAMSUNG, ASUS, and one desktop computer core i5)

    Hi all,
    have you find a fix for this issue? Im facing the same situation, using Complex type, and String data type both in the service and Bi publisher. We are consuming CC&B services, and we have noticed this error appears when BIPublisher is running on WebLogic (10.3) but it does not appear when BIPublisher is running on OC4J , of course running the same report on both application servers.
    Any idea?
    Thanks a lot, regards
    Nestor

Maybe you are looking for

  • Supplimentary Invoice in Depot

    Hi, I want to know the process followed at the depot end. Goods are transferred to depot and goods receipt is completed at depot,and sales process is also completed.Now the factory people came to know there is some rate difference and they have raise

  • --- "Professionals" couldn't help me.  Maybe you can.

    I have an image (both photo and video) in my timeline.  I need to have a circle or arrow in those images drawing attention to certain things on the screen.  I use the regular shapes generator from FCPX, do my tweaks and place the circles/arrows in th

  • Printing dark black line using lbp2900b

    Hi iam facing problem with my canon laser printer lbp2900b... It is printing dark line on left side of page ..i could not understand what is problem in it i cleaned everything but still it prints like that ... I have uploaded the sample print out. Co

  • Who has the @#$% record locked!?

    I know there are hundreds of other posts asking this (I've read every one I think), but none give the whole answer (unless I haven't found that one yet). I hate to have to add another one, but I can't believe this has not been resolved due to the she

  • Options for upgrade from Student?

    Hi, I'm currently well out of date with my CS version..currently still on CS3 of production premium (student edition) I'm looking to update this..im no longer a student anymore and am looking to upgrade to either production premium (standard edition)