Continously and waveform graph

Hi!
In my program Im recieving sampled data from hardware
via COM port.
If I want to display the data (voltage values) in
"realtime", continously, Is it possible to use
"waveform graph"? It seems to me that only "waveform chart" can be doing that. Can "waveform graph" only handle "finished" arrays(finished means "loop is done" and no more data to enter the array)?
The reason I ask this is that I want to have a correct timeaxle according to samplerate from hardware.
To be able to have correct time between the plots I am maybe forced to read data a certain time and when this time is reached the array is done and I can use the "waveform graph with bundle"?
Thanks Fredda

A waveform chart is used to append te data as it is acquired, the graph collects the data and then graphs it at the end. And yes you can collect your data and then output it to a graph when you are done sampling.
This link tells the differences in slightly more detail, hope this will help you out.
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/95fee9f5b252507e862562ba00007657?OpenDocument

Similar Messages

  • Combine waveform chart and waveform graph

    I would like to combine the properties of waveform charts and waveform graphs, i.e. I'd like both continuously changing and fixed graphs at the same time.  Specifically, I would like to display one waveform as a fixed, unchanging background, then display another waveform on top of this background while my code is running, as data arrives from a DAQ, point by point.  Is this possible?  Thanks!

    The answer is to use XYGraph.  See attached example.
    Attachments:
    plot_two_waveforms.vi ‏29 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

  • Event structure and waveform graph cursor

    I am utilizing a waveform graph and I need to programatically manipulate multiple cursors based upon the movement of a primary cursor.  I would like to use the event structure to avoid processor usesage. 
    My approach is to create an While Loop/event structure where it goes into a it when there is a "mouse down" on the waveform graph.  Once in it, there is another While Loop/event structure that has two cases: Time Out (set to 25) and a "Mouse Up" on the waveform graph.  In the Time Out case, the primary cursor is read and modifies the location of the secondary cursors.  In the "Mouse Up" case, the primary cursor location is read, other cursors are manipulated, and the While Loop is exited.
    When I code this up and perform a "mouse down" on the waveform graph, the index on the inner While Loop/Event Structure is advancing but there is no control (can't move it) of the primary cursor on the waveform graph.  When I "Mouse Up", the inner While Loop exits.
    Obviously, my approach is flawed here based on my lack of understanding of the characteristics of the waveform graph and cursor manipulation.  Has somebody come up with a way to achieve what I am trying to do?

    This is basically the method I typically used in LabVIEW 7.1 and below as described in this old post.
    Of course you could upgrade to LabVIEW 8.0 and none of this is necessary! LabVIEW 8.0 has events for "Cursor Move".
    Now you only need the "cursor move" and "stop" cases. Isn't that cool!
    Message Edited by altenbach on 12-12-2005 07:05 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    LV8CursorMove.png ‏6 KB

  • 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

  • Waveform graph be animated like lorenz attractor

    Dear Sir
    I attached here an example of Lorenz attractor for solving three diffrerential equations and displaying the results in xy graph and waveform graph. 
    In my program I solved two differential equations but I hope to make my wavform graph to be animated like the lorenz waveform example, Can anyone help me to modify my program to be like lorenz attractor for solving my two differential equations?
    I attached here my program and the desired lorenz example
    I'm waiting any help
    Ahmad
    Attachments:
    Lorenz Attractor modified.vi ‏54 KB
    reduction2.vi ‏19 KB

    Hello Ahmad,
    I have applied the same concept to your second graph in order to view the waveform chart plot point by point I used property nodes to clear the chart after every iteration of the while loop. Maybe this will give you more direction in your application. I would strongly recommend going through all the properties available for waveform graphs and charts. You can use property nodes like I did if there are programmatic changes you would like to make to the graph or chart during run time.
    Vivek Nath
    National Instruments
    Applications Engineer
    Machine Vision
    Attachments:
    reduction2-1.vi ‏51 KB

  • Code needed for "putting waveform graphs and 8bit images in the same window by Windraw"

    Hi Micheal, please sent the code example for my question:"putting waveform graphs and 8bit images in the same window by Windraw" , thanks.

    You can start from here ...
    Hope that helps,
    Michael
    Attachments:
    tester.vi ‏97 KB

  • Putting waveform graphs and 8bit images in the same window by Windraw

    How to put waveform graphs and 8bit images in the same window by Windraw VI?

    Use "Invoke Method: Get Image" to get a pic of your waveform graph/chart. Then combine this pic with your 8bit image using the IMAQ tools (IMAQ ImagetoImage). If you need an example send an e-mail again ...
    Michael

  • Control Waveform Graph - Set Lower Limit and Autoscale Upper Limit

    In a waveform graph is their a way to set the lower graph Y limit at zero and then have it autoscale the maximum Y limit as a percentage (150% for example) of the maximum Y graph value ?
    Direction to examples or a starting point to read up on would be great !
    Thanks,
    Joe
    Ireland
    Solved!
    Go to Solution.

    Turn off autoscale and set the max with a property node based on the array max of the data.
    LabVIEW Champion . Do more with less code and in less time .

  • How to use offset and multiplier property in waveform graph?

    hello,
    i m using a waveform graph and wanted to update its x-axis scale depending on the multiplier value. Also how this
    formula of offset n multiplier works (deltaX)*X+X0? What is delta X and X?
    Regards,
    vijtin
    Solved!
    Go to Solution.

    hi,
    X0 is the offset and X is the multiplier.  So the graph will start at a cetain offset and will aa to that the delta value times the multiplier.
    e.g.
    If you would have these normal X-values : 0 ; 1 ; 2 ; 3 ; 4 ; 5 and a multiplier of 2 and ofset of 5 you would get the result on the X-as = 5 ; 7 ; 9 ; 11 ; 13
    Hope this helps
    Kind regards,
    - Bjorn -
    Have fun using LabVIEW... and if you like my answer, please pay me back in Kudo's
    LabVIEW 5.1 - LabVIEW 2012

  • 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

  • Digital waveform graph switch between hex and binary possible?

    hello,
    is there a way to have a digital waveform graph switch back and forth from binary to hex data display?
    Thank you

    ok, thanks Nathan
    Attachments:
    Mixed Signal Graph1.vi ‏26 KB

  • Programmatically Changing Waveform Graph and the number of plots

    I have a waveform graph that needs to display a variable number of plots based on the number of inputs.  Is there a way to programmatically adjust the number of plots displayed on the waveform graph?

    You need to use the Active Plot input before the Plot Name(s).  Property nodes are read from top to bottom so you can alternate several pairs of ActPlot,Plot.Name;ActPlot,Plot.Name, etc.  Then wire 0,1,2,etc to the ActPlot and your chosen name to the Plot.Name right under it.  Or, use for loops and index the ActPlot input.  See the pic.
    Using LabVIEW: 7.1.1, 8.5.1 & 2013
    Attachments:
    plot names.JPG ‏37 KB

  • Switch between log and linear in waveform graph

    I have a waveform graph that plots linearly. however it creates an error when plotting a logarithmic line. Is there anyway to create a switch that allows me to change the plot between log and linear without creating extra graph?
    Thanks
    Chris
    Solved!
    Go to Solution.

    Use a property node: Y Scale.Mapping Mode.  Writing 1 to the node switches to logrithmic mode and 0 is for linear.
    Lynn

  • How can I make a waveform graph store the entire wave, not just the current time period and how can I save the actual graph?

    I am taking temp readings with a 4 channel DAQ, sending them to a waveform graph and exporting the data to excel, how do I manipulate the graph to take a continuous reading as opposed to losing the previous GUI and how can I save the entire graph?
    Using LabVIEW 2011 operating on Windows 7 professional. 

    That is the nature of the chart -- everything not in the history is lost (it is a FIFO buffer of length=1024 samples by default).
    The scroll bar is probably grayed out because you're show all of the data.
    Attached is a program that will add 5 random points to a graph and prompt you for a file location where to save a JPG snapshot of the graph.  It's not particularly good programming style, but it has all of the elements/concepts you're after. 
    Attachments:
    graph.vi ‏14 KB

Maybe you are looking for

  • Itunes can no longer find artist or album name

    I have not seen this exact problem on the forum. I upgraded itunes yesterday to 10 and then when I synced my ipod touch, almost all of the artist names and album names disappeared. I tried several times to get info and this retrieved some of the info

  • Replication Error between DC and PDC after a reboot.

    Hi, We have a very small  server environment and having one DC and one ADC.  Last week ADC got a sudden restart. After booting it shown one service failed error.  Since then the ADC  is not replicating with DC.  Giving below the diagnosis results of

  • Static variable, a bug in applet classloader, Java plug-in?

    I found a potential bug in java plug-in. Environment, 1. IE 6.0 2. Windows XP 3. JRE 1.3.1.06 and JRE 1.4.1.01 Steps, 1. build a very simple applet (attached below) 2. embed the applet into a .html page. 3. enable java plug-in for IE and Netscape. 4.

  • My Function Keys which are F7 F8 F9 do not work

    After I have installed Snow Leopard I opened Itunes,i pressed the F8 button which is play it did not work,pressed F9 which is the fast forward or next song didnt work,I tried playing a couple of songs and pressed the F8 which is previous didnt work a

  • Dictionary crashing

    Hi, I met SEGFAULT with Dictionary app. Any suggestion? Thank you! Process:         Dictionary [636] Path:            /Applications/Dictionary.app/Contents/MacOS/Dictionary Identifier:      com.apple.Dictionary Version:         2.2.1 (143.1) Build In