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

Similar Messages

  • Display many hours in waveform graph

    I'm testing a way to collect the output voltage from a power supply into a waveform graph and display the values in relation to absolute time over a few hours.
    My problem is that I can only see the last few seconds in the graph. In addition, the absolute time on the right side of the x-axis is correct, but as the time is running, the left side of my x-axis show a time that is in the future. This should have been the time when the relating y-values had occured. 
    Do you have any ideas how to solve these challenges?
    Attached you can find my VI.
    Attachments:
    Test2.vi ‏125 KB

    You could use an x-y graph like the attached example.
    Andrew Alford
    Production Test Engineering Technologist
    Sustainable Energy Technologies
    www.sustainableenergy.com
    Attachments:
    value vs time.vi ‏14 KB

  • Digital Waveform graph with a lot of samples

    Hi,
    I have to display in a Digital Waveform Graph a lot of data read from a file(2.000.000 of samples for 36 signals). If I read the file and I try to display all the data, the Vi became unusable. For example, to zoom a graph region, it may take 30-40 seconds, scroll is impossible ecc, ecc..
    Apparently LV doesn't perform a decimation of points. In measurements studio 8, this problem doesn't exist...but I have to use LV 7.1..
    any suggestion ?
    At the moment I have developed a DLL in VC++ that perform a decimation of samples, but performance are not very good !
    Thank you for any idea.
    Regards.

    Hi Garraty,
    Excuse me but I have several questions for you.
    1)     Have you tried some kind of incremental approach, starting from 1 waveform and increasing towards 36? Do you experience some kind of on/off degeneration between, les’s say, 34 and 35 waveforms?
    2)     How can you decimate a digital pseudorandom sequence of 2M samples without loosing information?
    3)     Is this 2M samples an unavoidable constraint for your application?. Actually, it seems very difficult to extract some kind of visual information from a pseudorandom pattern of this length?
    Thank you very much.
    Kind Regards
    FiloP
    FiloP
    It doesn't matter how beautiful your theory is, it doesn't matter how smart you are. If it doesn't agree with experiment, it's wrong.
    Richard P. Feynman

  • Import image to waveform graph

    Hello
    I would like to import an waveform saved in some image format (PNG or JPEG) and display it in the waveform graph. I checked with the property node "plot images" but I am unable to specify the path of the image using this property node as in my case the image is varied  with different experiments for comparing two waveforms(one waveform is in image format and the other is obtained from an oscilloscope instrument). Could someone please suggest how could I do this. 
    Best Regards
    Pratheek
    Solved!
    Go to Solution.

    Hi Hooovahh
    Thanks for the solution. One more problem. In the waveform graph, it is displaying the labels, X-axis and Y-axis values. I woud like to have only the waveform without any labels   is it possible to remove these lables from displaying in the waveform graph. could you please help. Thankyou in advance
    Best Regards
    pratheek
    Attachments:
    Capture.PNG ‏34 KB

  • Display multiple Waveform-Graphs on a separate Frontpanel

    Hi there,
    I'm looking for a solution to display multiple waveform-graphs on a separate frontpanel.
    In my application I measure a number of channels (number is a user-input). The signals I want to display each in a separate waveform-graph, because they have different scales. They shall be arranged that way, that the user can switch them on and off or arranges them on the screen, while the application is running (measuring). He shall also be able to maximize all graphs or a graph window to have a closer look at the signals.
    I already tried several things.
    1. I placed the maximum number of graphs in a separate vi, which I start in my application and then switch the frontpanel on and off via a property-node. The values I also write via the references of the waveform-array, which I place in an array. This way I can also change the propertys of each plot (scale, xmin xmax, etc), but I always have all graphs on the screen (also the unused).
    2. I then tried to change the visible-property of the unused graphs, but I cannot scale and rearrange the remaining graphs to the full frontpanel-size, because this property is read-only.
    3. I placed just one waveform-graph in the vi and then start as many vis, as I need. This is cool, because I also can program the position and size of each frontpanel, so that they are arranged in a grid on the display, but all the graphs are separate and it is uncomfortable if the user had to arrange them separate. The windows need to be docked ore something like that.
    4. I tried to place the graph-vis in subpanels, but then I cannot change the position and size of the vis programmatically.
    Has anyone an idea, how to solve this?
    I am using LabView2009Sp1 Professional Development System
    Thanks Norman

    Thanks so far,
    I attached some examples of what I tried already.
    1. MaximumNumberOf Graphs - I show 6 graphs although only two are needed. I cannot rescale the used ones to the full screen size, because the property is read-only
    2. RescaledFrontpanel - I switch the unused graphs to invisible, resize the frontpanel to hide the unused graphs, but now the window is not zoomable
    3. GridOfWindows displays the desired grid of graphs in separate windows, but they don't stick together
    I hope this explains the situation better.
    Norman
    Attachments:
    multigraph.llb ‏136 KB

  • Multiple channels, multiple waveform graph

    Hello, there! I am trying to read four signals from four channels on DAQ device. I need to show the first two signals on one diagram and the other two on another diagram. So I wrote a simple VI as I attached. It gives me an error message like the picture I attached. Does anyone know how to debug this VI? I have come up with some very stupid idea to solve this problem, I can wire all this four AI Voltage VI together then go through Timing VI, then Logging VI, then Read VI, then I can connect the data terminal of this Read VI to an Index Array VI, so that I can do the following as the third Pic I attched. I have not tried this yet, but I want to find out some better method. (Maybe like the VI I wrote, it is very intuitive for people to understand) 
    Attachments:
    4 voltages in one task.vi ‏52 KB
    message.png ‏17 KB
    my last way to solve the problem.png ‏9 KB

    Hi,
    We need more information on detail of the DAQ device in use? I suspect this error could be due to sharing of single onboard clock.
    However, If all the channels could be coupled into a single task (This should be possible since there are not configuration difference between acquisition for different channel)
    Then you could use the Simple Delete from Array Function with Index=2 and length =2 available to seperate the waveform array and display them on two seperate graph Indicator. (attached modified vi)
    Attachments:
    4 voltages in one task.vi ‏46 KB

  • How can I switch channels on/off to be displayed in a waveform graph?

    I have a VI which currently logs 15 analog channels to a data file and also displays these channels on a waveform graph. I would like to be able to switch channels on/off for the waveform graph during runtime but still continue to log them to the data file. Anyone know how I can do this?

    hi keefa.
    (first, please excuse me for my english, because I'm french :-) )
    You can do what you want by displaying or not the curve on the graph.
    I have made a light example with a 2D 8 chanels 5 points/chanel array.
    After you have a "writing in a file" part.
    You have both chanel display command on the front panel.
    Test it, and ask me if some point are not very clear...
    Attachments:
    chanel_display_activation.vi ‏64 KB

  • Turn off a single plot of a multiple plot waveform graph

    I have a multiple plot waveform graph (4 plots). I want to turn off one of the plots, say plot 2. Is this posible from the graphs property node? The property node seems to only give a reference to plot 0. I am using labview 7.
    Cheers,
    Wayne

    I think you can use "active plot" together with "plot.visible"
    property node to control which one you'd like to display. By default,
    the property node refers to plot 0, but you can change to plot 1 or
    other plots by changing active plot property node. You can search
    "Plot" in LabVIEW Help if you'd like to know details.
    Good luck,
    Jian
    On 18 Feb 2004 03:28:49 GMT, [email protected] (Computerman74)
    wrote:
    >>
    >>I have a multiple plot waveform graph (4 plots). I want to turn off
    >>one of the plots, say plot 2. Is this posible from the graphs
    >>property node? The property node seems to only give a reference to
    >>plot 0. I am using labview 7.
    >>Cheers,
    >>Wayne
    >>
    >>
    >>
    >>
    >>
    >>
    >
    >I would love to know if this is possible. I have been trying to figure i
    t out
    >myself.
    >There is a way to turn a single array off and that is what I am doing for now
    >untill this is possible. The plot is still there but reads zero when tunred
    >off. It would be cool to have the abillty to turn off a single plot.
    >I have tryed all the property nodes with no luck. The answer may be in the
    >array size but I can't seem to control that either.
    >For now you can use wire all 4 channels using the comparison select. Use a
    >constant of 0 And wire up a swtich. When the input is false the output is zero
    >in effect making the plot inactive but it still there.

  • Display in a waveform graph

    Hello, I need a solution for the follow problem:
    How can I display a generated pulse train by 'DAQ CREATE VIRTUAL CHANNEL CO PULSE FREQ'. After that that mentioned I have a 'DAQ START TASK' and then 'DAQ CLEAR TASK'. I have no idea, because the DAQ READ is the only function I know which has a adapted output to connect with a waveform graph, but DAQ READ doesn't work . I hope for a fast answer, it's very urgent. THANK YOU VERY MUCH..
    Marco

    Tank you for the tip but I can't really solve the problem. Maybe you can look at the .vi in the attachement and give me a further advice how I can display the pulse in the diagramm.
    Thank you very much
    Marco Speicher
    Attachments:
    generate dig pulse -show in waveform.vi ‏63 KB

  • How do you manipulate and display multiple DAQ channels?

    I have two sensors wired into the same DAQ (USB) module.  I can monitor the signals in LabView using DAQ Assistant, but I'm having trouble separating the channels.  I would like to display the signals on separate waveform charts and also apply different conversion formulas to each one before writing the data to a file.  However, I can't find any way to distinguish between the two signals in either of the express VIs for these tasks.  I can display both signals simultaneously in one or more charts, but I can't figure out how to make each chart display a different signal.  I searched through LabView help and finished the DAQ tutorial, but neither helped with this simple problem.  It's very important that I learn to work with multiple channels, because I'll eventually have even more signals coming into this DAQ hardware.

    Hey Jonnyboy,
    Check out the example called Select Signals.vi.  Are you using dynamic data?  Go to Help>>Find Examples... and type select as the search word. 
    Basically you have to index the one that you want using the Select Signal express VI.
    Hope that helps get you in the right direction.
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Display multiple waveforms on chart

    I need help.  I try to display multiple waveforms on a single chart.  Two waveforms (Ideal PWM and Target Pressure) are made up of a single point instead of waveform or array; thus I have to build them into array.  The problem is that I can display all the waveforms, but once awhile the chart shows a missing point on the waveform.  I have attach a screen shot of my diagram.  I'm using LV 8.6.  Can anyone help?  Thank you very much.
    BC  
    Message Edited by DSI on 04-14-2008 11:46 AM
    Attachments:
    Display Waveforms.doc ‏163 KB

    I would suggest creating an array based on the size of the other waveforms that are being graphed. Presumably you have a certain number of points for all the other waveforms, and they all have the same number of points for that iteration. Thus, create a Y array for the 2 values that you want to graph to be of the same size, rather than a single point. If you run the attached VI in highlight mode you can see what I mean.
    Attachments:
    chart with lines.vi ‏18 KB

  • Reading multiple channels for multiple graphs

    Hey I am fairly new to Labview and am using it just temorarily. My project is to take in readings from a Gaussometer (X,Y, and Z axis) and graph them in read time. The Gaussometer outputs a DC Voltage equal to the gauss of the magnetic field. The X,Y,Z all come in on three differnet channels. Connected to a NI USB-6009
    I know I can use the Express> DAQ Assistant, however that outputs "Data" and I was hoping to use this in an Array. So I used the DDT to Array to convert it to the Array format that I needed (thanks to the forums for the help there). My only problem is that I don't know how to do this with multiple channels at the same time. But I have possibly been going about this all wrong.
    So I just wanted to know if I could get some help on how to read multiple channels and write to them to three different graphs in real time that would be of great help.

    Whether or not you use the Convert From Dynamic Data or the Split Signal, your data should be shown as soon as the DAQ Assistant returns. How you format the data is irrelevant. If the number of samples you request is greater than the sample rate, then it will take longer to acquire the data and there is nothing you can do about that except reduce the number of samples and acquire in a loop. You can append new data to old and display everything in a graph if you want.

  • Can I make waveform graph display more than the currently read samples?

    I have DAQ reading in 17 channels at a rate of 500 samples/second and then writing to a TDMS file, to some guages, and to a waveform graph.  I would like for the waveform graph to display more than the samples that are currently being read, I'd like for it to display the last ten seconds worth of samples.  How can I accomplish this?
    I've attached a picture of the relevant section of my VI. If you need anymore information about the VI just let me know.
    Thanks!
    Solved!
    Go to Solution.
    Attachments:
    WaveformGraph.PNG ‏46 KB

    If you want to use graph only then try with the vi attached in which shift regs are used to store the previous data... I think you can use this and optimise further accordingly..
    LV 8.0, 8.6, 2011,2012,2013 WinXP
    Attachments:
    multiplot graph.vi ‏19 KB

  • Transition measurement vi cursors displayed in waveform graph are moving outside of scale

    Using a waveform graph to display pressure over time. I wanted to be able to calculate the fall time of the pressure over time so I'm using the Transition Measurement vi. I copied exactly what was in the example for transition measurement inside help and it is correctly determining the falling transition time but I am having a problem with the cursors on the waveform graph. I should be seeing a set of green vertical cursors marking out the fall start time and fall end time like in the picture I've attached (capture2) like in the example. The problem is they both always start at 3.43 (capture1) and after each sample period they increment by one (4.34, 5.34, 6.34) The come right out of the bundle from the transition measurement output as those numbers. The period of the signal I'm interested in is always less than 2 seconds, so I never see the vertical cursors.
    I've tried substituting my daq signal with a sine wave generator and it does the same thing.
    The block diagram is in the first capture
    also I would be interested in finding out exactly how the numbers wired to the active cursor property of the property node for a waveform graph relate back to the actual cursors on the graph. Are they just automatically numbered starting with 0 from the top-down?
    Wayland
    Solved!
    Go to Solution.
    Attachments:
    Capture.PNG ‏44 KB
    Capture1.PNG ‏7 KB
    Capture2.PNG ‏29 KB

    Hi Wayland,
    The reason the cursors are always apparent in the example VI for the Transition Measurement.vi, is because the signal being generated is always resetting. So, the signal resets to a 'new' signal for the cursors to go over and therefore always remain in the somewhat same location. The Waveform Graph is also configured in such a way that it will not move or continue to show new data coming in, the data cursors have moved onto. So in your case, you will want to right click the graph and make sure "Ignore Time Stamp" is not checked/selected. This will make it so the graph keeps up with your incoming data and the cursors. You can check this in the example file by removing the True Constant going to the waveform generator and changing the time stamp option previously mentioned.
    In order to view the available cursors and their numbered position, you can right click on the Waveform Graph and select properties. In the properties window there is a Cursors tab, inside this tab at the top is a drop down menu that lists all of available cursors, indexed starting with 0 at the top.
    -Jake B.

  • When displaying multiple curves on one 2d graph in reports how do I force one curve to be in the foreground?

    When displaying multiple curves on one 2d graph in reports how do I force one curve to be in the foreground? I have two signals and I want to show one overlayed on top of the other. Right now Diadem will only graph it the other way around. I have tried deleting the curves and re-adding them in differnt orders, changin the order they are in the curve list, changing their order inthe data portal, right clicking on the curve and selecting "move to forground" (this only moves the entire 2-d graph object to the foreground). Im using Diadem 12.0 Basic.
    Solved!
    Go to Solution.

    Hello Joe,
    I figured out what causes your curves to draw in the wrong "order".
    You are using two Y-axes, and DIAdem always draws the data for Y1 before Y2, no matter what the order of the curves is in the "Curve and Axis Definition" dialog.
    I am attaching your layout with a small modification, I changed the Y1 and Y2 axis order (I swapped which Y-axis the data is displayed on), and I get the following result:
    Once I looked at your layout it became clear why the order of the curves didn't reflect the order in which the curves were drawn. I didn't know this - so I just learned something new here as well.
    I hope this answers your question, feel free to ask if there is anything else I can help you with.
          Otmar
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."
    Attachments:
    Modified Report Layout.TDR ‏146 KB

Maybe you are looking for