Accessing properties of multiple graphs

Hello, I have a VI with over 100 different graphs.  And many times, I want to access a property node for each one, and make the same changes.  How would I set up a "For" loop that will cycle through each graph?  I see that one is named xy graph 1, xy graph 2, etc.  So this seems like I could plug that number in from the loop counter, but I don't see how to do it.
Thanks,
Pat

pwalsh wrote:
Hey, thanks, I'll look into the sub VI approach.  That's something I've not done before. 
Do you know how to generate an array of references to all the front panel objects?
It's not exactly clear who you're responding to, but the VI I posted will (in theory anyway. It was written quickly and may have bugs) generate an array of references to all the controls on the FP (not including tabs and clusters). If you want to use it as a subVI (which is a very good idea), you need to use a Panel refnum control instead of the property node (just right click and create a control), set the connector pane and an icon and you're done.
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
Try to take over the world!

Similar Messages

  • Accessing properties of loaded WindowedApplication from the Main WindowedApplication.

    Hi Friends.
    I am trying a project and according to my plans I am trying
    for some thing but don't know is it possible..
    I am compiling multiple air applications and One of them will
    be the main application. and another will not be actually *.air but
    the compiled swf file.
    In my final Air package I am going to package the Main
    application withe the other swf file too.
    So the main application will load the second swf file on
    requirement.
    Now my issue is i am able to access properties/functions of
    main application from the loaded WindowedApplication but I am not
    getting the idea how to access the loaded WindowedApplication
    properties/function from the MAIN application..
    This i am doing Because I can later Modify only the other
    application with out EFFECTING the MAIN.. like software updates..
    But getting the issue... Local Connection is Success. but
    still I want to establish a direct connection between the two
    WindowedApplications so to avoid lots of code what we write for
    LocaConnection objects.
    Please Give me any idea.

    I'm not sure how successful you will be with this in the long
    run. The WindowedApplication component is meant to be used as a
    singleton.
    If your goal is simply to modularize your code, you might be
    better off creating components that your main application loads,
    rather than trying to create multiple separate AIR applications and
    then combining them.

  • Update multiple graphs at once

    Hi, I have a VI containing multiple graphs (on a page of a tab control, to be precise) like these:
    Now, I'd like when the VI starts to initialize all of these graphs in the same manner:
    Basically, removing all the plot names and making them all not visible.
    Later, as my VI executes, I want to populate each graph with its relevant data and decide programatially on the number of plots in each graph, on the names of the plots etc.
    Now, it is OK to do it like above when one has a few graphs, but I am going to have some 16 of them and it is a real pain to add the wires as in the above screenshot every time I decide to add a graph to the front panel or if I decide some additional initialization is needed.
    Can this be done in some sort of a loop? I visialize some sort of loop going thru all the graphs belonging to some LabView object and somehow setting all those properties, while retaining the ability to reference each individual graph later in the program (by it name).
    Thanks in advance for your help.
    Solved!
    Go to Solution.

    Create an array of references for each of those graphs.  Unlink the property notes from the graph and feed it the array of references from outside the loop.  Now the loop will autoindex over the array and setting the properties on each of those graph references.

  • Can I access music from multiple accounts on one cpu?

    Can I access music from multiple accounts on one cpu

    Here's one option: http://support.apple.com/kb/PH12366
    But frankly you'd be better off creating unique user accounts on the computer and having seperate iTunes libraries for each user as described here: http://support.apple.com/kb/ht1495

  • I can no longer access "properties"

    I have an HP LaserJet 1536dnfMFP.  I'm running Windows 8.1.
    I can no longer access "properties" from the print screen.  And, I've tried right-clicking on the printer icon in the control panels.  Either nothing happens or the screen flashes and nothing happens.  I can no longer open properties.
    I've tried accessing properties on my other installed printer, it works fine.
    I've uninstalled and re-installed the software.  I've updated the drivers.  I still cannot access Properties.  The one reason I bought this printer was for the duplex printing option, and now I cannot access it.  Any suggestions?

    Hello njs216,
    Welcome to the HP Forums!
    I understand you're unable to access properties using the Laserjet 1536dnf MFP. I will do my best to assist you! First, I need to find out what type of programs you're printing from that you notice this issue?
    I would like you to access you go into Devices and Printers on your computer. Right-click on the Laserjet 1536dnf printer icon. Click Properties and click the Device Settings tab. Please see if you have an option to make sure the duplex is installed by following this HP document on  Configure Auto-Duplex, 2-sided Printing On Both Sides. 
    You can also select to print double sided in the Device settings tab, then try to print a document. Also, try running a System File Checker by following this HP document here. This will scan for corruptions in Windows system files and restore corrupted files.
    Please post your results, as I will be looking forward to hearing from you. Have a great day! 
    I worked on behalf of HP.

  • How can I access properties in my photo files. I uused to be able to tag my pictures in photo viewer but now it either does not come up when clicked on or it is greyed out or blocked out.

    Why can't I access properties nor add to the tags in picture properties when in photo viewer or at all?

    Not sure why you didn't get it when the other guys did, it seems you want to be sure to point out how stupid my question is instead of trying to make sense of it. I'll reply to clear things up also in hopes you might be a bit more corteous when replying to something you are obviously missing, as two separate individuals have already posted clear answers.
    -Why would you preview in the store if the item is in your library?
    Because there is no preview option in the library, thus my question
    -Find the album, select the first song then press Play.
    As I said in my question, I want a preview from the middle. More often than not it will take time to get to the point where the song actually starts/drops
    -When you decide you like it or not, rate it/add to a playlist then skip to the next song.
    -Preview All is the same as skipping thru all songs on an album.
    No, Preview All is automatically scanning through each song one by one playing an excerpt, it completely different.
    -Something comes up? Run to your Mac?
    I can understand your confusion on this bit - when a song plays that I like, I can return my focus to my mac and rate or add that particular song. You must understand that people listen to music while doing other things, and given the MBP has speakers, it is safe to say I may not be tethered to it with headphones while listening.

  • "accessibility.properties" file does not work in J2SDK1.4.2

    Hi,
    What is the file that is equivalent to "accessibility.properties" in J2SDK1.4.2 . I tried adding "assistive_technologies=EventTest" to "accessibility.properties" file by creating a new file. but the JRE is not loading this class by default. But the same class is loaded suucessfully when i use "Java -D" parameter in command prompt. Can someone please tell me a way so that my class will be loaded always when ever a Java Application is loaded. or is there any other way to achieve this ?
    Thanks and Regards,
    Srinivas.

    ArrayList ar = new ArrayList();
    FileReader fr = new FileReader("studinfo.csv");
         BufferedReader br = new BufferedReader(r);
         String line = "";
         while((line = br.readLine()) != null)
              ar.add(new ar.(line));
         Collections.sort(ar);
    my studinfo file contains fname, lastname,e-mail,age,state.
    i need to sort it through fnaME
    i also need to sort it by state wise.
    can u plz help me.

  • PLEASE HELP. How do you access properties files in WEB-INF  and classes directory

    We have a war file that needs to access properties files that are in the WEB-INF directory
    of the war file. We also need to load one of the properties files from the classpath.
    However, when we deploy the application ( an ear which inlcludes an ejbjar and a
    war and the libraries both the ejbjar (with a manifest setting the classpath ) and
    war need ) the properties don't get extracted.
    In some of our servlets we are trying to access those files with the path "WEB-INF/foo.properties"
    and we get a FileNotFoundException. Then we check and see that NO properties files
    have been extracted into their appropriate places ( not even those we throw into
    the WEB-INF/classes directory ).
    PLEASE HELP,
    Christian Hargraves

    The file doesn't have to be extracted from the war. For example, you can place
    test.properties into your app WEB-INF and write a simple JSP to see how it
    works:
    <%
    InputStream in = application.getResourceAsStream("/WEB-INF/test.properties");
    %>
    It will return you a zip inputstream if you deployed your application as a .war.
    Christian Hargraves <[email protected]> wrote:
    I try this, but I get a NullPointerException. The file never actually gets extracted
    from the war. Under tomcat and resin this works great ( that's why I am having all
    of the trouble i am having ), but there are absolutely no properties files in the
    extracted directories for WebLogic deploys. only:
    WEB-INF/some_tmp_dir/WEB-INF/lib
    and then some dynamically generated jor file with all of the classes that would normally
    go in WEB-INF/classes ( all except the properties, of course, which are no where
    to be found. ).
    There has to be some kind of setting I am missing. Please don't make me seperate
    these properties files from the war/ear and then put the path to these properties
    files in the CLASSPATH, changing one step to three steps to deploy!!
    I have found a documented bug where you can't even put the properties files in a
    jar file and that bug will never be fixed for WebLogic 6.1.
    "Dimitri I. Rakitine" <[email protected]> wrote:
    To access files in WEB-INF you can use ServletContext.getResourceXXX("/WEB-INF/filename")
    Christian Hargraves <[email protected]> wrote:
    We have a war file that needs to access properties files that are in theWEB-INF directory
    of the war file. We also need to load one of the properties files fromthe classpath.
    However, when we deploy the application ( an ear which inlcludes an ejbjarand a
    war and the libraries both the ejbjar (with a manifest setting the classpath) and
    war need ) the properties don't get extracted.
    In some of our servlets we are trying to access those files with the path"WEB-INF/foo.properties"
    and we get a FileNotFoundException. Then we check and see that NO propertiesfiles
    have been extracted into their appropriate places ( not even those wethrow into
    the WEB-INF/classes directory ).
    PLEASE HELP,
    Christian Hargraves--
    Dimitri
    Dimitri

  • How can i access properties from APP server through JNLP with ot using JAR

    Hello
    i want to retrive a Properties file from WL-7 app installed location like :bea/home/externalized.properties
    now i want to use this properties file throgh out the application. if any property is changed in "externalized.properties" that could be reflect dynamically in my code.
    So my requirement is :
    The current implementaion is using the JNLP down load the required code which contains the properties in .jar files, i have around 500 properties which are embedded in differnet .jar files with differnt property name. So i want to make all 500 properties to get out side from the jar files. and keep that consolidated properties in a single location and access it dynamically after deployed my ear file in wl7 app server.
    my application is implemented in SWING and EJB now i want to create an ear file which can be deployed any instance or cluster of WL7 app server.
    My Q:
    1. How can i access properties file through JNLP? (not a single property, want to access all properties in externalized.properties)
    2. is thare any known issue with SUN to load properties file through JNLP?
    your help is highly appreciated.
    -Siva

    Hey Thanks for your response,
    My question is Still not answered,
    see infact i have different type of environments to launch my application.
    infact my weblogic is deployed at remote location whihch is installed in linux,
    code is exist in our local system.
    At the time of code build for my local system i'm not able to get the properties from remote WL server,
    so at the time of code compilation and making the EAR file i'm not having this externalized properties file in newly generated EAR file.
    so once i copied my EAR in to WL7 cluster and i'm running the application using startAdminserver.sh, in this script file i'm defining the
    java -DexternalizedProperty=$WL_HOME/externalizedProperty.properties so now i'm able to get this properties to 'externalizedProperty"
    But when i download my application required jars, at this time i does not having the property file in my downloaded JAR files.
    So i want to access the remote properties file in suh sistuation.
    now i'm runnig the application at my local side to launch and Server side as well.
    So i have 2 runtimes 1 is my local and another is my server. In this case using "-DexternalizedProperty" i'm able to get this in server side,
    once control is come to local system it is not able to find this "-DexternalizedProperty" [externalizedProperty].
    Hope now u get my scenario..
    Thanks,

  • Plotting multiple graphs on one waveform chart with dynamic data types

    I'm trying to put multiple graphs on one waveform chart and having data agreement errors. I'm wondering if it has anything to do with the fact that dynamic data is being used (I've had no problems with other datatypes in the past). Does anyone know how to correct this problem? I've attached the following .VI. There will be plenty of .VIs on the bottom that won't load, but they are not consequential for this problem.
    Thanks!
    Brian
    Solved!
    Go to Solution.
    Attachments:
    Stiffness Control V1.vi ‏119 KB

    you could use stacked plots by right clicking on the chart and clicking on the stacked plots and than on the front panek you can put a bundle function on the FP and hook your signals up
    Harold Timmis
    [email protected]
    Orlando,Fl
    *Kudos always welcome
    Attachments:
    multiplotwaveform.JPG ‏138 KB

  • Is there a way to link the x-axis of multiple graphs in a report? Using DIAdem 12.0

    Is there a way to link the x-axis of multiple graphs in a report?  Using DIAdem 12.0

    What  I am after is this...  If I have multiple 2D axis systems in a report with each y axis showing different channels of a particular data file and with each x axis being the time stamp of that data file, rather than changing the x axis values of each 2D axis system to zoom in on a time slice, I'd like to change only one and have all the others match.  So I suppose yes, I want each of the multiple 2D axis systems to have the same x axis, but I want unique 2D axis systems, not one system with multiple y axis or "n systems".  I'm hesitant to post a sample report as this is a public forum.  Thank you.

  • How to create multiple graphs ( more than 10 ) in report builder 10g

    Hi All ,
    I have a requirement to create approx 10 graph . I have created 4 graphs in paper layout 1st section ,while moving to 2nd section in paper layout for plotting the next graph ,its giving an error "REP-1212 : Object 'M_1' is not fully enclosed by its enclosing object Body " .
    Please help me ,if you have any idea to create multiple graph .
    Thanks
    B. Mohapatra

    This is a layout error message. I don't think it has anything to do with multiple graphs.
    Your object M_1 just gets too big:
    Cause: An object is not fully enclosed by the page. That is, the object extends beyond the page boundary.
    Action: Move or resize the object so that it does not extend outside the page boundary. Alternatively, increase the page size in the Report property palette.

  • Can I have multiple graphs from tables of multiple reports?

    Hi!
    I want to design a custom dashboard that contains multiple graphs but these graphs are coming from tables of multiple reports. It is like displaying multiple graphs that are coming from different tables. Is this possible? How?
    Thanks.

    Hi
    *Play all resp one chapter at a time*
    Play All Button
    1. There are NO - Play All - button in any version of iDVD
    2. It can be faked in several ways
    • Easies and most fault proof way is to make a doublet movie containing All and with
    Chapters set to match. It will take up x2 space but is easy to understand and produce.
    • It's said that one can put all movies into a Photo/SlideShow and this will also
    give the function of a Play All button - Never tested though.
    Mike Evangelist1
    You might be able to get close to what you want by using a slideshow in iDVD. (It's not widely known, but you can put videos in a slideshow.) If you set the slide duration to manual, playback will pause after each movie/slide, and you can continue with the 'next' button.
    3. Using another program to do this eg. Roxio Toast™ where there ia a Play All button option.
    Yours Bengt W

  • Can we get multiple graphs dynamically in oracle apex?

    Can we get multiple graphs dynamically in a page in oracle apex?

    Vaishalini wrote:
    Thank You riedelme and Howard.
    Below is the example, I need to dynamically displays graphs with content (somewhat) dynamically selected for client from the select list.
    Example :-
    Lets say client A contains 5 contracts as A1, A2, A3, A4, A5.
    And Client B contains 3 contracts as B1 ,B2, B3.
    created a graph for contracts on sum(unique_submissions) and sum(total_submissions).
    Requirement is :-
    When I select Client A , then the page should show 5 individual graphs based on client A contracts in same page(as client A has 5 contracts).
    Similarly when select client B , the same page should show 3 graphs (as client B has 3 contracts).
    Please let me know if you understood the example, what I was trying to explain to you (I hope)and let me know if you need further more information.
    Thanks.It sounds like you need to use Howard's idea of conditional region display. When you select client A display client A graphs, and when you select client B display those graphs. Read about conditional region display in the documentation and post back here if you have more questions

  • Is it possible to select specific properties of multiple layers at once?

    I know that you can alter, opacity for example, of multiple layers at the same time by selecting the opacity property of each layer. But what if there are so many layers that you want to select a single property of many layers at once?
    For example, I want to edit the value of the "mask expansion" property of a lot of layers, but don't want to go through and select "mask expansion" on every single layer. Surely there must be a way to select specific properties across multiple layers?

    No, unfortunately there isn't. Such stuff is based on the property control actually being visible and being equally visibly selected. Unless you linked it with expressions, it won't sync without the properties being revealed and selected.
    Mylenium

Maybe you are looking for