Construction in real time of the table and the data tracing

Hello

I have a project in which I am waiting for a message from the chain coming to my serial port that contains two parameters of a voltage sensor compared to the position

I will then draw two parameters for a XY chart as they arrived at my port to build a chart that is continuously updated with all the points came to the COM port (all from the position of the reading pressure readings).

I know that to draw the two parameters against each other that I must use the XY-graph and for this, I have to insert my data in the tables first and then give them to the chart.

The problem is that the message of the series is not at fixed intervals (for example a message now comes, the other may be after 1 minute, then another after one half minute.. .and so on). and the chart should be updated with the points once they arrive (in addition to displaying the previous points too of course).

I don't know where to start! can someone put me on a track for it?

Note: I have no problem with the interpretation of the data series, at the end I will have two numeric values which I'll then draw against each other

Thank you

One thing that I had not noticed before on your VI is that you use the wrong function when generating data in your table.  You should use table to build.  No insertion in the table which is more intended for stuff that goes in the middle of a table.  And the way you use it, you insert in fact data at the beginning and not at the end.

I don't know what you have tried and why you think that the circular buffer is not what you want to do.

Take a look for a function called data queue Pt by Pt that effectively does what you want.

I will attach a Subvi I used.   I changed it to something that I found.  I think I found somewhere in LabVIEW itself, or an example, maybe the forums, but I can't find the original source.  And I don't see in the comments of the VI. (If anyone knows, please comment.)

Tags: NI Software

Similar Questions

  • Get the frequency of a graph in real time of the waveform trace

    Hello

    I want to get the frequency of the graphics path in real time. The data comes from a connected to an Arduino UNO ADXL345. I use LINX to read data.

    I separated given x, y, z in order to plot separately and later to get their respective frequencies as well.

    Here is an excerpt of my VI as well as the front panel.

    I used a the Measurment file for each axes entry so I have a copy of the data.

    Before posting, I tried the LabView Spectral tutorial first. But it's different from what I want to happen because you know the exact frequency in this tutorial.

    I have also attached my VI.

    Thank you!

    If all you want is to know the spectral content of a signal in the time domain, there are a number of examples show how to do it. I would start by looking at the functions of the FFT.

    Mike...

  • Do curve a real - time of the linear adjustment computed

    Hi, here is how my program works:

    (1) plot data read from a file

    (2) user can move the sliders to select a range of data

    3) allows users to choose the scale with control 2 Y (Y minimum and maximum)

    (4) make a linear adjustment of certain data in real-time and gives the results.

    And there's no problem, I asked the graph xy of a while loop in which I drove

    (1) the function of fitting (selection of data to 2 inhabitants variable (cursors)) and table functions

    (2) local variable 2 (write) to adjust the scale Y with the number in the control.

    Data and sliders move user appear, all right.

    The problem is that I want to draw the fitted line of the xy-graph, so I did 2 x 2-number-table (with x = 0.1 and y = intercept, slope + interception) and...

    I must establish xy-curve in real-time to the Assembly line to refresh on a cursor move XD

    So I put the chart at the time, and I traced it each time the moment of the cycle (I used a condition with shift register to skip unnecessary calculation).

    And here's the problem: when the xygraph is traced the scale there is the default. A few ms then the scale will have correct (when the program has wide are the values of controls).

    Is there a way to avoid that the graph will go to scale by default when it is drawn again? Or is it possible to trace the line of editing without trace all the xy graph?

    Thank you

    PS: I tried to put a sequence stacked with paint 1) graph 2) scale but cen see you in any case the flash of the scale Y incorrect

    I think all you need to do is disable autoscale for axes.

    Overall, there are a few very complicated and very dangerous built code. Here is a small sample (are there many, many others!):

    The code on the left can blocking the program, for example if the data are all zero. Why is there a local variable? thread just from the source, it is just there! What you probably want instead of these small while loops is the array of threshold function. No need to loop.

    To write two properties, you use oven (!) property and three structures of sequence nodes deep stacked. Property nodes are running up and down, so all you need is the code below! Also note that 'table of index' is resizable. You don't need to wire the index unless you want something special.

  • Real-time target - change IP and shared network varables

    Hello

    I create an application for the system in time real (Compact RIO).

    All data between the (current running on a windows PC-based) GUI and the real time system - is transferred via shared network variables.

    Shared variables are hosted on the target.

    I attributed the static IP address to the real-time target.

    Now for the question:

    After the deployment of the application in real time on the Rio target compact

    If I change the IP address of the target: how the shared variables 'know' to connect to the target?

    There is no place in the GUI (running on windows PC based) I set the IP address of the target.

    So I change the IP Address of the target (and for the sake of argument if I change the IP address of the PC, but they are always on the same subnet) - how to 'know' how to connect?

    Looks like a basic question I am absolutely certain I'm missing something to understand shared variable...

    Thnaks

    Hello Hazkel,

    The IP address of your shared time variable real target is located in the *.aliases file when you create an executable file, you will need to change there.  See the example below:

  • Look at a FPS in real time of the events of several IPS devices

    What is the best strategy for the display of the IPS in real-time of the events of several IPS devices now that VMS filed end of LIFE?

    There was a nice view unique of all IPS events from all IPS devices run in VMS and I was wondering where I can tell people to receive the same information on their networks. I do not see in CSM and I do not think that they will find in MARCH. Please notify and correct me if I'm wrong. Thank you!

    You can use VEI. It is an observer of events that has a dashboard in real time also. You can import several sensors inside and view the events in real time.

    Link to VEI to 5.x versions:

    http://www.Cisco.com/cgi-bin/tablebuild.pl/IPS-EV

    Link to VEI to versions 4.x:

    http://www.Cisco.com/cgi-bin/tablebuild.pl/IDs-EV

    Kind regards

    Maryse.

  • RAM Preview plays is not in real time on the new Macbook Pro

    Hello world

    I have problems getting after effects to play the video in real time in AE CS6. I use a brand-new Macbook 2015 Pro 13 "retina with a dual core 3.1 GHz processor Intel Core i7 and 16 GB of RAM. I just made sure my copy of AE CS6 is up-to-date with the latest updates (11.0.4.2), and yet I am unable to read the video or animation in real time using the RAM Preview to any size greater than 25% in the Viewer.  If I try to play a video clip of 29,976 fps, the framerate tops out at about 17-18 frames per second. When I press 0 for the RAM Preview, it starts caching the images such as normal, but even after a loop continuous cadence comes not near real-time. The audio plays fine, but the video starts immediately behind. I can't even a scene of simple great test of a form of retouching layer move on the playback screen in the real time RAM Preview.

    That said, I can get it to play in real time if I reduce the viewer up to 25%. But obviously, I won't be limited to work in quarter resolution on a new laptop. My last Macbook pro from 2008 and completely across the well treated RAM previews, being able to cache images and play them back in real time without problem.  I have to assume that there may be a function that I'm missing or something goes wrong, unless I just grossly overestimated the capabilities of my new laptop.  But surely, it should be able to manage simple video playback. I had no problem using first on this computer, then it can of course deal with the video.  Any help you can offer would be much appreciated, because this problem becomes really frustrating!

    Just for fun, try the trial of CC 2015 and see if it behaves correctly.

  • a pc with a stand-alone module, real-time can display of its own data

    Hi all

    It is sort of a basic question, and it's probably why I can't find the answer explicitly in textbooks or the forum posts.

    If I want to use a PC as a unit in real time, and I install the LabView time real OS on it and make an Application of real-time on another machine and compile it in the PC target in time real LabView, can I attach a monitor or a kind of screen directly to the PC unit in real time to display some data I need?  Or do I still need a Labview PC to act as a host for display data and interface with a user?

    Thanks for the info!  I have some experience of labview, making some other applications but I have never used the RealTime module yet so I don't know much. So if there is a good place for more information in time real LabView for use a PC as a device target, which may also be of interest and would be appreciated!

    Thanks again.

    Steve

    Hi Steve,.

    Our objectives in real time are designed to work in headlessly, which means that they are independent and have no user interfaces.  It comes to screens.  For a display of information, you must use a host VI, on a host computer. There are several ways to move data between a target RT and a host PC including, but without limitation, TCP, UDP, network flow, published static Variables of network and Web Services.  These are all covered in documents on best practices.

    Here is a page real-time best practices:

    http://zone.NI.com/reference/en-XX/help/370622J-01/lvrtbestpractices/rt_portal/

    Here's a page on the conversion of a desktop computer to a target RT:

    http://zone.NI.com/DevZone/CDA/tut/p/ID/2733

    Good luck with your project.

  • How can I display the time of the data stored in a file using labview?

    How can I display the time of the data stored in a file using labview?

    Hi Matt,

    I think that we will need a little more information as to how you capture the data, what data you capture, etc.

    If you capture a waveform, is to extract the time data waveform which includes the t0 and dt values, so you can understand the time stamp of a specific data point as in the image below.

  • See the time with the date in the cell?

    How do you not see time with the date in a cell? I tried all the settings I can find but without success.

    Using the numbers from version 3.6.2 (2577) - OS: El Cap 10.11.6

    I don't want to see that 12:00:00 AM

    Hi Russ,

    Inspector to format > cell, the parameters as shown below:

    Kind regards

    Barry

  • launch of LV in real time on the target programmatically

    I'm new to LV in real-time, we are developing drivers for a bus controller in real time (I've already coded normal LV using UIBC pilots) and I am trying to achieve the structure for the execution of the samples. My first thought was to have a directory of the samples on the RT target and have a "table of edge-like" LabVIEW interface on the host that would launch the sample on the remote target. But as I read on in real time, it seems that the apps are not stored on the target, but simply run on the target at the launch of the explore (?) project. What is the code (VI) downloaded to the target whenever a program is run?

    Is there a way to download and run a VI on a target of a diagram of block LV programmatically?

    thanx

    lmd2

    lmd2 wrote:

    Thank you, but just to get me it's OK:

    When you launch a VI from the Project Explorer, it is downloaded into the memory of the RT system.

    This remains in permanent memory - or is it re - downloaded every time that it is run from the Project Explorer?

    It remains in memory until you restart the RT system or download the other screws from the Project Explorer. To simply run it several times (without modifications) should not be re-uploaded.

    To start the screws on the RT of the Project Explorer is really nice for debugging or testing, but if I understand your needs isn't really the way to go.

    For example, you can have an application that is started automatically on RT target that communicates to the host via TCP/IP. The host can request this request that samples are available. Then, the host can send a command to initiate a sample. The application of the RT will then call (dynamically, i.e. the local VI server) the corresponding sample of VI.

    Hope this helps,

    Daniel

  • iPhone download videos in real time with the company data?

    How to set up my iPhone 5 to download videos in real time on my iCloud account using the data of the company (and WiFi, too)?

    Alexander.Carpenter wrote:

    How to set up my iPhone 5 to download videos in real time on my iCloud account using the data of the company (and WiFi, too)?

    iCloud photo library - Apple Support only works when the two is connected to wifi, no cellular data.

    Read here's how it works.

  • Get strange errors 'real time' in the browser console, what do mean?

    I noticed recently that since yesterday is the day prior to that, I get a strange 'real-time' error messages in my browser console log. I get them for more or less the same sites, and I have attached a screenshot of some of the most common mistakes for example. I see these errors very frequently in the browser console log.

    So I'm a little worried about what mean these errors, why I want to come and if anything, what to do about them.

    Hello

    Try Firefox Safe mode to see if the problem goes away. Firefox Safe mode is a troubleshooting mode that temporarily disables hardware acceleration, restores some settings and disables add-ons (extensions and themes).

    If Firefox is open, you can restart Firefox Safe mode in the Help menu:

    • Click the menu button

      click Help

      then select restart with disabled modules.

    If Firefox does not work, you can start Firefox in Mode safe as follows:

    • On Windows: Hold down the SHIFT key when you open the desktop Firefox or shortcut in the start menu.
    • On Mac: Hold the option key during the startup of Firefox.
    • On Linux: Exit Firefox, go to your Terminal and run firefox-safe-mode
      (you may need to specify the installation path of Firefox for example/usr/lib/firefox)

    When the Firefox Safe Mode window appears, select "start mode safe."

    If the problem is not present in Firefox Safe Mode, your problem is probably caused by an extension, theme or hardware acceleration. Please follow the steps described in the section Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems to find the cause.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

    When find you what is causing your problems, please let us know. This might help others with the same problem.

  • Controls in real-time for the cRio

    I use a cRio 9074 sinking a sensor and to acquire data from ADC module.  I store this data from a DMA FIFO in a table on the RT.  I need to change my detector running program, so I need to change the control on the RT variables after it is deployed from my host PC.  Is this possible?  I also want this picture to be feeding continuously, but I want to be able to pull the data on my host PC from time to time.  What is the best way to do it?  I was trying to use shared variables, but I was getting an error (error-1967357949 cannot request measurement and automation to the shared Variable engine.  Make sure the shared Variable engine exists on the target of RT and verify that the network connection is valid").

    Shared variables are the way to go on this.  Reading http://www.ni.com/white-paper/4679/en should help.  Try the manual deployment of your SV engine to the cRIO in the Project menu.  Your cRIO has the shared variable software installed?  You can check through MAX.

  • Back to cache a sequence the old way. not in real time during the introduction of the cache

    Hi supports,

    I have problems of my sequences caching. As long the AE is always rendered images my reading is never in real time, it will be stutter audio until operations complete are cached. Makes me and my clients go nuts, so every time I want to playback of a composition, I manually turn off the audio, the cache of the sequence playing, which makes them note every time, "Oh a little slow" and "There is no sound" etc and I have to explain that his not playing not, just cached.

    I went back to the old way: Cache first before reading. The real-time playback + caching does not work...

    Also the 'working area of the Cache in the background "has disappeared... Why?

    And Im working on fast mac:

    CPU: 2 x 2.4 GHz Quad - Core Intel Xeon

    RAM: 48 GB 1066 MHz DDR3 ECC

    Boot SSD disk

    FusionIO Cachedisk

    My support is on a fiberstorrage Facilis (4K DPX real-time playback)

    If you have present clients, I totally recommend cache before play (like the old RAM Preview) option. Unfortunately, you can not have cache in the background (yet). I've linked the explanation in my response to your other post.

    Have you seen the preview videos or all the videos of NAB? The next version of AE wants to focus on the stability of playback, speed, etc. so it could get a little better. Acceleration using GPU for some effects (finally!) makes a big difference!

  • Real-time communication between PHP and Flex application

    My client wants to replace the buttons 'Refresh' in their Flex/PHP app with updating in real time, so as to data changes, it is pushed to the client.

    I came across a few articles which cover this topic, but I'm hard-pressed to find the best approach. Can someone suggest possible solutions?

    Any help would be appreciated. Thanks in advance.

    If your server supports K 100 simultaneous connections with push (permanent connection)

    It can be used 100K users simultaneous apps. With polling stations, it can serve more

    100 k because it opens a connection and then it closes once the answer has

    been sent, so until this client polls again it can handle other requests of

    other customers...

    C

Maybe you are looking for

  • Modem in Portege 650ct - cannot find the driver

    Help, please!I can't find the driver for the modem installed in the laptop Toshiba portege 650 CT (the internal modem)ATI3 command responds: Toshiba 28.8 data/14.4 Fax Modem Version 4.15 (MA) [Edited by: admin August 20 05 08:21]

  • DynaDock DVI - 2.3 drivers available

    HelloWe experience bluescreens and problems with the current 4.2.6711.0 of drawing dynadock video drivers.The dynadock is connected to the FujitsuSiemens expressed mobile laptops running Vista.When the pilot 2.3 be released? It was announced in Decem

  • Windows cannot find mmc.exe

    Original title: mmc.exe When I download sp3 display error massege When I opened the Task Manager and manage the display of error messages Windows cannot find mmc.exe make sure you typed the name correctly

  • When I start my PC under XP, startup screen never appears.

    !. Press the Start button. 2 PC green lights. 3. operating drive (red) lights up. 4. "beep" is heard. 5 keyboard lights are lit. 6 monitor power light begins to blink (in time with the red light indicating the disk activity). 7. no image on the scree

  • AnyConnect with IKEv2

    Hello world I have config Anyconnect with IKEv2 only no web launch and SSL is also turned off. I downloaded the anyconnect - anyconnect-victory - 3.1.05160 - k9.pkg on PC. tried to connect but no luck. Is that it is designed to work this way? Concern