XY Graph, 2D Error Bar, Legend, Multi Plot Help? Please modify the VI

PLEASE READ THE ENTIRE POST and HELP!
Please help with this VI and make it an instructive example for me and other novices like me who come across this typical example.
A typical problem in plotting data is as follows: On the SAME plot (Y-axis = Amplitude vs. X-axis = Time), plot the curves Amp1, Amp2, Amp3, ... coming from sample1, sample2, sample3, ...
Furthermore, there is Error1, Error2, Error3, ... associated with Amp1, Amp2, Amp3,...., which also needs to be plotted. In order to distinguish between these curves, one may use different
colors and show a legend that reads Amp1 (say black), Amp2 (say red), and Amp3 (say green). The plot then becomes complete and conveys data very conveniently.
The attached VI makes an attempt to plot Amp1 and Amp2 using XY Graph and also 2D Error Bar plot (to show error bars). There is one slight problem. The legend does not show what it is supposed
to show. Can someone fix this? If I plot two curves, the legend should show Amp1 and Amp2, if I plot three curves, the legend should show Amp1, Amp2, Amp3, and so on.
I don't want to see the default Plot 0, Plot 1, or whatever. Also, it would be nice to dynamically control the symbol, color, curve style etc, as we keep adding more and more curves to the plot.
Once this problem is fixed, I know I can easily extend it to make it plot more than just two curves in a dynamic way. I could use for loops with shift registers, etc to plot any number of curves on a single plot.
Believe me, I have searched for other posts and cannot find a simple example like the one I have posted here. Many examples I found have confused me more than helped me. 
I believe that if this problem is solved in a simple way, many others will find this example very instructive. So by helping me, you help many other people as well!
Thank you in advance. Please see the attached files (the VI, and an example data file that I just created)
Solved!
Go to Solution.
Attachments:
Multi_Plot_Legend_Error_Bar.vi ‏24 KB
data.txt ‏2 KB

Some members have pointed out that this problem has already been resolved (see the link below).
http://forums.ni.com/t5/LabVIEW/Dinamically-handle-legend-names-using-property-nodes/td-p/1479572
I did verify that this works for XY Graph, but not for 2D Error Plot.
I need both legend and error bars. Shame on LabVIEW for not making such a basic plotting requirement easy and trasparent. 
There are many clever people who can find work arounds, but that is a not a correct approach. 

Similar Messages

  • Warning: An error occurred during tax calculation. Please correct the problem or contact your system administrator.

    Hi All
    We are creating POs from interface program "Import Standard Purchase Order Program". Only for few of the POs, we are encountering the error 'Warning: An error occurred during tax calculation
    . Please correct the problem or contact your system administrator.'
    This error is happening for few PO's, other POs with same vendor, ship to and bill to location created successfully by the program
    Any inputs on how to resolve this error is greatly appreciated.
    Regards,
    Brajesh

    Hi Hussein,
    Thank for the prompt response.
    We have already applied the patch related to doc 1272684.1.
    Below are the environment detail.
    Database: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    Application : 12.1.3
    Diagnostic tool output :-
    INTERFACE_
    TRANSACTION_ID
    INTERFACE_TYPE
    COLUMN_NAME
    PROCESSING_DATE
    TABLE_NAME
    ERROR_MESSAGE_NAME
    ERROR_MESSAGE
    100148
    PO_DOCS_OPEN_INTERFACE
    09-Aug-2013
    PO_HEADERS_INTERFACE
    PO_PDOI_TAX_CALCULATION_ERR
    Warning: An error occurred during tax calculation. Please correct the problem or contact your system administrator.
    Log file :-
    +---------------------------------------------------------------------------+
    Purchasing: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    POXPOPDOI module: Import Standard Purchase Orders
    +---------------------------------------------------------------------------+
    Current system time is 09-AUG-2013 21:09:04
    +---------------------------------------------------------------------------+
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    STANDARD
    N
    INCOMPLETE
    12805
    +---------------------------------------------------------------------------+
    Start of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    To get the log messages for PDOI, please use the following id to query against FND_LOG_MESSAGES table:
    AUDSID = 12076063
    +---------------------------------------------------------------------------+
    End of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    Executing request completion options...
    Output file size:
    69
    +------------- 1) PRINT   -------------+
    Printing output file.
                   Request ID : 55116524
             Number of copies : 0
                      Printer : noprint
    +--------------------------------------+
    Finished executing request completion options.
    +---------------------------------------------------------------------------+
    Concurrent request completed successfully
    Current system time is 09-AUG-2013 22:27:42
    +---------------------------------------------------------------------------+
    Brajesh

  • I cannot download the latest update for Adobe Muse CC. I have been directed  to this formum. I have an erro message "ERROR Adobe Muse CC has encountered an error and will now exit. Please report the last few actions you took leading up to this error to th

    II cannot download the latest update for Adobe Muse CC. I have been directed  to this formum. I have an erro message "ERROR Adobe Muse CC has encountered an error and will now exit. Please report the last few actions you took leading up to this error to the Adobe Muse CC team. Trying to instantiate UID U4691 but lastAllocatedUID is only: 4491 OK"
    I am very frustrated because Muse crashes when cannot download updatres.
    I have been redirected to this forum from the 'Adobe Chat Team'
    I am trying to complete a project for a client, this is the second time I have asked for help. Can anyone please help me I
    I am using Windows 7. I am not sure if a response will come. I am new to forums. Do I wait or will someone contact me?
    Deb Kelleher
    [email protected]

    Hi Deb,
    Please accept my apologies for the inconvenience so far.
    I am not sure if you already tried this, but in case not, try to update Muse via Creative cloud directly.
    Start creative cloud application manager, if you dont have it, you can download it from here,
    Adobe - Adobe Application Manager : For Windows : Adobe Application Manager
    Login using your adobe id, once you are in, switch to Apps, and you should see the Update for Muse, click Update.
    Let me know if you get any error or warning.
    Thanks.

  • HT201210 my iphone 1st gen is stuck in recovery mode and every time i try to reinstall firmware i get an error code 1015 can anyone help please?

    my iphone 1st gen is stuck in recovery mode and every time i try to reinstall firmware i get an error code 1015 can anyone help please?

    Make sure you are using current iTunes on your computer. Click the iTunes Tab at the top of this page. Or try to Restore your iPhone with a different computer.

  • CS4:  "Critical errors were found in setup. Please see the setup log for details" !!

    I am using Win XP Pro SP3. I have CS3 installed, and successfully installed Dreamweaver, Fireworks and Flash from CS4 Design Premium. Then I successfully uninstalled DW, FW and FL CS3.
    When I tried to open a SWF in Illustrator it failed to open, and then I tried to create a really simple SWF (a rectangle) by exporting from Illustrator and tried to open that and it also failed. Whenever I tried to open or place ANY SWF into Illustrator I get a "file *** is in an unknown format and cannot be opened" error.
    I decided there must be a corrupt file, maybe the upgrade must have affected some Illustrator files, so I tried to repair the CS3 installation. After over 2 hours of INTENSE FRUSTRATION having to constantly switch CS3 and CS4 disks many MANY times, the installation failed, listing "common files" that were missing from non-existent folders such as "C:\Documents and Settings\[username]\Desktop\Adobe CS4\Fireworks CS4\payloads\etc
    When I tried to repair the CS4 installation after loading all the profile settings it errors before the installation window comes up, with "Critical errors were found in setup. Please see the setup log for details". Then it shuts down the installer. I then tried to do a system restore and system restore failed on all restore points!
    Please help:
    1. Where is "the setup log"?
    2. Will creating and populating the folders mentioned in the failed CS3 installation from the CS4 disk allow it to work?
    3. How can I uninstall CS4 if I can't even get to the installation window?
    4. Has Adobe just DESTROYED MY REGISTRY BEYOND REPAIR!!!???

    im haveing a huge irritation useing illustrator cs4 live paint bucket because i can use everything else apart from the paint bucket which should be the easyiest tool to use sometimes it works with the white arrow sometimes it doesnt i sometimes get this below message
    the selection contains objects that cannot be converted. live paint groups can only contain paths and compound paths. clipping paths are not allowed
    the lines which i have drawn are connected which i believe have to be in order to use the paint bucket and i have no clipping paths so i am am baffled
    i presume it is because the line is set to 0.01 it seems the live paint bucket wont notice thin lines, but i tried makeing the line thicker so i could use the paint bucket and it still doesnt work.

  • Critical Errors Were Found in Setup. Please see the Setup Logs for Details

    Hello everyone. I have recently gotten Adobe Flash CS4 and i was really happy, until i kept getting the same error whenever i tried to install:
    "Critical Errors Were Found in Setup. Please see the Setup Logs for Details"
    I do not know what is the cause of the problem, but i have installed Adobe Photoshop CS3 succesfully without any problems. Please do help. I checked the setup logs, but i have no clue what it is saying, and its too long to post here.
    Thank you for your time and help.

    We've all been there with the frustration.
    And I'd really like to see you get back up and running. I'm a bit of an insomniac and tend to go back over the day while I'm pretending to sleep, and a couple of new things filtered back into my mind. There have been, I think, some problems reported about conflicts with some scanner drivers, and of course with firewalls, anti-virus programs, and the like. I think iTunes and instant messengers are also on that list.
    Make sure you turn off everything non-essential before trying to do your installation (and I'd probably do the same thing before running the scripts again). I do this by running MSConfig on XP and going to the startup tab. I uncheck everything I can't identify as being essential (which means I pretty much only leave the mouse driver checked. You may need to google some of the stuff to find out what it is) and then go to the services tab and hide all Microsoft services. From what's left I again uncheck everything that isn't required to run the system. Bonjour, if you see it, should be left active as it is used by the CS3 installer. Restart the computer.
    This should have turned off pretty much everything that could have been conflicting with the installer. Go to windows security center and make sure the windows firewall is also temporarily turned off, if you use it, and you should be ready to go. It can't hurt to try the add/remove programs again, but it probably won't show any adobe products anymore if you've run the scripts correctly (did you also run the MSI cleanup utility?).
    After you've finished, you can run MSConfig again and reset to standard startup.
    Peter

  • Recent Safari problem - direction arrows in bookmark bar have disappeared. Help please. I am on a MacBook (white) running OS 10.6.9 with Safari 5.1.10

    Recent Safari problem - direction arrows in bookmark bar have disappeared. Help please. I am on a MacBook (white) running OS 10.6.9 with Safari 5.1.10

    cd,
    From the Safari Menu Bar, choose View>Show Toolbar:

  • Mixed Signal Graph: Cursor Position Property for Multi-Plot Cursor

    I'm working 6 waveforms on 3 different plot areas in a mixed signal graph in LV2009.  When I try to pull the Cursor.PosY property from my cursor (in which Watch All Plots is True, and is set to Multi-Plot in the graph properties), it returns the value of only the first plot in the cluster of waveforms fed into the graph.  I've tried changing the active plot, active plot area, nothing changes.  I am able to retrieve each value via the cursor legend, but I cannot pull each of those values into another portion of my program.  Also, I noticed that when setting events in an event structure, any events relating to a cursor drag aren't present as they are in a waveform graph.  My workaround is to create an indicator for the Cursor.PosX property and monitor when that value changes, but I feel there should be an easier way.  Any help is appreciated.
    Thank you in advance!

    Jeanius,
       I am not quite sure why the cursor pos in the Wavegraph reference does not change when you change the active plot, but if you grab a reference to the specific cursor and then change the active plot things you receive the expected behavior.
    Ben J.
    National Instruments
    Applications Engineer
    Attachments:
    MODDEDmixed graph cursor ex.vi ‏41 KB

  • What is the solution to the 'error 207"? I need help please.

    For over a month now my computer has been unable to get past the 8% mark on the Progress Bar during the Adobe Creative Cloud update! Error Message often stating Server unavailability! And "Error Code 207". Can someone please help  me get out of the trouble?
    Accept my fullest gratitude for your help and time.
    Adolf

    Sign in, activation, or connection errors | CS5.5 and later

  • Photoshop CS2 (program error msg)... Help please!!

    I have installed the full creative suite 2 on my new iMac. everything works fine except photoshop?!!?
    Illustrator works great, In-Design works great, But when i try to open a file or create a new page in PS it tells me "Could not create document because of a program error"???? ***?
    I had a previous version of CS and it worked fine for one day, then that started happening. I installed the CS2 trial version, and it would still give me the same error msg. I erased everything and installed the new CS2 (photoshop, illustrator , in-design and acrobat). It still gives me the same darn msg.???
    Any help would be greatly appreciated!
    thanks

    See the Adobe Knowledge Base document"Error 'Could not complete your request...' or 'Could not create a new document...' (Photoshop CS2 on Mac OS X v10.4)"
    I suggest whenever you have problems with third-party applications, the first place to start troubleshooting is with the application's documentation, then vendor's web site. Usually their sites have FAQs, lists of known bugs, or application-specific forums similar to these Discussions. Sometimes, unlike the Apple Discussions, the questions are even answered by employees of the vendor.
    The document cited above was found in 10 seconds by searching the Adobe support site.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • Browser on 8310 SmartPhone Edge comes up with Critical Error and cannot be used, help please?

    Hi, my name is Sater and I'm the lone I.T. guy for a small medical device company (about 40 ppl) based in Fremont, CA.  So...
    All of a sudden my vp of marketing comes in and says that he can't use the Browser function on his BB (8310 SmartPhone Edge) anymore.  Naturally I'm intrigued, but this is a very strange error that pops up.  It doesn't matter how many settings I go in and change, there's no budging it.  Here is what it's telling me...
    "Unable to connect to the selected Mobile Data Service, please try again later.  If the problem persists please contact your administrator."
    So I decide after about an hour of messing with settings and getting nowhere to call AT&T support.  They said when that error comes up with "please contact your administrator", it's because it can't connect to the BES server anymore and that we would have to consult that with whomever runs that server.  To give you a little background, we went through an outsourced Exchange provider called TheMessageCenter.com. They were alright, but my VP of R&D was pretty bent by some of the lack of customer service skills they presented to him when he was in an email crisis.  Needless to say one of the very first missions I ever had at this place was to find a new email solution and integrate the migration.
    So basically AT&T said they couldn't do anything and that I would have to contact our outsourced providor (TheMessageCenter.com, since we ran both Exchange and BES through them before we switched) back to get the settings cleared off the BES server hosting his phone Pin and info.  I called them up, (mind you we had been away from TheMessageCenter.com for a good couple weeks now) and they claimed they had no other active processes running for our company anywhere on their BES servers or frankly, ANYWHERE lol.  So naturally he's looking at me to fix this, and I am seriously stumped!  Should I do some kind of Factory reset?  If so, how can I load all his contacts/settings back the way he had it?  Any help on this matter, (especially if treated as urgent... I know you hate to hear that, but I said it for all you I.T. guys haha) would be GREATLY appreciated!!  Thanks
    Respectfully,
    Sater K.
    Systems Administrator
    SpineView Inc.
    Fremont, CA 94539

    Hi,
    The browser icon uses the BES service, unless you have signed up for the BIS ONLY servcie, wherein you get access to the internet through RIM's servers.
    Since your servcie is a BES servcie the access to the internet is through the BES.
    The MDS is a service running on the BES to authenticate you. (and thus the error)
    So, No BES = No  Internet access using the Browser icon!
    So, I need a little clarificatuioin. 
    Did you move from one BES to another? Or did the user simply switch carriers?
    It sounds as if you moved from one third company BES to another third company BES... Is that right?
    If so then contact your New BES and ensure that they allow ppl to use the MDS servcie for internet access (Most companies charge extra for that feature! - Because they can!).
    If your hosting the BES (Now), and it was Themessagingcentre.com before, then you need to Reactivate the Handset for the  new BES. I have a feeling that he is now getting the emails through the BIS service and the handset wasnt wiped and so it is stil trying to access the old BES....
    So can you please give details such as:
    BES - where was it hosted:
    BES - where is it now hosted:
    NEW BES: Is the MDS service enabled and can people currently use it to browse?
    Have you tested with other BB handsets to ensure you/user  are clicking the same icons on both handsets (most ppl do different things to access in their own way, so simply asking them if it works doesnt help!)
    The alternative is to use the expensive WAP browser. It will work but will rack up huge charges.
    Let us know how it goes...
    Checked out my Blackberry FAQ's and Links to Needed Articles here
    http://darkeen.homelinux.com/index.php/Blackberryfaq

  • I got a new iphone 5S today and i tryed to conect it to itunes its downloaded on my computer and it starts charging but it wont show anything in itunes theirs also an error that shows. i need help please..

    it wont connect to itunes and their is an error that accurs, ive tryed updating itunes. and nothing..

    How exactly do you expect to get help without providing the error that is occurring?  Are we supposed to guess?

  • HT201413 cannot reinstall itunes, i get this message MSVCR80.dll not found.  Try to reinstall itunes and i get error 7 (Windows erro 126)  help please

    cannot reinstall itunes, i get this message MSVCR80.dll not found.  Try to reinstall itunes and i get error 7 (Windows erro 126)  help please

    See Troubleshooting issues with iTunes for Windows updates.
    tt2

  • Trying to upload to websites today from Adobe Muse and get error:21 message. Any help please?

    Hi,
    I keep getting this message. Can anyone help please?
    An unknown authentication error has occurred using your AdobeID
    (SHARED_UNKNOWN_ERROR:21)
    THANKS
    Celia

    Hi, as no response from anyone and the issues still causing problems this morning, I uninstalled Muse and Re-installed. Seems to work ok now. Hope that helps anyone else with same issue.

  • Error 1015 apears can someone help please

    eror 1015 apears on my iphone when i try to restore it can someone help please
    Thank you

    There are 4 possible causes of error 1015:
    The activation server truly is unavailable. Rare, usually fixed within minutes.
    Your antivirus or firewall or router's firewall is blocking access to
    gs.apple.com on ports 80 and 443.
    Your iPhone is jailbroken or otherwise hacked.
    The computer you connected to during the restore/update was
    used to hack/jailbreak some other iOS device, and its
    network database was corrupted during the process.
    (Thanks to Lawrence Finch for the wording in
    https://discussions,apple.com/thread/4793244?start=90 )

Maybe you are looking for

  • SSO with ITS & Webenabling WEBGui

    Hello, We have configured SSO with R/3 system. It works fine. The requirement is, we have to webenable R/3 system thru SAP GUI For Windows and SAP GUI For HTML. We are able to do both on developement environment where both R/3 and portal has got the

  • Error while generating stub using ant generate-stubs

    I am getting error while running ant "generate-stubs" for generating stub.The details of errors as below: [exec] error: modeler error: expected root element "definitions" (in namesp ace "http://schemas.xmlsoap.org/wsdl/"), found element "html" (in na

  • User not authorized for message processing

    Hi, I have a SM59 connection from SAP PI --> SAP R3. Targethost sapr3T.mydomain. Path prefix: /sap/xi/engine?type=entry Process: From PI send a message to R3 (scenarie is a Server Proxy...) User: PIPROXY has  Role SAP_XI_APPL_SERV_USER This is not en

  • Can't restore my iPhone or make it as a new iPhone

    I want to restore my iPhone but I can't because it was said " iTunes could not restore ... iPhone because the backup session failed". So, I wanted to make it as a new iPhone. But when I did that, iTunes said "iTunes cannot connect to the iPhone" or s

  • Crystal Report Chart Question

    I have created a line chart based on a report that has a Sum $ amount field. I also have a running total field for a "count" of records (ttl by year)  Year is currently a group.  Because it is a running total I am unable to include it in the chart an