Multi waveform in one Graph

Dear Sir,
            I have a problemthat I am using DAQ-9172(9215 & 9263) and I am sampling two signal at same time one from Encoder and other from a sensor (1 pule revolution) and I want to display both in one graph I used many example from help some time it give error some time i don't see any signals and also this is a single shot but i want to see signals continously.  So help me.
Hope to hear a answer soon
Regards
Talib Hussain
Attachments:
Acq&Graph Voltage-Int Clk-SW Trig Restarts.vi ‏28 KB

Hi,
You can build an array of your signals and display it in Waveform Chart... Look at the attached VI...
Cheers
Angel
Attachments:
Acq&Graph Voltage-Int Clk-SW Trig Restarts.vi ‏37 KB

Similar Messages

  • How to stack waveform in one graph

    I am trying to stack 107 waveforms in one graph. I need to plot these to its depth (Y Axis is depth). That means the first wave will be plot at Y = 0, the next waveform will be plotted at Y = 0.1 (not 1). The third waveform will be plotted at Y = 0.2 (not 2). How do I do that?

    Do you mean a simple 2D graph? Try this, its a striaght mod of what you get in the Measurement Studio booklet.
    CNiReal64Vector rvecWave;
    CNiGraph m_graph;
    // Creates a sine wave 100 pts long, amplitude 0.09.
    CNiMath:ineWave(rvecWave, 100, 0.09)
    m_graph.Plots.Item(1).PlotY(rvecWave); // Item(1) exists by default.
    // Now add all the other plots.
    for (int i = 2; i < 108; i++)
      m_graph.Plots.Add(); // Adds a new plot.
      m_wave.Scale(1, 0.1); // Adds the offset.
      m_graph.Plots.Item(i).PlotY(m_wave); // Plots the wave.
    -Mike

  • Two waveforms in one xy graph

    Hello,
    I need to put two waveforms in one xy graph. Value of one waveform should be in x axis, and second on y axis. I have no idea how can I do that. Everything I have succeeded is xy graph with both values on y axis and time on y.
    Thanks for Your help!

    Check xy graph.vi example that ships with labview
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.

  • Help:allow the user to select which 3 waveforms he want and plot in one graph

    Hi all
    I have a question and  I am kind of lost. I used block diagram to generate 5 Waveform and I want to give the user the ability to pick up three waveform in plot it in one graph.
    I tried to to do in formula node but as I know I can't wire it together .
    can any one tell me how to fo it
    thanks

    never get own wrote:
    thanks for ur respond
    i will be generating the waveform from block diagram. my only questions how can i plot them together in one graph or chart.
    lets say i have sin, triangle, square waveform and need to plot them all in one graph.
    Use an array. Please look at the examples that ship with LabVIEW. They show you how to use the chart, waveform graph, and XY graph. If you turn on Context Help and place the cursor on the graph's terminal on the block diagram you will also get a short review of how to send data to the chart/graph.

  • How to display two waveforms in one waveform chart?

    hellow!anyone can tell me how to display two waveform together in one waveform chart? thanks!

    Hello,
    An easy way to tell how to make multi-plot charts and graphs is to hold your mouse over the chart/graph terminal on the block diagram and make sure Context Help (Help >> Show Context Help) is enabled. This screen will tell you how to connect the indicator for a multiple-plot display.
    You might want to take a look at my attached screenshots of a working multi-plot chart.
    Hope this helps!
    Liz F
    National Instruments
    Attachments:
    Multi-plot_chart.bmp ‏902 KB

  • Multiple plots in one graph (LabVIEW to Excel)

    Hi All-
    Reference this initial discussion: https://forums.ni.com/t5/LabVIEW/Place-Multiple-Data-Sets-on-One-Graph-LabVIEW-to-Excel/td-p/2164380
    Problem description: Generated multiple 2D arrays with different x-axis and y-axis values cannot be placed into ONE excel graph (looking for LabVIEW solution). 
    We tried several options.  1) Coercing the data to have the same x-axis works in the sense that I get a graph (of the multiple data sets) but the graph is bogus since the x-values are different enough that the graph isn't correct.  (This was suggested in the referenced post).  The x-values are output power and y-values are efficiency.  2) We can feed the x-values and y-values into a bundle element and wire the output into a waveform graph element which works great but again the output needs to be fed into excel.  (also suggested by the reference post).  3) Lastly, we tried using the Excel Update Graph.vi but unfortunately we were only able to plot the last data set because it looks like the graph gets updated on each loop run and ultimately we only get the last data set.  4) As a final effort we tried looking into the sub.vi but that didn't get us any closer to x-values and y-values plotted in excel with LabVIEW generated data.
    Any suggestions?
    Thanks! 

    Hi,
    You attempted to invoke nodes? Add a  invoke node of the waveform graph, so this add data to excel. There are several types of  invoke  nodes that can be used, such as  invoke node "Export data to Excel" or the invoke node "Export data to excel Plot".
    Regards
    Hector
    Attachments:
    Export Data to excel from a waveform.vi ‏34 KB

  • Plot multi curves in one window

    Is there anyone who can tell me how to plot multi-curves in one window using LabVIEW? The sample chart is attached. I have LabVIEW 7.1. If you think it is impossible in LabVIEW7.1, can LabVIEW 8.0 do the job?
    Thanks for your help in advance.
    Jane
    Attachments:
    PerformanceCurve.JPG ‏41 KB

    Hi Jane,
    CoastanMaineBird is right about the difference between a "plot", a
    "Graph" and a "window".
    It seems that what you want is a either a Graph or a Chart with multiple plots.
    It's quite simple to do either of these. As said before, refer to the Context
    Help (Ctrl + H) from the block diagram terminal of the Chart or Graph to see
    how to add multiple plots. Here's a screenshot of how you would do it with a
    Chart and a Graph:
    If you want to use different Y-scales for each plot, you need to create multiple
    Y-scales and then specify which plot uses which Y-scale:
    I hope that this is explanation enough to get you started - otherwise, please
    let me know.
    Have fun!
    Message Edited by Philip C. on 11-12-2005 03:46 PM
    - Philip Courtois, Thinkbot Solutions
    Attachments:
    MultiPlot Chart and Graph.PNG ‏6 KB
    Multiple Y-scales.PNG ‏13 KB

  • How to view different sine waves in an array and make an fft of these and display it in one graph

    How can i cannect the output of my mathscript in the Spectral Measurements VI SIgnal Input. I'm having a problem since the output of the mathscript file "D" is DBL 2D. I dont know how to convert this data type in order to be connected to the signal input of the Spectral Measurements VI. I also want that the waveform graph connected to output of the Spectral Measurements VI, will display the FFT of the three sine waves in one graph.
    Attachments:
    1.JPG ‏32 KB

    Duplicate
    LabVIEW Champion . Do more with less code and in less time .

  • Hao to display two lines in one Graph

    Hi, I want to display two lines in one graph in different color , what should I do? Thanks.

    Hello Carlos,
    the help window for a waveform graph/chart only mentions "single plot
    with waveform datatype". To get more plots on one graph you have to
    build an 2D-array  of  points. Just look at the help window!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How to show two waveforms on XY-graph?

    Hello,
    i have two array with x and Y-values that are bundled and then displayed in XY Graph.
    How can i show two XY-waveforms on the graph at the same time?
    Thanks
    Solved!
    Go to Solution.
    Attachments:
    Wave.jpg ‏48 KB

    Hi one,
    open the context help and move the mouse pointer of the XY graph. Then read the help!
    Btw. you don't create waveforms, you create XY plots…
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Digital(sw​-time) and analog(con​tinously) in one graph?

    Hello,
    i have usb-6008 when (DI is sw-timed) and AI when i want (continous sampled) and then the both signal show in one graph, is it possible, please could you writte me how can i do it?

    Hi Ondik,
    Firstly, please do not duplicate posts.
    I've seen your other post on this link http://forums.ni.com/t5/Multifunction-DAQ/usb-6008​-DI-is-sw-timed-and-AI-when-i-need-continous-sampl​...
    and it is exactly the same question.
    To answer your question, you have couple solutions:
    1. As it was stated in the previous posts, you can acquire the data on another analog line, and than you will see your signal displayed on a waveform graph.
    2. In case you still want to use data that are acquire on SW DIO and Hardware time Analog Input you can do the following.
    When you acquire data from Analog Input, the data have the following strucutre - a cluster that contains three elements: T0, dt, and Y - an array of samples.
    More details here http://digital.ni.com/public.nsf/allkb/B965F316364​DE17B862572DF00363B10
    Basically, you can programmatically build a waveform from the static data you have. Let's say, every iteration of your while loop, you will receive one boolean value and waveform data that contains 100 samples of Analog Input. You can create the Y array with 100 samples of an double value (5V for TRUE and 0V for False, or any logic level you are interested in), copy the dt and T0 value from the waveform received on Analog Input measurement. Later, you build an array of waveforms (AI and DI) and you represent it on a graph.
    I still believe that the first solution is easier to implement, but if for any reason you can do it, you can use the method described above.
    Best regards,
    IR

  • How to delete multi contacts in one time

    i need to  delete multi contacts in one time there is any way for this.

    Just install iPhone PC Suite on your computer. It supports for adding new contacts, exporting and deleting contacts in batch from iPhone, importing contacts to iPhone and removing duplicate iPhone contacts, etc.

  • How can i dynamically vary the color of one graph line

    I was looking on the developer zone and noticed several people are looking for a way to change the color of one graph line. Simplest case I would like to know: a graph is running, then you press a button and from that point on the color of the graph changes, but doesnt change the old data line color. THis way the line will consist of different colors.
    The property node changes the whole line, and the line is always just one color. It should be possible to make the line consist of different color sections, anyone know how?

    The application is actually not as slow as it seemed, i had some settings set wrong (anti aliasing in plot, and some functions in advanced, when you right click on the graph)
    Especially unchecking the anti-aliasing makes it much faster
    Also, just plotting point and not a line, or alternatively, changing the interpolation makes it faster.
    Anyway, the attached files do not rely on processor so much anymore, see for yourself
    Attachments:
    multicolor_looking_plot.vi ‏99 KB
    multicolor_looking_plot_2.vi ‏105 KB
    multicolor_looking_plot_3_truncated_array.vi ‏99 KB

  • How to add more than one graph to a pivot table??

    Hi,
    I have a report containing product,store,offers per store as dimensions and spending,Buying households as measures.My requirement is to show 'Store' in a section and corresponding report(which contains product,offers of that store,spending and Buying HH) and individual graphs for spending and buying households( 2graphs).I mean if I have 3 stores, I should get 3 sections of stores and each section should contain corresponding report and graphs. The main requirement is that "USER" should able to export or print the whole report at a time.
    I used pivot table to achieve this but I could only show one graph per store but I need two graphs for both spending and Buying HH.Please help me how to achieve.
    Your valuable suggestions are well appreciated!!!

    Hi,
    I have a report containing product,store,offers per store as dimensions and spending,Buying households as measures.My requirement is to show 'Store' in a section and corresponding report(which contains product,offers of that store,spending and Buying HH) and individual graphs for spending and buying households( 2graphs).I mean if I have 3 stores, I should get 3 sections of stores and each section should contain corresponding report and graphs. The main requirement is that "USER" should able to export or print the whole report at a time.
    I used pivot table to achieve this but I could only show one graph per store but I need two graphs for both spending and Buying HH.Please help me how to achieve.
    Your valuable suggestions are well appreciated!!!

  • Can I show 3 timeplots on one graph?

    I've created three separate timeplot lines in Numbers, on separate charts (can't seem to upload a screenshot.)
    Is there any way that I can import them all onto one chart, despite the fact that they are on different scales (In context, it is a study of a football club so one line is league position (1-20), another is attendance (15-25,000) and the last is company turnover (£30-80million.)
    The axes aren't too important, I would just like to be able to get all three onto one graph to show any possible correlation.
    Is this possible?
    Thanks in advance,
    Adam

    Drag the charts on top of each other after setting the fill for each chart to none.
    To set the fill to none, select the charts, then open the graphic inspector and select fill as "none":
    now scale each so they are the same size, and stack one on top of the other

Maybe you are looking for

  • Amount on Goods receipt for return orders is wrong with movement type 653

    Hi All, I am sorry if it is a simple question because i am an abap'er. My requirement is to create return sales order (with ref.to Billing document) and deliver and PGI for the return orders. This should go to sales order stock. Accounting document s

  • Console/Site Server showing old data

    We have a single site with a Management point on a seperate box (sql replica). In my console, I have columns added for the inventory dates and when looking at the dates, my most recent date is yesterday. If I connect to a machine with an old date, co

  • Ability to view icloud data/Reprocussions of deleting icloud account?

    I have been an icloud user since the beta was released and I have only been uploading my contacts, calenders, reminders, bookmarks, and documents and data to the icloud. I don't have that much content within any of those catagories to use up a lot of

  • Separation of Function?

    Basic functionality question - for multifunction devices where the Fax is connected to an analog phone line and the device is also attached to a (wired) LAN. Can the inbound fax connection be used as a bridge to the LAN in such a case? I know that fo

  • Acrobat X starts, then crashes

    Just started acting up today after months in service. Any suggestions? OS: Win7 Pro 64-bit all updates