Updating a single plot

Hi,
I have an XY graph with four plots. Three of these plots are related and the fourth is a circle around them. The circle's diameter is controlled by a control on the front panel. I want the XY graph to update whenever that value is changed, so I have used an event structure. I have not posted my code because this is all part of a much larger program so my vi would potentially make no sense. The problem I am having is that I need to update the circle (an array of points) without changing whatever values are being displayed in the other plots. How do I keep 3/4 of the plots with their current value while changing the 4th plot?
Any assistance would be appreciated, thank you in advance.
Jeff
Using Labview 7 Express

Thank you for the reply. I dont have a single array that represents the values on the xy chart, There are a number of arrays in different places of the vi that are passed into local variables representing the chart depending on user interaction with the program (I have a large event structure). So it is impossible for me to simply replace one of the arrays while it is passed into the xy chart, although I agree that would normally be the easiest way. Whenever I am changing the value of the chart, I bundle 4 clusters (each is a cluster of two doubles) into a cluster array, which i send into the xy chart. So, I tried to do something where I created a local variable and used it to read the array of clusters currently being displayed on the chart, and then unbundled this into its seperate clusters (I would then replace the relevant cluster). However, for some reason the array of clusters being read from the chart only has a size of 1 (instead of the expected size of 4), so obviously it is impossible for me to replace the relevant subset. I had thought of the possibility where I could create 3 seperate indicators, and each one would represent the current value of each of the elements in the cluster array (except for the element that is going to be replaced (the circle)), but this is a very messy way of doing it, and I believe that there must be a more efficient way of doing this, since it would be impossibly messy if I had any more plots!
Does anyone know a more efficient way to do this?
Jeff
Using Labview 7 Express

Similar Messages

  • How can I update single plot in multi plot xy graph?

    Hi all,
    I'm working on an HMI "front" for a larger acquisition/analysis system, that includes continuous performance monitoring of a turbine. The results of the measurements are stored arrays of contour lines, that represents turbine efficiency and guide vane openings. This analysis is all performed in the background. In the HMI, the performance data is loaded from file when the specific "report" is requested, and is plotted in an XY graph. I would like to indicate the current operation point of the machine by using a plot that is a single point. Thus, that point's position among the contour lines indicates the current performance of the turbine. This point is updated once every second, while the performance data remains the same for considerable amounts of time between recalculations (days to weeks). 
    Is there any way of updating the value of a single plot in a multiple plot XY Graph without having to redraw all the plots?
    I've tried using the "Active Plot" property, which doesn't work. 
    My current solution is to keep all the data as input to the executing while loop and replace a subset of the plot array, but that of course requires the entire rewrite every time the operation point plot is updated.
    Best regards,
    Jarle Ekanger, MSc, CLD
    Flow Design Bureau AS
    Solved!
    Go to Solution.

    You cannot redraw a single plot. If you want to update a single plot, you need to retain all plots in a shift regsiter and replace the data of the desired plot. However, your problem seems much simpler than that. To show a single point on a nearly static plot you have several options.
    You can use a cursor that is controlled programmatically (the style can be a point, don't allow drag).
    You can use annotations.
    You can use the "plot images" feature that allows you to use image commands to draw anything on top of a graph.
    None of these ideas require a redraw of any data.
    I think the cursor idea is probably the easiest and most appropriate. Just use a property node with the following properties:
    active cursor
    cursor position x
    cursor position y
    LabVIEW Champion . Do more with less code and in less time .

  • How to update a Single App

    Hello,
    maybe its a stupid question, but: how is the updating process using a single app?
    Until now we created auto-renewable apps with newsstand using dps folio producer
    itunes connect and viewer builder. We build the issues at the in-app purchases and
    use the unique product-id we specified before in folio producer. That allows apple
    to find the right issue and allows updates as well, right?!?
    Right now i createad a single app without in-app purchases but i can't specify or
    write anywhere the product-id!? Do i have to publish the folio in folio producer,
    export the hole folio, recreating the hole distribution-viewer and re-upload to
    itunes connect? If we only want to update two stacks, should we update them all?
    I want to repeat my self: its a stupid question, but i have no idea, sorry... I'm a rookie...

    The Product ID in a single-issue app isn't important. Updating a single-issue app is fairly painless:
    1. In Folio Builder/Folio Producer, edit the articles, upload them, update folio, export .zip file.
    2. In Viewer Builder, edit the existing app. Specify the new .zip file. Download, sign and test .ipa file. Download and sign .zip file.
    3. In iTunes Connect, create a new version for your app. Use App Loader to submit new build to Apple.
    Whether you want to fix a single typo or rebuild the entire issue, the steps are the same.

  • How to update a single field in Word macro

    Hello,
    I am trying to create an AutoOpen() macro that will update the file name and path when user opens in a Word document, but I can't seem to find anything explaining how to update a single field, specifically the {FILENAME \p} field.  There
    are other fields in the document, so I do not want to update all the fields.  Most of the links I found only explain how to update ALL fields. Can somebody please tell me how I can update only the filename and path field using an autoopen macro?
    Thank you

    Stefan's response is correct.
    Here is a macro that should update only filename fields.
    Sub FileNameFieldUpdateAllStory()
    ' Written by Charles Kyle Kenyon 15 November 2001 - modified for filename 10 Sept 2014
    ' repaired by Jezebel
    ' All Story Field Updater - Filename fields
    Dim oField As Field
    Dim oStory As Range
    ' On Error Resume Next
    For Each oStory In ActiveDocument.StoryRanges
    ' This goes into headers and footers as well as the regular document
    Do
    For Each oField In oStory.Fields
    If oField.Type = wdFieldFileName Then
    oField.Update
    End If
    Next oField
    Set oStory = oStory.NextStoryRange
    Loop Until oStory Is Nothing
    Next oStory
    End Sub
    See Installing Macros for help in using this.
    Charles Kenyon Madison, WI

  • BAPI to update a single characteristic in IE02

    Hi,
          I am trying to update a single characteristic in IE02.I am able to do that with the BAPI "BAPI_OBJCL_CHANGE",but this BAPI is updating only 1 characteristic and is initializing all the remaining characteristcs.
          Any pointers on this is highly appreciable.
    Navin

    Hi,
    the documentation of the bapi says:
    Caution
    This BAPI only changes the parameters of an existing assignment (or creates a whole new assignment), but it does not delete the assignment to a class and replace it with an assignment to another class. If you want to reassign an object, the old assignments must be read with BAPI_OBJCL_GETCLASSES and deleted with BAPI_OBJCL_DELETE, then the new assignments must be created with BAPI_OBJCL_CREATE.
    The information transferred by this BAPI replaces all old information. An empty field means "delete entry!", not "no change".
    This BAPI does not change the database. To change the database, call BAPI BapiService.TransactionCommit afterwards.
    You can only use this BAPI for objects that are not classes!
    This BAPI only processes assigned values for classification - not for configuration
    so i guess you have to pass all information you do not want to lose.
    i´ve  found this as well:
    http://www.sapfans.com/forums/viewtopic.php?t=125320
    Best regards.
    Edited by: Pablo Casamayor on Jan 2, 2009 7:08 PM

  • Update a single column of a table

    Hi Champs,
    I want to update a single column of table PA0000.
    Following is ABAp code I am using:
    UPDATE pa0000 SET massn = wa_upd_actn71-massn
                       WHERE pernr = wa_upd_actn71-pernr AND
                              massn = c_crct_entry.
    where in current scenario wa_upd_actn71-massn = 54,
                                         wa_upd_actn71-pernr = 10005092,
                                         c_crct_entry = 71.
    But this code is not working and note updating the DB table PA0000.
    Can you help me out?
    Edited by: Nishant Khimesra on Apr 7, 2009 2:00 PM
    Edited by: Nishant Khimesra on Apr 7, 2009 2:00 PM

    hiii,
    If u want to update it thr program then write the query as update <dbtablename> set fld = value where <condn>. make sure that the values u pass are converted as per the values in database.
    2nd way is goto se16n
    specify table name and then enter &sap_edit on command line. sap editing function will be edited. specify the filter parameters on the field and then execute the transaction. u can change thd data instantly as the data appears in editable alv.
    Regards,
    Anil N.

  • How to update a single row of data table

    How we can update a single row of the data table by clicking the button in the same row.
    Thanks in Advance.

    Hi!
    What do You mean 'update'? Get fresh data from DB or change data and commit it in DB?
    If commit, try to read here:
    http://developers.sun.com/jscreator/learning/tutorials/2/inserts_updates_deletes.html
    Thanks,
    Roman.

  • Hi, I have got three ipad minis which I would like to use in a business environment whereby the users can see and update a single calender.  Is this possible? Would they have to be run form one account?

    Hi, I have got three ipad minis which I would like to use in a business environment whereby the users can see and update a single calender.  Is this possible? Would they have to be run form one account?

    Drrhythm2 wrote:
    What's the best solution for this? I
    Copy the entire /Music/iTunes/ folder from her old compouter to /Music/ in her account on this new computer.

  • Single-plot cursor tree -- how to programmatically collapse it?

    How do you programmatically collapse a single-plot cursor tree?
    I am saving and restoring waveforms to a waveform graph. Sometimes loading the waveform causes the cursor tree to display collapsed (Example 1), which is desired so the coordinates for both cursors are visible in the legend. However, some waveforms cause the cursor tree to display expanded (Example 2), hiding the lower cursor. I can't even figure out how to collapse it manually. Clicking the minus sign has no effect.
    Example 1.
    Example 2.

    I've made a mistake!
    I assumed the cursor-legend was really just a tree, but as it turns out NI has removed our ability to grab the cursor-legend reference since LabVIEW 7.1. Without a reference to the cursor-legend, we can't really do anything like what youre asking. Unless you can find a better answer, I'd recommend circumventing the cursor legend like suggested in this article:
    https://decibel.ni.com/content/docs/DOC-6495
    (you may want to rearrange the data into a tree control instead of a cluster array, in which case you'll be able to use my posted code, and you'll be able to manually expand/contract the nodes).
    Matt Kirk
    Inventor of ImageJVI

  • Single Plot fill with different colours

    Hi;
    Any suggestions on how I could fill a single plot with 2 different colours.? Basically I have a single sine wave trace. I want to fill the plot on the positive gradient of the sine wave with red and the negative gradient with green. I need to do this with measurement studio and VB6.
    Thanks.

    Hi Dayaa,
    There is no straightforward way to do this. You will need to use two plots. To plot these plots you will
    need to use the PlotXY function instead of the PlotY function. That
    will allow you to specify the X values for each plot so they show up
    properly. This forums post should help you out:
    http://forums.ni.com/ni/board/message?board.id=231&message.id=692&requireLogin=False
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • Turn off a single plot of a multiple plot waveform graph

    I have a multiple plot waveform graph (4 plots). I want to turn off one of the plots, say plot 2. Is this posible from the graphs property node? The property node seems to only give a reference to plot 0. I am using labview 7.
    Cheers,
    Wayne

    I think you can use "active plot" together with "plot.visible"
    property node to control which one you'd like to display. By default,
    the property node refers to plot 0, but you can change to plot 1 or
    other plots by changing active plot property node. You can search
    "Plot" in LabVIEW Help if you'd like to know details.
    Good luck,
    Jian
    On 18 Feb 2004 03:28:49 GMT, [email protected] (Computerman74)
    wrote:
    >>
    >>I have a multiple plot waveform graph (4 plots). I want to turn off
    >>one of the plots, say plot 2. Is this posible from the graphs
    >>property node? The property node seems to only give a reference to
    >>plot 0. I am using labview 7.
    >>Cheers,
    >>Wayne
    >>
    >>
    >>
    >>
    >>
    >>
    >
    >I would love to know if this is possible. I have been trying to figure i
    t out
    >myself.
    >There is a way to turn a single array off and that is what I am doing for now
    >untill this is possible. The plot is still there but reads zero when tunred
    >off. It would be cool to have the abillty to turn off a single plot.
    >I have tryed all the property nodes with no luck. The answer may be in the
    >array size but I can't seem to control that either.
    >For now you can use wire all 4 channels using the comparison select. Use a
    >constant of 0 And wire up a swtich. When the input is false the output is zero
    >in effect making the plot inactive but it still there.

  • Since the latest iTunes update it takes hours just to update a single app. Never did that before. Why is it doing that now?

    Since I update itunes to this latest version I have been having a problem updating my apps. It takes hours just to update a single app. Whats up with that?

    Hi henry1963,
    Welcome to the Apple Support Communities!
    It sounds like your are correct and shuffle is turned on in iTunes. Please use the following article as a reference for turning shuffle off.
    iTunes 11 for Mac: Ways to play songs
    http://support.apple.com/kb/PH12131
    You can play music in iTunes in various ways.
    Shuffle or repeat songs
    Do any of the following:
    Turn shuffle on or off: Click the Shuffle button. Shuffle is on when the arrows are blue.
    Shuffle albums or groupings: Choose Controls > Turn On Shuffle > “by Albums” (or “by Groupings”). iTunes plays the songs in the order in which they appear on the album or in the grouping, and then chooses another album or grouping at random.
    I hope this helps,   
    -Joe

  • I successfully unlocked my iPhone 4S (AT&T, iOS 7.0.2) and many apps are missing. Went to app store and updated all apps. If I manually update a single app it will show up. Solution to get all apps back in place?

    I successfully unlocked my iPhone 4S (AT&T, iOS 7.0.2) and many apps are missing. Went to app store and updated all apps. If I manually update a single app it will show up. Solution to get all apps back in place?

    Hi downeyjdm,
    Welcome to the Support Communities!
    To resolve this issue, I would suggest updating your iOS to the latest version, which is 7.0.3.
    iOS 7.0.3
    http://support.apple.com/kb/DL1691
    iOS: How to update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT4623
    If your purchased apps are still not appearing on the iPhone, you can redownload them:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    http://support.apple.com/kb/HT2519
    Cheers,
    Judy

  • Updating your Single Edition App

    I need to update my single edition folio. It was my understanding when I built it, that I would be able to submit an update later on in the year. However, I'm told now that I need to convert it over to a multi-edition folio. I can do that, however I'm worried about losing my current subscribers.
    Has anyone found a way around this?
    Thanks!

    You wouldn't lose your current subscribers when you update from a single-folio app to a multi-folio app as long as you use the same mobileprovision files when re-building the app and submit it as an update in iTunes Connect. You cannot send push notifications for single-folio apps. However, your users will be notified in App Store that a new version of the app is available.
    Uploading as a multi-folio app requires a Professional or Enterprise DPS account. If you discontinue your DPS subscription, your users will no longer be able to download content in your app.

  • If record is in application server how do u update the single table

    hi
    could anybody tel me
    if record is in application server how do u update the single table
    by using direct input method

    If your Flash player/plugin is older, the only way is to go to Adobe's site (use Limnos' link) and download the full installer. A .DMG file, which you doubleclick to have it mount on the desktop. Inside is the Flash installer app you doubleclick to run and have it upgrade all. Will need an Admin user account.
    After you've upgraded to the latest & greatest, currently 11.5.502.110, a Flash perfpane will show up in System Preferences, where you can set it to auto-update itself, warn you of new updates or manually check for same.

Maybe you are looking for

  • Utility to send text file over GPIB, one line at a time?

    We are developing instrumentation that receives data and commmands over GPIB as plain text, and returns them as well. I'd like to create GPIB "batch" files and send them over the bus, one line at a time, so I can debug the instruments' behavior. I'd

  • When i Put my Ipod Touch 2nd gen in my computer it says Apple Mobile Device Service has stopped working and does not show up in itunes Help?

    well yh Apple Mobile Device Service has stopped working and won't show up the error message keeps on poping up? ipod touch 2nd gen http://gyazo.com/57a6260ece61212ba210bfe5659e399b.png

  • Os x 10.8.3

    Upgraded my Mac Book Pro and iMac both to OS X version 10.8.3 and now I'm not able to access my wireless printer Samsung CLP-325W. OS X doesn't recognize the printer anymore and is also not able to install it again. Does anyone recognize this problem

  • Help Me In this regard

    Hi all, I need to retrieve the selected value from drop down box in html page form, in JSP page and need to enter the value into database. for example: there are four values : in drop down box. if i selected one valuve from that that i should retriev

  • Lenovo settings dependency package & Lenovo Solution Center

    The Lenovo Solution Center showed error message about Battery on System tab,and suggested to install the Lenovo settings dependency package.But there is no Lenovo settings dependency package in the download page for T61p but yes for other models.In t