Updated graphical waveform constantly with digital I/o

I'm new to Labview and I try a digital waveforms graph to update in real time after the analysis of the data of a digital acquisition of data from input to output.  Is this possible or real time update can only be done with graphics?

Hello

Once, a very similar subject has been addressed in the forum of LabVIEW, where DFGray has responded to the following:

  1. You can use an XY graph generating X values yourself. This will ensure that you place the data exactly where you want it on the X axis. It's fast, but involves a cost of memory.
  2. You can use a chart of waveform with an entry of waveform instead of the cluster that you are using. Use the antiderivative of waveform to build instead of the bundler to make your waveform. Set the values of t0 on the appropriate values (negative work, as do the numbers - time is in seconds, using the primitive of timestamp to convert to DBL timestamp). Finally, you must set the graph of waveform to use the t0 values. Pop - up on the waveform graph and make sure that ignore the time information is not checked. Depending on your version of LabVIEW, you may need to appear on the chart or axis. When you uncheck ignore timestamp, you'll probably want to reformat the x-axis again. Waveform graph clears the data at each iteration, so you have to replot all your data every time. Just create an array of waveforms and keep to add. The t0s will waveforms in the right places. Yes, this can cause memory problems.
  3. Finally, you can use the waveform, that memory. Create waveforms as you did for the waveform chart and send them to the chart. He remembered what was sent to her from run to run. Make sure to set the length of the graphic history (pop up on the chart and select chart history length...) long enough to contain your data together. You can use a node property to retrieve the data at the end, if you wish.

Link to the original thread: http://forums.ni.com/ni/board/message?board.id=170&requireLogin=False&thread.id=102699

I hope that this solution solves the problem.

Tags: NI Hardware

Similar Questions

  • help understand the digital and graphical waveforms

    Can someone explain to me how digital waveform working with NOR?

    I did a channel physical and wired to a DAQMx create channel then I have it connected to a NSamp of 1Chan ereading Wfm DAQMx and then wired it to a graph of digital waveforms.

    I put digital and graphical digital waveform playback in a loop.

    When I run it, it seems to me only to get 1 sample on the graph per loop iteration.

    The desired output is to add each digital sample as a function of delay which can connected and or scrolls in time to examine what is happening with the signals.

    Where is my mistake?

    My VI is attached.

    Any help would be greatly appreciated!

    Also another quick question, is there a 'comment' as a command / / c or ' in VB?  Thank you.

    Hi Henry,.

    Thanks for the post! It seems that you are having problems with the acquisition and the graphic representation of digital data using DAQmx and LabVIEW. You are right that the type of program you have returned a single sample every loop iteration, because you make an acquisition without buffer, timed by the software. This means that the program reads a sample for each channel, whenever the DAQmx reading VI is called, which will depend on the speed of the software will run. In addition, when you view this data, the chart will only display data acquired for this iteration of the loop (that is, in this case, a single sample).

    To accomplish what you want will take some extra work and overhead costs in the software, but you can essentially use a shift register and accumulate samples that your program runs. There is a practice done just VI to do this kind of thing with digital signals and is called DWDT Append Digital Signals.vi (this can be found in the palette of functions in respect of programming"Wfm Digital Waveform"). I created a small example which you should be able to run that does this. What actually happens is that the waveform is rewritten each time with new data added in addition to the data passed in. To be able to scroll back and view this data, I turned off automatic scale on the x axis (if it is enabled, it will constantly increase and tries to show all the data at the same time) and selected just a data window to display. In addition, I added a horizontal scroll bar to scroll through the review data.

    And to answer your question about the code comments in LabVIEW, this can be done with a clear Structure of the diagram. You will find this structure in your palette of functions in respect of programming' Structures. Using this structure, you can select a part of your block diagram to disable and switch to the active state of wire through the or add different features that will run. Hope this helps and good luck!

  • Graphics update rate waveform

    Hello

    I have a request I'm two signals to measure voltage in and feeding these signals to the mask and limit test VI to check if the signals are at your fingertips.

    I want to have 1000 samples7sec (1 kHz sampling frequency). The software works well but the only problem is with graphical waveform updated. If I run the loop of producer with 1 ms, in the log file, I have 1000 samples/s, BUT I see nothing on the waveform table (the second graph on GUI). I mean, I do not see the tolerances and my i / p signal.

    When I run the loop of producer with 2 ms, I can see signals on form of wave, but in the log file table, I have 500 or lower than that of the samples/s. I tried to change the rate of smapling but without success.

    Any help would be appreciated.

    see the attached example VI

    1. with a continuous sampling, you do not want to set the size of buffer.  Just let him be the default (which is quite large).

    2. you really do not want a waiting in your loop of producer.  Instead, you must inform the DAQmx Read to read something like 100 samples.  Waiting for the upcoming data will limit your loop rates.

    3. your second table is actually a chart.  A graph has the whole story and shows exactly what you gave him changed.  So, if you were trying to get all of the samples every 1ms when you are sampling at 1 kHz, you get 1 sample buffer playing and only 1 sample will be on the chart, making it appear as there is nothing in the graph.  When you go to 2ms, you get 2 samples to appear on the chart.  So I think you want to replace it with a chart.

  • Initialization with NaN effects update graphic

    Hello

    Interesting find, thought I share. It would be interesting to know a difficulty that I have tried!

    I've initialized a table with 240 000 elements using NaN. Simply, I used "Replaced Array" fuction to replace the individual item and built graphic Group XY XY. It all works but!

    Interestingly, the entire vi could slow down until every element of the NaN is replaced. Once all the elements are replaced, the appellant vi would update the UI as usual.

    If I replace NaNs with 0 in the initialization stage, then there is no problems of speed and performance. However, I get horizontal lines to 0 for all channels, which is the reason why I use NaNs to avoid this false representation of signals.

    Is this a known issue with NaNs and the fix for that?

    Thank you very much

    Waris K

    Last year, I noticed a similar slowdown with updates graphics if NaNs are involved. (discussed elsewhere, not public).

    Under certain conditions, NaN causes slowdowns in 32-bit programs. I wonder if 64-bit LabVIEW show the same problem?

    Also read the section "impact on performance on the x 87 FPU" at this link.

  • Power supply with updated graphics card update

    I am considering buying the HPE-150 t with an improved graphics card standard:

    1 GB ATI Radeon HD 5770 [2 DVI, HDMI, DP, VGA adapter]

    I went on http://support.asus.com/PowerSupplyCalculator/PSCalculator.aspx?SLanguage=en-us to the appropriate power needed for this gauge system, and it recommends a minimum 450 Watt power supply.

    If I ended up buying the HPE-150 t with updated graphics card, I get a power supply improved to compensate for the increase of energy consumption?


    Here are the specs of your motherboard.  It indicates a 350 Watt PSU.  However, if you scroll down to hardware options, you will see a 460 watt power supply associated with the 5770 video card.

  • What graphics card work better with digital painting, Nvidia GTX970 or Table K2200?

    What graphics card work better with digital painting, Nvidia GTX970 or Table K2200?
    I know it's much better to have a framework, if you work with 3D, but the framework is also better than the Nvidia card if I want to work only with digital painting?

    Designer Roberto Blake offers some good advice on the graphics cards and Photoshop here.

    http://robertoblake.com/blog/2014/01/best-video-graphics-card-Photoshop/

    and a link to the landmarks of PassMark Software - graphics (GPU) video card Benchmark

  • Waveform multiple graphics "bunk plots" with limits

    Hello world

    Here's my problem, currently I have 4 waveforms 'associated' with the "Build Array" function and connected to a waveform graph.

    I use the option "stacked plots" in order to have 4 curves with only a category axis.

    What I want to do is add a line of upper limit for each curve.

    Thank you very much in advance for your answers!

    Hi GoD_AsS,

    Use the classic palette tables. Make their border/background transparent and using a decoration as "frontier" for all 4 of them...

  • Draw text on the graphic waveform Plot

    I need to understand how to draw text on a waveform graph during execution. This could be a text box, a picture of the text, a label and an additional plot with text... etc.

    Yes, I know a graph would be better than this, but need to use a graphic for my application.

    The graph is updated every second, and new data are added to the history of the ranking. (Which means that the chart bigger every second) So if I draw the text above or behind the table, I'll have to update their location every second. I'll have to use card to XY Coords in an event, (mousedown or mouseup) to place the text (or image of the text) in the field where the user clicked.

    Step 1 to resolve this problem is to find first class, learn how to draw or text on the plot of the graph area.

    Does anyone have ideas of how this could be accomplished, or some ideas of a sneaky work around to make this work?

    Example:

    Unfortunately, graphics (graphic and graphic waveform XY) have support Annotation and slider, exposed programmatically through properties, but the array of waveform is not.

    What you could do is to place an indicator of 2D image that corresponds to the size of the chart above.  Make the value of the image that you draw be transparent and just print the text with transparent backgrounds.  However, I do not know the considerations on the performance of it - many times user interface elements, overlap (portions of even transparent) can cause problems of performance due to forcing redesigns... then again maybe a graph is always be redrawn in any case.

  • Equium P300-16 t and update graphic card

    Hi all.

    I was thinking about upgrading my graphics on the computer laptop satellite P300-16 t. I have not opened yet so my question is, has anyone here opened this machine? If so, is there a way to install a dedicated graphics card? i.e. the pcie? Could someone please advise if there are institutions in the machine to upgrade my graphics?

    My gratitude in advance for any help.

    In General, update graphics card is not supported and cannot be done.
    Toshiba has written about it in http://aps2.toshiba-tro.de/kb0/TSB9401AX0001R01.htm

    A common problem with portable mobile is the heat and to built the effective cooling system. Each laptop has optimized cooling system. More powerful graphics card will produce more heat, and this balanced hardware platform will not properly work. Can result in permanent damage from overheating or material.

    Maybe stupid comment now, but if you need more powerful your laptop sell on eBay and buy a new one.

  • Problems updating graphic adapter Intel Corporation - Graphics Adapter WDDM1.1 WDDM1.2,

    Hello!

    I have several lenovos windows 7 with this update

    Problems updating graphic adapter Intel Corporation - Graphics Adapter WDDM1.1 WDDM1.2,

    I'm trying to fix it with the original driver?

    http://www.Intel.com/p/en_US/support/detect?IID=dc_iduu

    all the solutions out there?

    THX

    Peter

    You can download the driver from the Intel website (search on your model number of graph, then Windows 7), read the notes first check it is correct for your hardware, uninstall the graphics drivers (Windows will return to a default basic driver), restart and install the new drivers.

    If this does not work, the Lenovo Web site will be older (but certified to work) drivers for your system model.

  • allocate space by updating graphic

    Hey all,.

    I was wondering if there is a way to update graphic while allowing space for the table so that it will be more efficient calculation.

    the method I always used was build in a time / loop and an array of generation that concatenates and have a graph set inside the loop. It seems to be slugging my computer because it takes a long time for labview open other programs later.

    My question is, is it possible to allocate space AND have the graphic update each time? I know that I can initialize an array and replace the elements in the table, but then my chart is filled with zeros. any help is appreciated. Thanks in advance!

    If you initialize your array with NaN instead of 0, you will not have visible padding in your chart.

    You can also watch to see if a chart fits your needs better than a graph.  Graphics built in buffers and display the most recent values for x.  You can change the size of the buffer.

  • Prodesk 400 G1 SFF: 400 Prodesk G1 SFF - update graphics card

    Hello world

    I have an interesting problem that I hope you guys could help me with.

    I have a Prodesk 400 G1 SFF and trying to update the graphics card integrated with a GeForce 210.

    The thing is when I put the card into the slot, and then start the on-board computer and the new

    come into conflict.

    It seems to begin completely on the windows login screen, but the only thing you can see is the slider (when you move
    the mouse) on a black background. When I remove the new card, the computer starts and the screen works fine

    I tried to install the GeForce 210 drivers without the card in the slot, but then I get an error message saying that the
    material is not found and can not continue the installation.

    I tried to insert the new card with windows started (I know, not a good idea) to see if the installation process
    detects the card then, but I got the same message "hardware not found".

    It seems that I'm pretty locked. I can't put the card into the slot, because then the screen does not work and I can't
    install the drivers without the card because it must be inserted in order to ensure that it can be installed.

    You guys have any suggestions on how to solve this problem or someone of you had similar experiences?

    Appreciate the help,

    Fredrik

    You are the very welcome, Fredrik.

    Yes, without the new card installed... First go in the bios, turn on legacy mode and disable secure boot.

    HP video card will not work on any HP PC that comes with the W8 or newer of the factory, unless these BIOS settings are changed.

    Normally the PC won't start not even with those setting enabled and a HP not installed video card.

    Then, after changing these settings (without the new installed card), reboot the PC and go into windows, go to Device Manager, click to expand the category of device display maps, right-click on the Intel HD graphics card, select uninstall and check the box uninstall driver.

    Do not restart requested.  Shut down the PC and install the video card.

    Turn on the PC, hope it works, and then install the drivers.

    If you encounter problems (which I doubt you want) you can always remove the graphics card, clear the CMOS which resets all parameters of the BIOS to default values.

    Then reinstall the Intel graphics drivers.

  • graphical waveform shortcut menu problems

    Hello

    We discovered a problem about shortcut menus on maps of waveform with our current installation of LV2009f2.

    In the development environment ("IDE"), we have created a larger application. In the display section, we have several graphics (waveform), where the user can select the signal traced by the contextual menu (aka the context menu). When running the application in the IDE so good, the menus are displayed with all of the elements, we have defined.

    So we have finished the debugging (so we thought) and created an executable. Then, we tested the executable on the same computer (the computer with IDE installed full). Everything if fine, context menus are shown as expected.

    So, we got to the next step in the creation of an installation package (which resulted in a size of 0.99 GB btw...). LabVIEW makes no complaints and we have installed this app (using the Installer) on a clean computer. No problems so far, our application has started, everything was fine. But then we tried to change the display: NO POPUPS! Instead, we had error 1165 (problems with Insert on the Menu, "Can't find the menu"). What happens here? Anyone with a clue? Where is my menu (reference)?

    OK, we had a second computer. Install this package of 0.99 GB too. From the app: just fine, except the missing context menus!

    More information:

    All computers are Windows XP, Service Pack, even. Context menus don't require no RTM file, so no missing additional files in the installation package. Menu references created by LabVIEW (IDE or RuntimeEngine [RTE]) on right mouse click on the control, so that there should be no problem with the benchmark missing or false. The values supplied to generate the menu are the same for the IDE and RTE, so no difference. The graphics are incorporated into a secondary, but still only had events for them, so we no problem. New: the reference for the menu is provided by LabVIEW (event "Activating the context menu", MenuRef), so it should be valid...

    Sorry, no example. It is difficult to reproduce, when it only happens to RTÉ and only on computers, where no IDE is installed...

    Tomorrow we will fill to the top of the VI for creating menu with a lot of debug message subVIs to check everything and everything is going on in there...

    Hi Norbert and others.:

    I found a solution for my problem (after a long session to create exe, deployment to a different computer, debugging and start all over again...).

    In deployments executable the shortcut menu for the chart is missing (and is missing only here!). So I first test a menu empty on each activation of the menu and create a new menu if necessary. To do this, you will need to turn off (disable) "default DURATION of the context menus" during the VI containing the graphic.

    A note more:

    All other paid (menus VI other) are loaded correctly, all loaded screws work dynamically. It's only the RTM shortcut missing... (And the RTM file is set to 'always include' in the application Builder!)

  • Windows 2000 update stops at "checking if your computer has the latest version of Windows Update software for use with the site... »

    When I try to update Windows 2000 by using Windows Update, web site crashes the message

    'Check if your computer has the latest version of Windows Update software for use with this web site... The Web site uses ActiveX controls to determine which version of the software your computer is running. "If you see an ActiveX warning, make sure that the control is digitally signed by Microsoft before installing it or allowing him to run.

    Y at - it a fix for this problem?

    This problem may occur in Windows 2000, Windows 2000 SP1 and Windows 2000 SP2 on computers. These versions are no longer compatible with the Windows Update Web site. To resolve this problem, you need to install the latest Service Pack for Windows 2000 computers. Follow the link below to access the article and get with the latest Service Pack.

    http://support.Microsoft.com/kb/260910

    Bobby

  • InDesign CS6 is an updated version of the Adobe Digital Editions software?

    When I click on the Adobe Digital Editions software on the Adobe Web site on my computer, a window titled "InDesign CS6' pop - up;  When I click on the Adobe Digital Editions software on the Adobe website on my iPad, a window titled 'Adobe Digital Editions' pop-up. Why different? InDesign CS6 is an updated version of the Adobe Digital Editions software? Adivse me please.

    No, it's something completely different. InDesign is the Adobe page layout program to create printed stuff or also the electronic formats like PDF or EPUB and others. It is a program that will require a lot of how to work with.

    You must download and install ADE on your computer. If you have never worked with InDesign, it may not be what you want to use.

Maybe you are looking for