Programmatically Changing Waveform Graph and the number of plots

I have a waveform graph that needs to display a variable number of plots based on the number of inputs.  Is there a way to programmatically adjust the number of plots displayed on the waveform graph?

You need to use the Active Plot input before the Plot Name(s).  Property nodes are read from top to bottom so you can alternate several pairs of ActPlot,Plot.Name;ActPlot,Plot.Name, etc.  Then wire 0,1,2,etc to the ActPlot and your chosen name to the Plot.Name right under it.  Or, use for loops and index the ActPlot input.  See the pic.
Using LabVIEW: 7.1.1, 8.5.1 & 2013
Attachments:
plot names.JPG ‏37 KB

Similar Messages

  • How do I change the number of plot areas in a Mixed Signal Graph

    How do I *programatically* change the number of plot areas in a Mixed  Signal Graph?  I recognize that the developer can choose to add or  remove a plot area during edit mode but I want to select between 2 or 3 visible plot areas and scale the plot areas appropriately.  Is there a property that tells me how many plot areas (or yscales) there are?  I also need a property that I can write to as to set the number of plot areas available.
    Aside from manually making too many plot areas and then hiding the unneeded plot areas how can I do this?
    Jonathan

    Hello,
    I don't think that is possible - I searched the property and invoke nodes but didn't find something to do that.  This would make a great product suggestion though, which you can submit (it goes directly to R&D) by clicking the word feedback in the bottom left corner of the Contact NI page linked below:
    Contact NI:
    http://sine.ni.com/apps/utf8/nicc.call_me
    Best Regards,
    JLS

  • How do I determine the number of plots on a waveform graph?

    How do I determine the number of plots that have previously been plotted on a waveform graph? I am loading dynamic data from a file. If I convert to an array and size it and there is only one plot, I get the number of data points and I don't know how to tell the difference.

    Usually by reading the graph terminal or a local of it and determining the first or second dimension (not sure which at the moment) size of the resulting 2 dimensional array. If it is a 1 dimensional array you have either only one plot or an array of clusters each representing one plot. But as these data types are determined by compile time, there shouldn't be a problem with this causing ambiguity.
    Rolf K
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • When I receive and answer e-mail, the correspondence is usually "nested" with the original message, and the number of replies, etc. are indicated with a number next to the original message.  How can I change the mail settings so that every reply is listed

    When I receive and answer e-mail, the correspondence is usually "nested" "behind"  the original message, and the number of replies, etc. are indicated with a number next to the original message in the inbox.  How can I change the mail settings so that every reply is listed individually in the inbox instead of having them "stacked" behind the original message.  I'm afraid I might accidentially overlook messages the way they are handled now.

    Somebody here will correct me if I'm wrong, but what you have to do is go into Settings, Mail/Contacts/Calendars and under Mail, turn off "Organize by Thread".  I think that will make each message show individually.

  • Code needed for "putting waveform graphs and 8bit images in the same window by Windraw"

    Hi Micheal, please sent the code example for my question:"putting waveform graphs and 8bit images in the same window by Windraw" , thanks.

    You can start from here ...
    Hope that helps,
    Michael
    Attachments:
    tester.vi ‏97 KB

  • Putting waveform graphs and 8bit images in the same window by Windraw

    How to put waveform graphs and 8bit images in the same window by Windraw VI?

    Use "Invoke Method: Get Image" to get a pic of your waveform graph/chart. Then combine this pic with your 8bit image using the IMAQ tools (IMAQ ImagetoImage). If you need an example send an e-mail again ...
    Michael

  • How do you change the Number of Plots Shown property of a Waveform Chart at runtime?

    Is there any possible way to change the Number of Plots Shown property
    of a Waveform Chart at runtime?  Thy Dynamic Stackplots example is
    way to limited.....

    There's a couple of ways to do this -
    1. Manage the data going into the chart to only be what you want displayed
    2. Use property nodes.  Specifically, the Plot.Visible node. (LV 7 example attached).
    2006 Ultimate LabVIEW G-eek.
    Attachments:
    MultiPlots.vi ‏48 KB

  • How can I make a waveform graph store the entire wave, not just the current time period and how can I save the actual graph?

    I am taking temp readings with a 4 channel DAQ, sending them to a waveform graph and exporting the data to excel, how do I manipulate the graph to take a continuous reading as opposed to losing the previous GUI and how can I save the entire graph?
    Using LabVIEW 2011 operating on Windows 7 professional. 

    That is the nature of the chart -- everything not in the history is lost (it is a FIFO buffer of length=1024 samples by default).
    The scroll bar is probably grayed out because you're show all of the data.
    Attached is a program that will add 5 random points to a graph and prompt you for a file location where to save a JPG snapshot of the graph.  It's not particularly good programming style, but it has all of the elements/concepts you're after. 
    Attachments:
    graph.vi ‏14 KB

  • How to chang the number of plots in the plot legend during run time?

    Hi, I am using waveform graph. At run time only i will come to know, how many plots should be plotted in the waveform graph. Based on the number of plots i have to change the plot legend. Is there any method to do the same?

    Maybe something like this?
    The inputs on the left are (from the top)
    your array of data you want to plot (or anything that contains the number of inputs you have)
    next one is an array of colorschemes (maybe you dont need this)
    and the third is an array of booleans that are true if that "channel" should be plotted and false otherwise
    /Anders
    Message Edited by Tohatsu on 01-08-2008 08:56 AM
    Attachments:
    graph.JPG ‏10 KB

  • How does waveform graph downsamples the data before it is plotted

    Hi,
    I'm interested in how does waveform graph downsamples the data before it is plotted and what algorithm is used for this purpose? My goal is to plot 30 plots that have 1M samples each and I would like to downsample them before plotting onto a graph. I tried several VIs/algorithms for resampling and none of them gave the same result as seen by waveform graph (when all the samples are plotted).
    For example, if only one sample of 1M samples is 1 and all others are 0, then after downsampling to 1k samples the sample is not visible on the graph anymore. However, if I plot all 1M samples directly onto the graph, then also this 1 sample is visible (see attached example). 
    Solved!
    Go to Solution.
    Attachments:
    WFGDownsampling.vi ‏19 KB

    Hi andrej,
    LabVIEW draws plots in the way that draw every pixel affected by signal. So for example if there is zero-valued 1M samples and even one equals to 1, you will see the peak. That is the reason why you do not get the exactly same behavior comparing to interpolating. But if you set FIR as interpolation mode in Resample Waveforms (single shot).vi, result is really similar, but of course amplitude is 1000-times smaller than original one (because there is dt set to 1000). Keep also in mind that in Graph 2, there is different Y-scale and it should be considered as noise, not relevant data, I would expect 1000-times smaller amplitude as in Graph 3, it is many more times smaller.
    I would also like to say something about downsampling (decimating) the data. If you have 1M samples, you can see the peak even that there is only one value. But bigger problem is that with this graph resolution (I guess that is not more than 1000px), it is problem to find position of this peak. It means that still the zoom is needed to know where the peak is. Usually, when there is that big set of data, you are extracting different data (statistical information, peaks in FFT, etc.) not just visual data in graph.
    Mariaaa:
    I do not understand your question, can you please describe more your needs? You mentioned saving the data into a file, you can use Write to Measurement File express VI or see Write to Text File.vi in Example Finder and try to appropriately modify it.
    Best regards,
    Martin

  • Just uploaded iso7 , . . .hate it!  Can you change background colours?  How do you add a new item/activity to the schedule? In notes the font has changed, can I change it back and the link colour is now yellow instead of blue, can I change it?  Thanks

    Just uploaded iso7 , . . .hate it!  Can you change background colours?  How do you add a new item/activity to the schedule? In notes the font has changed, can I change it back and the link colour is now yellow instead of blue, can I change it?  Yellow on white is harder to read. Thanks

    Another question. How do you bookmark something.  It was so easy before, why did they change it?  Can I uninstall it?

  • I have an I phone 3g and I downloaded the newest software and I can't get any music to play.  I can't change my playlists and the songs I have on the phone just get skipped over.  What can I do to correct this?

    I have an I phone 3g and I downloaded the newest software and I can't get any music to play.  I can't change my playlists and the songs I have on the phone just get skipped over.  What can I do to correct this?

    it recognizes the iPOD but I can't get any of the new songs to import to the iPOD
    are you getting an error message, Odessa? if so, what does it say? include error message numbers if you're getting any.
    if you're not getting an error message, describe what happens when you try to transfer songs to the ipod as best you can.

  • ICal failing to run applescripts: The 'Open' button does not change to 'Run', and the script file is opened but not executed on alert.

    iCal failing to run applescripts: The 'Open' button does not change to 'Run', and the script file is opened but not executed.

    Calendar (not called iCal anymore) does not include that capability any longer, apparently.  What you have to do now is go to Automator and create a Calendar Alert action.  You can add a Run AppleScript object to the action and paste in your script there, then when you save it, it will become available as a choice in the alert menu in Calendar.

  • Is there a connection between the performance and the number of photos?

    Is there a connection between the performance of LR 4 (LR 5) and the number of photos in the catalog? Will it slow down LR with a directory of more than 40,000 images (Win7, 4 Gb RAM)?

    I use lots of smart and dumb collections, lots of keywords too, also on Win7/64 though with 12Gb of Ram.
    Have you read through Optimizing performance, especially running a File > Optimize. Also Performance hints is more handy for troubleshooting.
    John

  • Today (6/1) the "My Usage" shows .7GB used (about 1/4 of my 3GB shaded in the bar-graph), and the solid-green in the bar graph representing only 1 day in the billing cycle.

    Today (6/1) the "My Usage" shows .7GB used (about 1/4 of my 3GB shaded in the bar-graph), and the solid-green in the bar graph representing only 1 day in the billing cycle. I'm trying to make sense of it.  My may statement shows 1.7GB - I think that's the period just ended.... and I can't imagine I've used 1/4 of my data already today before noon?  I'm guessing the 'My Usage" screens are not quite coordinated with the billing cycle - anyone else have ideas?

    ... guess the reply via email method doesn't quite work - I'll re-post here via website
    jejm1975
    Thanks for your message, but I don't believe it applies to the situation I described.
    What is described in my post is information from the Verizon website - My Verizon / View Usage. 
    It is not from my phone (which is not a Galaxy,btw)

Maybe you are looking for

  • Query of query or database

    I'm creating an image gallery. My database has about 1000 records with 10 column. Now I'm realising there's a lot of trips to the database. Would it be better that when I init my app I store the "get all" query and query that from that point? Or is t

  • TODATE and AGO function errors in OBIEE

    I have aggregated time dimension. The time calendar comprises of the following structure with a physical table for each level in the Physical Layer - Year -> Half Year -> Quarter -> Month -> Week -> Day These tables form the calendar. The RPD works f

  • MS SQL Server jdbc help

    I am trying to connect to a MS SQL Server 2000 db from my linux Mandrake10 box using SQuirreL. I have downloaded a tar file from MS's website, which I have untarred to produce 3 jar files: msbase.jar, mssqlserver.jar and msutil.jar. According to the

  • ICal won't accept Google Calendar password

    can't sync with my Google calendars anymore. I have deleted the calendar accounts on my Mac. Set up the 2-stpe passwords on Google. Tried to create new accounts in iCal with my email address (is not a gmail account) and app specific password: - used

  • How do I reinstall PhotoBooth on a 10.8.1?

    After migrating from my old HD to a new iMac with 10.8 (now 10.8.1) my PhotoBooth disappeared. It's still on the old HD, but when I copy it to the new iMac it tells me it won't work with my version of OS X. And in Small letters "You have PhotoBooth 4