Multiple waveform graphs do not simultaneously view data

Hello

I use a box USB-6009 to acquire three analog input voltage signals simultaneously. I want two plot the voltage wrt time signals, while the third signal, I want to extract the frequency and then draw the wrt time frequency. I want the three of us graphic waveform having a category axis in units of seconds from zero seconds. My diagram of block VI is below:

When I run the VI, I get some problems. First, the frequency table is not plotted all the data, and although I am happy, time begins and reset it's count in tenths of seconds rather than in seconds.

With the voltage 1 and 2 maps, the voltage is read correctly, but the x axis are in terms of date and instead of seconds. The front of the VI is below:

I tried to run the VI with only the third signal voltage being played and the table of wave shape of the plots the frequency perfectly. The Panel diagram and the block before lower is to:

Could someone tell what I'm doing wrong in the first VI?

1. you must use the version of waveform table Mutiple multi-channel DAQmx Read Points.  Then, you don't have to accumulate the waveforms yourself.

2 tables index is 0-based.  Thus, the filrst of the table element is actually 0, not 1.

Tags: NI Software

Similar Questions

  • Multiple waveform graph, history of waveform card

    Hello to all my colleagues.

    I have problem with software of my purchase. I create software for the acquisition of 40 signals. I need to view and save these signals. I measure these signals with different frequencies (this depends on the user's selection), but the lowest frequency is 500 Hz and the highest is 2 000 Hz. Because I see a different size of X scale (5 sec - 60 dry), I decimate these signals for display and display only 100 samples per second.

    I think that my problem is related to a very long history of waveform graph. When I display all signals in a single diagram, permanently signals are not displayed and the table is larger than the correct size of X-scale, means that the courses of the waveform graph freeze. I think the problem is connected only with display and no acquisition because I tried to check the measured data and there isn't any problem.

    You have one any opinion how can I solve my problem?

    Please, help me, because I'm out of ideas.

    Thak you.

    Here's my VI.

    Double post,

    Please find the thread here:

    http://forums.NI.com/T5/LabVIEW/multiple-waveform-chart-history-of-waveform-charts/m-p/1762160

    Best regards:

    Tamas Szekely

    Technical sales engineer

  • How to get the individual history of the multiple waveform graph plot

    I have a table of waveform with several plots, which is a cluster as input.

    I want to calculate the average of each of these plots. With simple concession of waveform graph, all I had to do is to use the property in the history of the graph node and pass the history to the generation averaged vi. With the array of multiple locations, I am unable to get the history of each parcel.

    The property of the history of the land multi card node is an array of custers, not quite what I need to calculate the average.

    How to me history of individual plots?

    Thank you.

    unbundle just your datapoints inside a loop like this

  • Pull graphics individual of a multiple waveform graph?

    Hi all, is there a way to the analysis of individual graphics of a waveform based on a description given?  I know that the wave doesn't than the Y, t0 and attributes t, but there must be a way to do this.

    The user enters a group of data by channel.  I want to be able to do is isolate one graph of the waveform based on the tag name of the channel and show this on a separate chart.

    I've attached screenshots taken from view of the code where the plots are generated and the center of user input.

    I would appreciate help.  Thank you!

    LabVIEW 2012

    Windows 7 64 bit

    Hello

    You can do it. When you get the name of the attribute (as in my first attachment), you can compare it with the name of the desired tag, using the functions in the range of comparison.

    If your match is found, then a case structure and write the waveform in a chart.

    Otherwise, proceed to the waveform through a shift register and write in the graph.

    I have attached a VI in LV 2010.

  • Impossible to get a type of dynamic data and thread (double wave form) for both screen on a waveform graph

    Hello

    I am teaching LabVIEW. I want to delay a wave form and display it with the no delayed waveform. I used a delay in the examples. The output of the delay is thread (double waveform). Signal to simulate output is data Dynamics. My conversion of the thread (double waveform) Dynamics does not appear on the graph of a waveform. The VI is attached. Can anyone offer any comment.

    It's displaying fine.  The screen is hidden behind the screen of the second signal. Expand the Plot legend to display all three plots. Then toggle the visible property of the plot of the second and third plots.

    Lynn

  • Create multiple vertical lines for waveform graph

    Hi all

    I use NI 9234 USB vibration of rotating machinery data acquisition. A simple VI was made for this.

    The next step is the analysis, signals were well displayed waveform, time, FFT, all important values... and so on.

    But I have a problem with multi vertical lines of the waveform graphs, it looks very simple, and I tried many ways but have yet to get it with a good solution.

    Vertical lines are used to display the frequency of breakdowns of machines (such as we post 1 X, 2 X, 3 X,... more harmonics).

    Does anyone have a solution for this problem?

    Thank you very much!!!

    Here's a very quick example (LabVIEW 8.2)

  • Can I do a waveform graph view more samples currently read?

    I have DAQ 17 channels at a rate of 500 samples per second read and then write in a PDM file and a few gauges, a waveform graph.  I'd like to graph waveform to display more than the samples that are currently read, I want to only show the last 10 seconds worth of samples.  How can I accomplish this?

    I have attached a picture of the relevant section of my VI. If you need more information about the VI let me know.

    Thank you!

    Hello

    As mentioned by Smercurio_fc also, you can use the shift register, etc. of functional global variable or use waveform table and increase the length of the history of the chart.

    Kind regards

    Leila

  • Waveform graph lose history

    Hello to you all, useful forum fans!  :-)

    I implements an array of tape showing the values of several parameters in real time, using a waveform graph, but during the race he keeps resetting of the history of the card at irregular intervals.  Unfortunately, because it is for my work, I can't post the code.  I'll do my best to describe the problem and the installation program, however.

    I have a data acquisition loop to read the values in real-time in a table of the floats and stores it in a global variable functional memory data buffer that contains a table 2D of floats, a 'page' of floats by time interval.  This forum works at 50 Hz through the expectation of millisecond Schedule VI.

    I then a chart update the loop running at 10 Hz via forward schedule VI.  This loop reads the data of all samples buffer VI he has accumulated (usually 5, but sometimes 4 or 6) and converts it to an array of waveforms through the VI of waveform build by taking each column of data and by assigning to it, definition dt to 0.02 (50 Hz), and parameter t0 to time less dt current multiplied by the number of samples in the table.  The terminal waveform graph is then set to this table of waveforms.

    Most of the time that it works well, with the new values added the previous values to create a smooth graph of multiple plots with the correct values are displayed.  However, sporadically the chart Flash empty and begin to fill again from scratch.  I can tell is just jump in time (the axis of abscissa) because I can move the axis scroll bar and there is no other data to scroll.

    I in addition to these two loop loops a GUI-structure of the event and a task of State machine loop.  However, I have excluded these two loops ownership history of the graph through inspection and breakpoints.  This is why I can only think that there are conditions or the type of data which, once introduced in terminal results of the graph by adding DO NOT present data as usual.  Empty array is not the answer; I tested with a separate simple test VI, and therefore in the chart, keeping the currently displayed data but do not update new data.

    I would appreciate any idea what any of you have as to the possible causes of this behavior.  I apologize again for not being able to view the actual code, although I can work to establish a similar setup with the data buffer, etc. in a separate VI and after that.  Also, I would like to know if you want me to describe the other logic, settings, or the circumstances for you.

    Thank you very much for your help!

    -Joe

    Whenever I've seen this problem when you use a waveform he chart endded up being a problem with;

    (1) the number of parcels has changed.

    (2) the names of the plot has changed (WF attribute).

    (3) time info Goffy where t0 and dt were inconsistent with what was already posted (new data point a t0 that is earlier than what is already plotted this plot)

    It's a pain to figure out the first time.

    Ben

  • How to display the signal on a waveform graph in Labview Signal Express?

    Hello

    I want to display a signal in Signal Express 3.0 in a "waveform table", but don't know how to do it and I think that it may be impossible?

    In Labview, there are two ways to view data, a 'waveform table' or a 'waveform graph. The great thing with 'picture of waveform' is that it allows you to set a length of history and you can see the data move to the left (option graphic strip) that samples are recovered. It works perfectly.

    In Signal Express I can only select "Graph XY" or "Waveform curve" by doing a right-click of the mouse, but I can't select "table of waveform. Is it really true that it is not possible to view data in a graph of waveform "with Labview? (1 analog signal during streaming, 100 samples to read at the rate of 1 K)

    Thank you in advance,

    Enrique

    Hi Enrique.

    You are right that there is currently no graphic waveform in SignalExpress. The thing nearest you can join, is saved data under a log and then he looks one when recording (which I know this isn't quite the same interactive behavior).

    For your last comment, you wrote 'waveform curve', but I guess you meant 'picture' here as well.

    Sorry about that. We recently received this request, then perhaps in a future version.

    Phil

  • missing samples in the waveform graph

    Hello world

    When processing a file .wav into pieces, I noticed that there are missing samples on the waveform graph where two pieces must be met for the display. What could be the cause of this? Any help appreciated. Thank you!

    Milan

    Your method of reading in pieces in a for loop is create a table 1 d of waveforms with the tunnels of automatic indexation.  It is as well as what you have the data appear in different plots.  I don't know if that's what you want.

    But if this is the case, the problem is that you get to the last point of the first plot, and the first point of the next parcel is a different value.  Because they are two different plots that you do not get the line to join them, as you do between points that are part of the same plot.

  • Code example for single asynchronous reading of multiple waveforms

    Hello

    I looked around but have not been able to find the code example for single asynchronous reading of multiple waveforms.  Could someone point me in the right direction?

    Thank you

    Dale

    Hi Dale,

    Have you looked at the code using .NET Framework DAQmx example? It shows this code:

    class DAQmxAsyncRead
    {
    private AnalogSingleChannelReader reader = null;

    public DAQmxAsyncRead (task t)
    {
    Create the drive
    Reader = new AnalogSingleChannelReader (t.Stream);
    Acquire 100 samples
    Handful of IAsyncResult = reader. BeginReadMultiSample (100, New AsyncCallback (OnDataReady), null);
    }

    Public Sub OnDataReady (IAsyncResult i)
    {
    Recover data that has been read.
    At this point, all that occurred during the asynchronous read exceptions are thrown
    Double data = reader. EndReadMultiSample (i);

    You can call the method BeginReadMultiSample here once again
    }
    }

    In addition, this article: http://digital.ni.com/public.nsf/allkb/485201B647950BF886257537006CEB89?OpenDocument talk about different causes of the reserved resource error.

    Kind regards

    Alexandra Valiton

  • How to display more than two waveforms on a waveform graph?

    Well, I have a question in the basics of waveform graphs. I have to post four waveforms simultaneously in my program. I can see two graphs on it, but when I try to display four waveforms, I get an error:

    You have two or more data types of cluster wired together, but clusters have different types or numbers of items.
    Cluster (unnamed), a group of 3 elements.
    conflicts with graphic waveform cluster, a cluster of 2 elements.

    Is there anyway that I can change a graphic in waveform to a cluster of 4 elements? Because I borrowed this waveform of a VI example on waveform cards "Charts.vi", so I guess it must have been programmed to be a cluster of 2 elements.

    I hope that I have my question clearly.

    Thanks in advance

    One of the problems that you have is that data from the DAQ assistant has a time stamp from now which is about 3 billion seconds

    Data from the simulated signals has a time stamp based on the beginning of the acquisition which is about 0 seconds.

    So, the table needs to be stretched early in LabVIEW time now to show all the data.

    Change signals simulated so that the timestamp is the result of an absolute time, then you should be able to see all the signals.

  • Synchronize multiple waveform charts reset

    My main VI has several radical waveform graph, based on the model of continuous measurement and logging. I want to be able to change x axis interval (switch between 10 seconds of data and 3 seconds of data)

    I did by changing the scale X Beach zero min and max to the appropriate sample size and clear history. While this works for each graph, they always ended up timing instead.

    At first I thought that this is because I put it in a ub VI. But all moving in you main vi does not change the behavior.

    Any ideas? Thank you.

    Those who all have to run sequentially in the UI thread well so there is no way to make "Simultaineuosly" HOWEVER, if you the bookends these nodes of property with an Involk of the David FP method updates (True then False) you will see much more what you'd expect.

    Alignment tighter to the 'clear' Histoys would also have to split your p-nodes so do all of them at first and then change all the scales.

  • display constantly accumulating waveform graph

    I read about 1000 points per iteration that I want to show a waveform graph. If I am just a digital picture in table of waveform, it shows a smooth wave sin and it looks at is just by adding new data to the former (a bit like a queue).

    However, if I use a waveform, it replaces the previous data with a new one. I want to see 2 seconds of data at any given time, so just display 1000 points on a corner does not help.

    I tried to join a waveform using the shift register and it shows the result that I want, but overtime, the size of the waveform gets very large and it slows down the system. I could implement a check of size and other things, but it's there

    an easier way to do the input waveform behave a digital table entry?

    I need to use waveforms because I want to stack several locations a TI provides an 'insufficient memory' picture if I use a 2D array.

    Got, it works. Had to change the timestamp on each iteration.

  • How can I display only a part of the scale in the waveform graph

    This is the first time I try to use the waveform graph, since now, I used the table of waveform.
    The reason why I moved to the chart, it's that I need cursors.

    I have 2 problem

    the first: in the diagram, the graph moves when I add a new data and the scale of the x-axis stay the same size, in the right size I always saw the new data. How can I do that with waveform graph?

    Second: How do I say Labview to the day I click on the graph, I need that because when move graphic I lose the day, and to make I need to zoom out, I drag the imprecateurs.

    All this must be done programmatically. The LabVIEW graphic accepts tabular data, not only as the table and the graph doesn't have the ability to retain the previous points, like the story of a graph. You will need to retain previous values and then continually update the graph with the old and new values to get a shift register "chart as behavior. Cursors should be written programmatically re of each iteration, since you rewrite the entire graph.

Maybe you are looking for

  • Solved problem on Satellite P30 Pro overheating

    Wow! I opened my computer laptop, cleaned the heatsink and fans 1/2 ton (exaggeration!) plushies de-dusted etc. have the rest of the components, including motherboard, put together and Voila, which was a cell phone 'dead' according to the Rémy, pulle

  • Paint brush

    Hi allI have a problem that I have no software to paint brush in my Start menu, how can I download or activate this software?

  • How to change the button if clicked on the other button?

  • Windows Activator error Code 0xC004F063

    I tried to use my activation code provided but it give me the error 0xC004F063.  My os is Windows 7 build 7600. I ran the Microsoft Genuine Advantage Diagnostic Tool and got this:Diagnostic report (1.9.0027.0):----------------------------------------

  • question of tablespace

    Hi allOracle 11 g 2RHEL 5I am trying to insert data into a table in another schemainsert into the table table_name select * from .table_name < another_schema > and get the error asImpossible to extend the table of 128 in tablespace < nom_tablespace >