Interactive plots in Labview

Hello
I was wondering if it was possible to have interactive plots in Labview. Let me explain: for example I have plotted x by y and in this plot (graph) I want to be able to select data points by clicking the points on the plot. For example these may be outliers, or, I may want to subset these points out of this data, etc
Is it possible to do this in Labview? how? are there any good tutorials or sample vi's?
I will appreciate some guidance,
Cheers

One great way to interact with graphs in LabVIEW is by using cursors. I have attached an example I wrote that illustrates how cursors can be used to extract a subset of data from a graph. Please have a look at it. As far as resources to learn about LabVIEW, National Instruments has a host of different training options and I highly recommend them. Here is a link to the NI training site. There are instructor-led courses that you can sign up for in your area in addition to self-paced manuals that you can purchase and use to learn LabVIEW on your own.
Kind Regards,
E. Sulzer
Applications Engineer
National Instruments
Attachments:
Waveform Extractor.vi ‏65 KB

Similar Messages

  • Graph plot in labview to get time in seconds or minutes in X axis starting from 0.

    How can we obtain time starting from 0 seconds or 0 minutes on X axis in a chart and XY graph in labview.When I plot it is showing the system time on   X axis.I would prefer the time to start from 0 ( seconds) , rather than system time.Please reply.

    I have NI cDAQ 9174 chasis and NI 9211 and NI 9207 for thermocouple (NI 9211) and current (NI 9207).Can I acquire all three data inputs within a single DAQ Assistant express vi.Because I tried to access all 3 in one DAQ Assisstant , but it was not accepting it.So I had to place one DAQ Assisstant for thermocouple readings and another for current.For reference I have attached my labview diagram.
    Attachments:
    rktr3.vi ‏218 KB

  • How to combine multiple signals to one waveform plot in labview

    hi everyone, im using labview 2011 and i need to take four different signals and plot them individual in one waveform chart and THEN i need to combine all four signals and plot the resultant in the SAME waveform chart as the four original ones. i have the four signals plotted but can not for the life of me figure out the resultant one. any ideas? thanks!

    The word "combine" can have many meanings. Do you want to sum them, average them, concatenate them, or something else...
    LabVIEW Champion . Do more with less code and in less time .

  • XY Curve Plot in Labview

    Hi Everybody,
    I am a beginer to Labview and NI-ElVIS and as a begineer I am facing
    some (maybe) trivial issue. Unfortunately I was not able to find
    solution to the query and hence an looking forward to your help.
    I have designed a circuit in NI-ELVIS and an viewing the output in
    oscilloscope of NI-ELVIS software. However I am interested in plotting
    XY- graph for the two channels that I am interested in observing. Can
    anyone help me how can I do that ?
    To make the problem a little more complicated, I am interested in
    varying the supply voltages on NI-ELVIS board and would like to observe
    the XY graph with respect to variation in voltages I am performing.
    Currently I am using manual mode of ELVIS but I would like to control
    the same through hardware alongwith plotting the XY curve.
    Thanks,
    -Gaurav

    Hii, Dennis
             Please explain me why this is happening, i am converting this using the option save with options and there is an option that save with version 7.0 at the left pan, but it is still not converted, when we are doing that in LabVIEW 8.0, to convert it into the LabVIEW 7.1, it is running OK, i mean it is not giving any error, why this is happening?
     And Gaurav sorry, i dont know whu it is not happening? i think it should br there, but?????? i don know yaar!
    Thanks,
    Nishant 
    Message Edited by Nishant on 04-14-2006 09:20 AM

  • Changing XY graph to multiple plot freezes labview

    Hi,
    I have a 0-dimensional XY graph which is part of a fairly big VI which I want to change to a mulitple plot version. However, when I wire an array of XY-data clusters instead of just an XY data cluster LabView 2014 freezes and crashes:
    LV freezes when i wire the lower 1-dim version.
    There are mulitple VI references, Property nodes and Events in use from this graph. Usually this change is trivial, but for some reason it won't work here? Any ideas? Could it be a property node or VI reference that becomes incompatible when the dimensionality is changed?

    There's not much that we can do to help without knowing what all you do with your code. It might be a property node. Might be a specific setting you have.
    I can make the code in your screenshot all day and not have a problem, so it's specific to either your LabVIEW install or your code.
    Your first step towards figuring this out is find all references, property nodes, and invoke nodes for this graph and pinpointing the problem. Remove each one-by-one, starting with the ones that have something to do with Active Plot or multiple graphs, until the freeze no longer happens. Then send a detailed bug report to NI to fix it for future versions.

  • How to display scope plot in Labview GUI?

    I am trying to figure out how to show TDS8000 scope output plot in LV GUI(?)
    This maybe a two fold question.
    1. I suppose it may be necessary to adjust the scope scale with appropriate level so that the plot will show enough details of information. (e.g., finding Max and Min points)
    2. how to display scope plot in LV GUI?
    It would be a great help if anyone can share an example VI.
    Thanks,

    Hi jjlee,
    It shouldn't be that difficult of a task. Most instrument drivers have
    a simple initialize VI, and then some type of waveform measurement VI.
    You would connect these two VIs and then take the output from the
    waveform measurement (may be waveform acquire or something like that)
    to a graph or chart (depending on if you're outside of inside of a
    loop). That should be all you need to do for the simplest form of this
    application. You would, of course, want to handle errors and close the
    connection to the device when you're done collecting the data.
    Hope this is of some help,
    Regards,
    Matt S.
    LabVIEW Integration Engineer with experience in LabVIEW Real-Time, LabVIEW FPGA, DAQ, Machine Vision, as well as C/C++. CLAD, working on CLD and CLA.

  • Re: how to make bode plots in Labview 7.1 without using Control Toolbox

    I am using Labview 10. I have connected a signal generator, a LP RC filter and an oscilloscope. I am using Labview in order to control the generator (sine with frequency sweep) and acquire the signal from the scope. I want to plot the Bode diagram without using the transfer function, from the amplitude of the sine signal and the frequency.  
    Thank you very much.
    Best Regards.

    Hi pflo,
    Are you using the CD Bode Plot VI or the SI Bode Plot VI?  For the CD plot you must use a transfer function.  Below, please find a link to an example on how to create a Bode plot without using the toolkit.  
    https://decibel.ni.com/content/docs/DOC-14762
    Regards,
    Kira T

  • How to make bode plots in Labview 7.1 without using Control Toolbox

    I'm trying to make a bode plots from transfer function using Labview 7.1. My installed labview not contains any toolbox, so I have to create the block diagram of bode plots my self. I have a problem when creating the phase bode plots for polinomial with conjugate roots pairs. Suppose the polinomial is ax^2+bx+c, with a,b,c is the polinomial coefficients. If b coefficients is negatif, i  have no problem, because the phase is start at 0, and the final value is 180. But if the b coefficient is positive, the phase plots starts at -180 and it's final value is 0. So, if there is any one who can helps me to give any solution, i'll really appreciate that. Or if there is any of you who had made the program to create the bode plots from a transfer function, i hope you can share the code with me. Thank you.

    Hey pflo,
    Are you using LabVIEW 7.1?  Can you explain the problem that you are having with the using the Bode Plot VI?  Below please find links to some documentation on the Control Design Toolkit.  With further information on your problem I will be able to better assist you with the toolkit.  
    http://zone.ni.com/devzone/cda/tut/p/id/3560
    http://zone.ni.com/reference/en-XX/help/372458B-01/lvsysid/bode_plot/
    Regards,
    Kira T

  • How do I calculate strain from a volt amplitude vs time plot that labview generates

    I have set up four strain gages, a DAQ system and a coded output in labview. After running my program labview gives me a voltage vs time plot. How do I convert the voltage measurements to strain? My strain gages are configured in a Wheastone quarter bridge configuration. Thanks in advance for the help!!!!

    Hello Jason,
    On your task in Measurement and Automation Explorer you can either set up a scale or create a task for force measurements. When you acquire this it should give you the strain value and then you can change the label on the Y Axis to customize it.
    Miriam
    Field Applications Engineer
    NI Colombia
    CLD

  • Fichiers interactif​s sous labview comment faire?

    Bonjour,
    Dans le cadre d'un projet que j'ai déjà developpé, je souhaiterais créer une base de données sour la forme d'une gestions interactive de fichiers. je m'explique. à chaque lancement du programme, j'entre les caractéristiques de l'examen à venir, il s'agit d'une base de données patients: , identifiant, pointure, age, taille poid. a la fin de l'examen, les données acquises sont enregistrées dans un fichier Exel dont le nom est l'identifiant.
    a chaque interruption de labview, ces données sont perdues.
    D'une part, je souhaiterais pouvoir garder en memoire les dernieres caracteristiques en cas de plantage ou de relance du programme, eventuellement les corriger. mais aussi pouvoir acceder a chaque lancement, à un menu deroulant pour aller chercher un identifiant passé, par exemple pour un patient revenant pour un controle et donc pour eviter de tout reentrer manuellement.
    Cela peut paraitre simple à certain mais je ne sais pas comment m'y prendre. je suis débutant, je le precise, même si j'ai developper un programme complet et fonctionnel.
    Merci à vous tous pour votre aide

    Bonjour Giacomini,
    Tout d'abord, par quel moyen enregistres-tu les données dans le fichier Excel ? ActiveX, Report Generation TK ou simples fonctions d'E/S sur fichiers ?
    Dans tous les cas, si tu perds tes données dans LabVIEW, c'est normal. Tous les espaces mémoire alloués dans LabVIEW sont vidés lors de la sortie. Si tu perds tes données Excel, c'est que le nécessaire pour sauver les fichiers n'a pas été fait.
    Enfin pour ce qui est de récupérer les fichiers des patients a postériori, il est possible de faire quelque chose comme suit :
    Cdt,
    Rik.
    Eric M. - Application Engineering Specialist
    Certified LabVIEW Architect
    Certified LabWindows™/CVI Developer

  • Cannot copy and paste plot from LabVIEW to PPT

    I am plotting a simple Y vs X curve using XY Graph and 2D Error Bar plot.
    When I highlight the two plots, and do CTRL-C, and go to MS PowerPoint and do a CTRL-V, only the XY Graph is pasted.
    My 2D Error Bar plot is NOT pasted, but I do see the label for it. This doesn't make any sense. Anyone knows why?
    Attachments:
    Copy Plot.vi ‏14 KB
    copy plot.jpg ‏171 KB
    paste plot.jpg ‏68 KB

    It's probably because the 2D error plot is an XControl, and not actually a "regular" graph.
    Exporting the image will work, though.

  • 3d surface plotting in Labview (Mac version)

    I would like to be able to do 3 d surface graph on as discussed in Document ID: 27GI5SG4. It appears that this works only in the Windows version of Labview. Is this function going to be ported to the Mac version or is there another way to produce the same effect.

    The 3d graphs for LabVIEW are based on ActiveX technology so they are only good for the Windows environment. I'm not aware of anything in LabVIEW that will produce similar results on the Macintosh. You may look at displaying your data in an intensity graph - it would still give you the ability to display 3 dimensions.

  • Interaction between 2 labview programs running on two distinct computers

    hi
    i have two distinct computers and 2 labview programs running on each computer. in one computer labview program is prepared for data acquisition and saving acquired data. now i want to send these acquired data by cable to another computer to be processed. first i am searching for the best protocol for sending data between these two computers. it is important for me to diliver data near real time approximately in milisecond. and finally is there neccessary to have any special kind of software?
    best regards
    Message Edited by farashi on 01-30-2010 01:36 AM
    Solved!
    Go to Solution.

    Farashi-
    A real-time system doesn't mean an instantaneous system, or a fast system.  It actually means a deterministic system, or a system that you know exactly how long it will take to complete a process.  As was mentioned before, even Gigabit ethernet has latency, and that latency is not deterministic.
    If you want a real-time system over the network, here is a KB that has the software and hardware setup you would need to do.
    http://zone.ni.com/devzone/cda/tut/p/id/4720
    Mostly, to accomplish what you want to do, you won't be able to use windows, because there is non-determinism there.  You will get latency problems when windows decides to use the processor for something other then your application.  For the best real-time systems, look into the Compact FieldPoint of a Compact Rio system that you can deploy your code to.
    Scott Wiest
    Applications Engineering
    National Instruments
    National Instruments
    Applications Engineer

  • How can I change the legend of a plot in an excel chart using LabView?

    Hi,
    My question is:
    I create a chart in Excel with LabView7 using ActiveX. There are 4 plots in one chart. How can I rename the legend (the name) of each plot with LabView?
    Thanks.
    Michi

    Use the SeriesCollection(1).Name function. In LV, wire up the following:
    _Chart into Method SeriesCollection (index = 1 to 4)
    Cascade into Variant to Data (wire type Excel.Series)
    Wire Series into Property Name, Write the string
    Michael Munroe
    www.abcdefirm.com
    Michael Munroe, ABCDEF
    Certified LabVIEW Developer, MCP
    Find and fix bad VI Properties with Property Inspector

  • Make bode plot using Multisim connectivi​ty toolbox

    Hi
    I have bulid low and high pass filter in  Multisim and I would like to make bode plot in LabVIEW to demonstarte the functionality of these filters ( an interactive session for student to let them for example finding threshold voltage using bode plot garph)
    I use Multisim connectivity ver 1 to connect Multisim to LabVIEW.Would you please help me how can I work with AC Sweep function of this toolbox and is it possible to make bode plot using this function.
    Many thanks

    Hi there en99,
    Thanks for your post, I have had a look into this for you and have found the following information. In terms of using the Multisim connectivity kit, here is a good introduction of all the VIs an the roper ways to use the API functions.
    http://zone.ni.com/devzone/cda/tut/p/id/7785
    However, in terms of the Bode plot, this can only be done with the functions available in either the Sound and Vibration Module or, and more relevantly, the Control, Design and Simulation toolkit which are purchased separately. More information regarding this can be found at the following link:
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/203​826
    More information can be found in the linked Discussion Forum that I found asking a very similar question.
    http://forums.ni.com/t5/Signal-Generators/how-to-m​ake-bode-plots-in-Labview-7-1-without-using-Contro​...
    Hope this helps!
    Liam A.
    National Instruments
    Applications Engineer

Maybe you are looking for

  • How to re-download Ps and Lr after hard drive is replaced

    I have license for CC on two computers.   Had it installed on my PC and Mac.   Hard drive for the Mac was replaced.  How do I re-download my products?

  • Using Flex Code in Flash

    Hi everyone, I really hope you can help me with this. Here's my situation... I've developed a flex application that connects to another java application using "BlazeDS". It works great!! The reason why I did this is because I'm developing (along with

  • Closing External Window

    Hi, I want to close an external window (an external running application, such as InfoConnect, or NotePad etc) using a simple java program. Is it possible? What is the command to close an external window? And how do I know which window to close? For e

  • No Response to Questions

    I have written 2 posts and 2 replies in regard to my Compaq Presario Laptop computer. I have had no response to any of them. My patience is being stretched. I tried the customer care centre to no avail. The stupid robot wanted me to book in the compu

  • ISE Not Profiling Non-Domain Devices

    I am having an issue where ISE is not profiling devices that do not belong to our domain. Machines with computer accounts in our domain get profiled with no issue. It does not matter if it is an apple device, windows device, or android device. The us