History of measurement PREV on XY-graph

Hello!

The system where countinously measure same points over and over again. These points are in the result of the measurement on the y-axis and the x-axis. I added two different solutions I tried. 1 where is the buffer memory (based on the example) and 2, where is used the tables and the shift register.

Problems:

solution 1. On his return from the point 10-0, draw the drow who return.

Solution 2. Tables now initialized to 0 and no antecedent. But if no initialization at all, history is endless.

Have other solutions for this?

-Thx, again-

I did the vi so that you can adjust the history of wellas speed ranking. You can use the same concept for the graph in the graph. I hope this helps.

Tags: NI Software

Similar Questions

  • Vi transitional measure displayed in the graph of the wave are moving outside the scale

    With the help of a graph of a waveform to display the pressure over time. I wanted to be able to calculate the time to drop in pressure over time, so I use the vi transitional measure. I copied what was exactly in the example for the measurement of transition inside help and it is correctly determine when to transition down, but I'm having a problem with the cursors in waveform graph. I would like to see a set of greenery along the fall time start and end time of fall as pictured, I have attached the vertical sliders (capture2) as in the example. The problem is the two always begin to 3.43 (capture1) and after each sampling period they (4.34, 5.34, 6.34) increment him come right out of all of the output of transition as these numbers measure. The period of the signal that I am interested is always less than 2 seconds, so I never see the vertical sliders.

    I tried replacing it by my signal daq with an sine wave signal generator and it does the same thing.

    The block diagram is in the first capture

    also, I would be interested to know exactly how the numbers wired to the cursor property active of the property of a waveform graph node toward real sliders on the chart. They are just automatically numbered starting at 0 from the top down?

    Wayland

    Hi Wayland,

    The sliders are still apparent in the example VI for the transitional Measurement.vi, is because the generated signal is always set to zero. Thus, signal resets a 'new' signal for the sliders to move and therefore always on the same location a bit. The waveform graph is also configured so that it won't move or continue to show new incoming data, data sliders have moved on. So in your case, you want to click with the right button on the chart and make sure that "Ignore Time Stamp" is not checked/selected. This will make it so the graph continues with your incoming data and cursors. You can check it in the example file by removing the constant True is the generator of signals and change the mentioned time stamp option previously.

    In order to view the available sliders as well as their position numbered, you can right-click in the waveform graph and select Properties. In the Properties window, there is a tab of cursors, inside this tab at the top is a drop-down menu that lists all available sliders, indexed starting with 0 at the top.

    -Jake B.

  • Precise timestamp on the graph of the band with scrolling

    I have a user interface with a set of synchronized graphics that operate in mode scrolling stripchart.  The elevator of the x-axis is visible on one of the cards, and the operator has the ability to take a break from the update of this table (essentially locking the entrance to the chart) and scrolling in a bit of history.  The width of the graph is about one minute of data, the number of points has been set to allow about an hour to scroll of history.  Other maps which are synchronized with the main chart have the x-axis property nodes attached, so that they follow the scrolling of the main graphic.

    Everything works fine with the current configuration, except for one small detail: the timestamps.  I put date and time stamping visible on the x-axis of the main graphic, so that operators know exactly when any aberration in the data actually took place.  I have seen a few entries in how add real timestamp, but none of them seemed to work properly.  They work very well on a standard sight, but fail miserably once the scrolling action is activated, so I have to do something wrong.

    Any suggestions on the best way to get this accomplished timestamp?  It's absolutely crazy to me how much pain is to put a timestamp to the real real world in a graphic...  As someone who constantly defends LabVIEW against colleagues who claim that it is "too difficult" to use it, it's kind of embarrassing when a thing so simple becomes so complicated in LabVIEW!

    The short answer is that this is impossible with a graphic if you add the requirement to be able to take a break. The reason is simple - a chart stores data on its own, but it saves all the values of X - you give only values Y and for the X values he simply uses the index of the value and the most you can do is set a t0 and delta t for the X scale. This works normally, but does not work when you stop feeding data to the chart, because the value of X is not stored. I heard someone say once a waveform graph does not allow this, but I've never looked into it and I'm not sure that's true.

    What you can do is use a graphic instead of a chart - in a graph, you provide values X and Y for each point, so you can have absolute time for the x-axis values. The key point is that, to a chart, you must provide all the data to draw, you must maintain a circular buffer of the data yourself. You can do this by using a queue with loss, when you preview the queue to get the data, but there are also some examples online, as well as in the finder of the example, if you search for 'XY Chart'.

  • Measures with the date Conference

    Hello

    I have to make an application, as part of my end of study project, which allows to calculate heat flow. Pour this, I have data measured with thermocouples. These data are stored on a data recorder that record these data on a .txt, .xls or .csv file (it is to be chosen by user).

    I'm not very chiseled with LabVIEW.

    In a Prime Minister, I tried to read the .txt file data. I can read the 1st line as I wish but not others.

    So I decided to work with a .xls file. The temperatures Conference goes smoothly. For time is the date, it's more complicated. Indeed, I would like to USE date and time corresponding to each measure to plot a graph XY with the date and time X and Y the temperature of the thermocouple.

    Kind regards

    Here's an example (VI from LV2011 but attached VI en LV2010) made on the basis of your code. Comment by watch it extract the news date and time of the string and generate the the from graph XY time in seconds in X. realized very quickly, it is without doubt room for improvement but you will serve as a basis for work at least.

    To define 'Structure box' serving at first as far as being 0 and calculate relative time to the following samples. Thus the x-axis of the graph starts at 0.

    My time is short, I renounce other comments but I happy to answer specific questions.

  • How to create a static row in the bar graph line in obiee 11g?

    Hello

    I have a requirement where the user wants to see a line in the bar chart.
    Now, the line is just static, we have not available to draw the graphic line of data field.
    is there a way to create a static line in the chart and display it in the graphic line of bar ombo?

    Thanks in advance...

    for example, I have created static line '10' on the Forex and now using this column as line by line bar report, but it is not showing the extent of '10' line in the graph.

    Drag the column measures section of the graph (line - Vertical axis) to change this static value to create a prompt box edit and pass the value to the column using Variable presentation (as told by Fernando)

    Thank you

    Angelique

  • EM12C historical measures

    EM12C to view historical measures up to 31 days (for example using CPU/memory/disk/file system)

    Is it possible to keep say up to 1 year of these data?

    Thank you, James.

    Hi James,

    Yes, this can be done. See the Manual: maintenance and troubleshooting of the repository of management

    But: it will cost you a lot more disk space and probably the performance look a what level of higher detail.

    But II: I don't know of a way to keep just the history of measures such as the use of cpu, memory, disk, fs.

    Eric

    Or check the note MOS: how to change the policies of purge and default retention for metric data? [1405036.1 ID]

  • conspire, a point on a XY Chart

    Hi all. I think I need your help.

    I have a text file with some data in it to represent graphically. (2 Col. of 600 lines). I want to make a graph with these values AND draw a point on this

    chart, according to data from text file. Read the file and then each row of consecutively. (I've changed .txt with the .lvm extension to work).

    I've done so far:

    -read the file of measure (once)

    -build a "because" outside the measurement file where I graph all the data (graph XY). Here, somehow, I want to draw each line of data (10 ms) on the same graph.

    I want to see a point moving on my chart.

    I was looking forward to examples, I tried several ideeas, but no result.

    Any help?

    Thank you.

    PS: Why .lvm don't are not excepted here? I had to modify in .txt to download.

    Add a slider like this:

  • How can I improve the rate of acquisition with daqmx and usb-6008?

    Hello

    I am trying to acquire data of analog voltage with a USB-6008. I'm under Labview 8.5 student on an HP laptop with a 1.33 Ghz cpu and 736MB RAM, apparently. I tried using the Daq assistant and the low-level Daqmx functions. My best results come with a task set in MAX for my analog input, and using the function 'Daqmx read' the 'unique double 1 d sample' value in a while loop. I insert the values returned in a table which built in the while loop, and then when I'm done, I check the number of samples in the table. In the test VI attached, I also use the time to Get before and after all loop. The best sampling rate I made using this method, is around 40samples/second. I have attached a VI below that illustrates this concept. In my actual application, the data acquisition code runs at a time while loop with 1ms, parallel to other code that controls the device I'm collecting data of. The sampling rate is roughly the same for my test below VI and my application program.

    The 6008 datasheet gives the sampling frequency maximum 10 kHz. I'd be happy with 2 to 2.5 kHz, or as soon as possible; I'm sure that I can achieve a little more than 40 Hz. My first idea was tied to the hardware, but the 6008 cannot make acquisitions NI hardware.

    My question is: How can I implement a faster sampling of analog voltages to a USB-6008 in LAbview? If I can't do it, is there another way I can taste the data more quickly?

    Thank you

    -SK-

    To the best of my knowledge, the USB-6008 can do timed equipment acquisition. Don't forget that this is a multiplexed device, so if you add 8 channels so the maximum you can set is 10 k/8

    If you are new to LabVIEW, I suggest that you try this sample program first

    \examples\DAQmx\Analog In\Measure voltage. llb\Acq & Graph tension-Int Clk.vi

    Amit

  • follow the progress of serialization

    Hello
    is it possible to track the progress of the writeObject and readObject methods?

    Also, I need the size of the object, I will write: I thought to write my ByteArrayOutputStream object so that I can determine its size, but is there anyway how to monitor the serialization process itself?

    Thank you very much

    It is possible to monitor any stream by writing a FilterInputStream and FilterOutputStream. See for example javax.swing.ProgressMonitorInputStream.

    According to Peter, the execution of a method readObject() or writeObject() individual will be impossible to measure, unless you write graphs of huge objects.

  • 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

  • Save the Studio measure waveform graph as a file for reading later

    Hello

    I would like to know if there is an easier way to record data are rendered on a waveform graph (configured as a graphic of the band) to capture incoming data in the code and send copies of it to a file. It would be nice if there was a method to do this, with all relevant metadata stored in the file (color, etc.). Better yet, the file could then be opened in a labview application (for example, a TDMS file) for later review.

    Thank you.

    PS. I use VS2010 and MS 2010.

    So, it looks like you already have all the data points. For metadata that you mentioned, line color, plot colors, point colors, line styles, etc. are all accessible from the properties so if you wish, you can retrieve all that data.

    I think that upon return from t0 is the same compensation history, you can use the ClearData() method.

  • Update graph XY measurement at the same time.

    Hello

    I want to update chart XY measurement at the same time.

    Normally, the graph is last updated after taking the reading.

    I tried to make a chart that is updated at the same time, but it's not seems a correct value.

    You please guide me.

    Thank you very much...

    Sorry, I can't know how many plots you have on the chart. Only one?

    Here is a small example showing the gradual construction of a xy chart. Maybe you can adapt it to your problem.

  • 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

  • How to convert data from XY graph for type ' signal in "for measurement functions

    Hi all, I have a driver file that generates the screenshot XY graph.  I want to measure the period, using the measurement functions in the LabVIEW palette.  Can someone tell me how to convert this type of signal "in".  The X (time) and Y (power) are all there, but it causes an error when I son together?

    Please see my attached code.

    Thank you

    Its ok people, I found a solution.  See attached FYI.

  • 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

Maybe you are looking for

  • QuickTime will not play on a new iMac (it works in Safari and iTunes, but not Firefox)

    I have the latest update of Firefox, the latest version of Quicktime and the last OSX (El Capitan) on the new Mac. I also deleted all the history, cache, cookies, etc and restarted. I always get the same message - that I need to "Download Quicktime".

  • I can't get my purchases to go on my new phone *.

    I have searched all the * place and I don't understand how to get my old ringtones to download, it says that I bought before I'd buy again please help

  • Lost Google images and Google Maps in Firefox

    I came to work one day and I see more pictures under Google is using the latest version of Firefox. I deleted the cache and I also deleted Firefox and reinstalled nothing doesn't. I can't see the images, fill out forms on some Web sites, or use Googl

  • Upgrading to an SSD

    Hi all I have an i7 in early 2011 15 "MacBook Pro. Beautiful machine, but I want to upgrade the hard drive for an SSD. I intend to get a Crucial MX200 250 GB which is in my price range. My question is when I remove my current hard drive and put it in

  • Web site says 8.0.1 available, but my paycheck update v8.0.0 says that Firefox is updated

    I see on the web site of Mozilla Firefox 8.0.1 is available on the output channel, however, when I check with v8.0.0 updates that Firefox says it is up-to-date. I tried with my user and administrator accounts. I also tried the 'solution' described in