Can I detect a plot name change event in a plot legend?

I'd like to update a configuration file if a user changes the name of a plot in the plot legend.
The events I see for plots are:  value change, autoscale range change, plot attribute change, and scale range change.
Plot attribute change does not seem to include anything that looks like plot name, and the others obviously don't contain that info either.
Is there any way to grab this event?
Thanks.
Solved!
Go to Solution.

Jordan,
First off, remember that there is no single way to code anything, so I can offer one possible solution for you, but it is definitely not the only one.
LabVIEW does not have a property to check if the name has been changed through an event structure, but you can create your own events that LabVIEW can read. I found this really good document that might help you. Read through this and mess around with it and see if it gets you anywhere: Creating User Events
Once you get it to trigger the proper case, then its just getting that case to update the file you would like.
Another possible workaround, although not ideal, is to create a string control and have that be on top of the plot name. You would be able to then produce an event from that string changing value.
Hope this helps.
Douglas C.
Applications Engineer
National Instruments

Similar Messages

  • How can I detect the PC show down event?

    I want to save a file to a certain destination once the PC shut down event happened.
    And the save process must be proceeded prior to the PC shutdown.
    How can I detect the PC shut down event?

    Hi there
    Try the "Application Instance Close?" Event.
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

  • Can't access data after name change of account in Time Capsule

    I started using Time Capsule (TC). After transferring data to 3 different accounts. I noticed that the process of entering/ connecting to your account takes to much time. You have to connect every time to the account on TC. Because of this I changed the account names in the Airport Utility to shortened two lettre names. Unfortunately with great negative impact!
    I cannot access any data anymore. The new accounts are empty although I can see that there is still data on my TC because the available disk has not changed.Changing accountnames looks like you are creating new ones and blocking the access to the old ones.
    1) How can I retrieve the data?
    2) Can you create a 'super account' which can access all data of all accounts?
    Jeroen
    The Netherlands

    How do you reset?
    Hi..
    What I wrote is my experience.. there is other opinions out there.
    See https://discussions.apple.com/docs/DOC-2280
    What I experienced was that applying user profiles over existing files resulted in nothing being visible.
    But I am eggs spurt by self appointment only.. test everything.. hold to what is right.. reject the nonsense I will on occasion (unwittingly) spout.
    To answer your questions.. press the reset button for 1sec will reset all user profiles to default. A longer press and it will get rid of them completely.. You will go back to default settings.
    http://support.apple.com/kb/HT3728
    The no user profile option is device password.. or disk password.. when you press reset it will return to device password.. that is the default.
    Try what the reference above suggests.. but in my experience you cannot apply user profiles after copying material and still access it.

  • Can't update apps after name change.

    I just recently changed my iTunes name. I made sure I logged in with it on my computer and did so with no problem. Now I also updated that info on my iPhone 4. I can buy apps with no problem whatsoever, however when I try to update my apps from the app store via iPhone, it keeps asking for the password to my old username and not my new one. Even of I did enter the password for it, it says that it is incorrect. How can I get my phone to recognize my new username for updates. Remember, there is no problem when buying the apps. It asks for the pass to the correct name.

    You will have to call 1-800-MY-APPLE for a resolution. Apple will be able to consolidate the two accounts, but it can only be done over the phone. It's under the [FAQ|http://support.apple.com/kb/HE37] section for Apple ID's.

  • Waveform Plot Name in Legend Reverts to default even if I change it with a Property node

    I have a waveform chart where I am trying to name the plots different titles, so that they appear in the plot legend with a meaningful name, rather than 'Plot 1', 'Plot 2', etc.
    However, no matter what I do, if I try to change plot 0's name to anything, the plot name changes for a split second, and then reverts to the name that it originally had.  I can succesfully control the names of the other plots, but not plot zero.  I have enclosed the VI with the graph control, which I cut and pasted from another VI. 
    It seems that the properties of this control (though it is not  a custom control) are set, and that these settings take precedence over the Propery Node Instructions.  Is this a bug, or am I missing something.
    Try it for yourself.
    Wes
    Wes Ramm, Cyth UK
    CLD, CPLI
    Attachments:
    Untitled 1.vi ‏14 KB

    Ignore attributes help says;
    If FALSE (default), the plot names in the plot legend automatically adapt to the plot names in the dynamic or waveform data attributes. If TRUE, the plot names do not adapt to the dynamic or waveform data attributes. Change this property to TRUE if you want to change the plot names. This property applies only to graphs and charts with dynamic or waveform data.
    Trying to help,
    Ben
    Message Edited by Ben on 11-28-2006 07:46 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    untitled.JPG ‏86 KB

  • Update plot name in the cursor legend

    Hi,
    I have a XY graph with its cursor legend set as visible.  The plot name changes based on the string that I sent to its property node, but I don't know how to update its cursor plot name?  Cursor is snapped to the plot, but the cursor plot name did not update.  Could anyone please help me?
    Thank you
    Solved!
    Go to Solution.
    Attachments:
    cursor.PNG ‏31 KB

    Here's a hint:  I found that if I toggle the Cursor.Cursor Mode from 0 to 1, then the cursor name changes. 
    "There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal

  • Can I use a Change Event with a NI 9403 module?

    Hi, I would want to know if the NI 9403 supports a Change Detection Timing configuration to generate events for programming something like this thread and not polling the Digital Inputs: http://forums.ni.com/t5/LabVIEW/Can-I-use-an-Event-Structure-to-process-an-input-signal-from-a/td-p/...
    I have read this page: http://www.ni.com/white-paper/4102/en/, but I saw that date is of 2012 so I was thinking if is there any updated list or if someone has used the NI 9403 of this way?
    Thank you for your time.

    Hi AYanez,
    You might want to look at this link
    http://zone.ni.com/reference/en-XX/help/370471W-01/cdaqmxsupp/ni9403/
    In DAQmx Physical Channel Properties section, there is change detection supported list there.
    Hope this help
    Best regards,
    TuiTui

  • Cannot Change Name of Events in IPhoto 08

    Recently, IPhotos will no longer allow me to change the names of events. When I click on the "New Event" title I get a dialog box - but I am unable to type anything into the box.
    Any thoughts on this??
    Thanks
    Dennis

    Dennis:
    Welcome to the Apple Discussions. Open Font Book and check to make sure you have Helvetica Neue font installed. If it's there, deactivate and reactivate it. Launch iPhoto and try again. iPhoto uses Helvetica Neue for event titles and other text.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • I have not been able to open up Lightroom on my computer for over a year now. Whenever I double click on it, this comes up - can anyone help? Problem signature:   Problem Event Name:APPCRASH   Application Name:lightroom.exe   Application Version:3.4.1.10

    I have not been able to open up Lightroom on my computer for over a year now. Whenever I double click on it, this comes up - can anyone help? Problem signature:   Problem Event Name:APPCRASH   Application Name:lightroom.exe   Application Version:3.4.1.10

    First thing to try is the latest version of Lightroom (currently 5.6). If it don't crash, then problem solved - upgrade.
    If Lr5 won't run on your machine, then Lr4 instead.
    If both Lr5 and Lr4 crash on your machine, then at least you know it's a not a Lightroom version problem but something wonked in your system.
    If you can't figure out how to resolve the crash on the system you have, then it's time for a new system (or try another converter/editor app).
    PS - A few things to try:
    * After re-installing new version, if that doesn't fix it, then get rid of all Lightroom-related data files (rename them so they can be restored), in case problem is in Lr data file.
    * Remove all non-essential hardware in case problem is hardware/driver.
    * Startup up machine with minimal software services.
    * If still no go, consider updating driver software, including mainboard drivers and/or bios firmware if need be.
    * Of course run all the system hardware and software diagnostics you can - problem could be failing disk or ram..
    * Check system event logs for any clues.
    If you don't know how to do some of these things - ask.
    Do not say "you've tried everything" unless you want a lecture - there is most definitely something you haven't tried. It's like when you can't find your car keys - you haven't looked everywhere -  there is somewhere you haven't looked!
    PS - Has Lightroom EVER worked on your machine? what's changed since then..
    Good luck,
    Rob

  • IPhoto can't find original photos after volume name change

    I had to reformat my drive and do a fresh install of Mountain Lion. I was pleased that the Migration Assistant imported all the user accounts, apps, etc. from a Time Machine backup. Never could have done *that* with Windows...
    However, in iPhoto, I *do not* copy pictures from my Pictures folder into the iPhoto library and iPhoto can't find them. I expect that this is because I changed the volume name when I reformatted the drive, which is embedded somewhere in the iPhoto package in my Pictures folder.
    Does anyone know which iPhoto files I can edit or batch edit to change references from the old volume name to the new one? Is this information stored in text or XML files that I can edit or is it embedded in binary files? I thought I might be able to reimport the photos from the current volume and iPhoto would sort out the duplicates (not a great option if I get prompted for each one though...) but I wasn't sure if that would preserver events, faces, etc.
    When I try to rebuild the iPhoto library, I get a dialog indicating each file cannot be found on the volume. While it provides an option to browse for the location, this isn't practical due to the 1000's of photos and movies on the drive.
    Any help would be appreciated. Thanks in advance!

    As OT says, the primary reason not to run a Referenced Library, and, most especially, not one where you have the Library on one Volume and the photos on another.
    You're going to have this problem again and again any time you make a change to your hardware set up - including upgrading your machine and so on.
    Going forward: Do you have Aperture? This has a command to Locate Referenced Masters which should help. Other than that, how are you at hacking SQL databases? That's what this guy did:
    https://discussions.apple.com/thread/3216539?tstart=30
    back up first...
    Regards
    TD

  • Can i change event alert in the calender to one month before

    can i change event alert in the calender to one month before

    Vamsi,
    <b><i>Then Dispaly name Has been Changed But In My Postings my old name is Remains Same</i></b>
    Where u are seeing ur old name in ur thread? Please make sure only the display will change not the contents which u wrote in ur questions/replies. Like Best regards Vamsi, this one u are referring to? If yes then it won't changes.
    Best regards,
    raj.

  • How can I set a property when an event happens? (selection changed on datagrid)

    I have a datagrid, I would like to change the backgrund of the datagrid when the selection changed event is fired.
    I can not use data trigger, because is in the case that I expected a value, but in this case is when change, to any value.
    An option is to use an event trigger, but all the examples that I have found is to use with an actions, and I just want to set a property.
    How could I do that?
    I am using MVVM pattern, so I would like to avoid the use in code-behind.
    Thank so much.

    You could use an event trigger and implement your own TriggerAction<T> that sets the background property. There is an example of how to create a custom TriggerAction available here:
    http://stackoverflow.com/questions/942548/setting-a-property-with-an-eventtrigger.
    The following example sets the Background property of the DataGrid to a red SolidColorBrush when the SelectionChanged event is fired. It should give you the idea:
    <DataGrid x:Name="dgrid"
    xmlns:local="clr-namespace:WpfApplication22">
    <i:Interaction.Triggers>
    <i:EventTrigger EventName="SelectionChanged">
    <local:SetPropertyAction PropertyName="Background" TargetObject="{Binding ElementName=dgrid}">
    <local:SetPropertyAction.PropertyValue>
    <SolidColorBrush>Red</SolidColorBrush>
    </local:SetPropertyAction.PropertyValue>
    </local:SetPropertyAction>
    </i:EventTrigger>
    </i:Interaction.Triggers>
    <DataGrid.Columns>
    namespace WpfApplication22
    public class SetPropertyAction : TriggerAction<FrameworkElement>
    public string PropertyName
    get { return (string)GetValue(PropertyNameProperty); }
    set { SetValue(PropertyNameProperty, value); }
    public static readonly DependencyProperty PropertyNameProperty
    = DependencyProperty.Register("PropertyName", typeof(string),
    typeof(SetPropertyAction));
    public object PropertyValue
    get { return GetValue(PropertyValueProperty); }
    set { SetValue(PropertyValueProperty, value); }
    public static readonly DependencyProperty PropertyValueProperty
    = DependencyProperty.Register("PropertyValue", typeof(object),
    typeof(SetPropertyAction));
    public object TargetObject
    get { return GetValue(TargetObjectProperty); }
    set { SetValue(TargetObjectProperty, value); }
    public static readonly DependencyProperty TargetObjectProperty
    = DependencyProperty.Register("TargetObject", typeof(object),
    typeof(SetPropertyAction));
    protected override void Invoke(object parameter)
    object target = TargetObject ?? AssociatedObject;
    PropertyInfo propertyInfo = target.GetType().GetProperty(
    PropertyName,
    BindingFlags.Instance|BindingFlags.Public
    |BindingFlags.NonPublic|BindingFlags.InvokeMethod);
    propertyInfo.SetValue(target, PropertyValue);
    For more information about how to hook up event triggers and handle events in MVVM, please refer to my blog post:
    http://blog.magnusmontin.net/2013/06/30/handling-events-in-an-mvvm-wpf-application/
    Please also remember to mark helpful posts as answer.

  • Dynamically change plot names

    Hello,
    How can I dynamically change the names of different plots on a single graph.  I would like to do it on the attached VI.
    Thanks,
    hiNi
    Solved!
    Go to Solution.
    Attachments:
    multiplot graph_for discussion[1].vi ‏25 KB

    Use active plot and plot name properties. For example if you had three plots and an array of three names, you could do the following:
    Message Edited by altenbach on 02-13-2009 10:41 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    plotNames.PNG ‏4 KB

  • I can't change events in iCal 5.0.

    On my MacBook OS X 10.7.1, I can't make any manual changes to iCal events.  When trying to edit an event, any typed change is temporary and the calendar reverts to its previous data right before my eyes.  Seems as though iCal can't write or save my changes!  Can I delete iCal and re-install it, hopefully resetting any files & permissions to their correct settings?

    Hi John,
    Thanks for the tip.  I created a new "temp" account with system manager/administrator privileges like my MacBook account (with which iCal doesn't work), and tried syncing the calendar from my iPhone to this temp account.  I merged the calendar data and successfully added/deleted events on the calendar, both from the MacBook and my iPhone.
    So iCal works OK with a new user account, but not with my original account.
    I'm pretty sure that I've messed up the permissions on the iCal files associated with my original account, thus causing the problem.  I was moving files from my PC to the public folder on the MacBook over the wireless network when I discovered that the files I'd moved to the public folder couldn't be opened or modified because the permissions were insufficient.  When I tried to assign read/write permissions to these files on my original account, I must have also clobbered the permissions of the iCal files!    (Any advice you have on this issue would also be appreciated!)
    Can you tell me how to re-assign the proper permissions to the iCal files for my original account?  Where are these files?
    Thanks for your help - Tom

  • How can I change the color of plot in a waveform chart and graph?

    There are 4 plots in a waveform chart, from plot0 to plot3, and I want to chang the color of plots dynamicly up to my needs when the VI is running.
    For example, as show in the picture, i want to set the plot0 as RED, and plot1 is BLUE, plot2 is YELLOW, plot3 is GRAY.
    If there is only one plot, i can change it's color, however when there are more than one plot, it fail.
    How can I do it?
    Thanks
    Attachments:
    waveform.JPG ‏61 KB

    Hello MilkyStone,
    first you have to set the active plot, then change its color (or other properties). All that is done using property nodes.
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

Maybe you are looking for

  • G580 can't backup right out of the box. Not enough space

    I recently aquired a G580 with the i5 processer, 500gb hard drive and  Win8. I see the lenovo center is telling me to do a backup and since I just set it all up the way I wanted I figured it's a good idea anyway. I follow the instructions and it auto

  • How do i know that whether a screen guard is put over my screen or not?

    Plz help me!!

  • New 11g RAC Install (Linux-64)

    I would like to get some advice. I keep getting conflicting arguments - however my plans are to first install Clusterware, next install ASM and then finally the database in an 8 node cluster. Is this the best sequence ? On another topic. An associate

  • How do I download MPEG2 again after reinstall?

    I have purchased the Quicktime MPEG2 codec some months ago and have now reinstalled OSX and it is missing (obviously). Can anyone advise me how I get it back again. Many thanks.

  • Help with image viewer

    Would love some help with this one.. I am new so please bare with me. This app just reads contents of a txt file. What I am trying to add is the ability to display an image inside the program frame with scrolls bars. import java.awt.*; import java.aw