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

Similar Messages

  • How to change Number of test socket in Model option during run-time

    I wanna be able to change the the number of test sockets(in the Model Options menu) during runtime. I have overriden the Prebatch callback and used my own instead. I have a LabView program in my Prebatch where I would select the test script each time before running the batch. I wann be able to also modify the number of test sockets each time before I run the batch again. I tried setting the "Parameters.ModelData.ModelOptions.NumTestSockets" from the Labview program which is in my Prebatch before running each batch, but get into errors. Please help?

    Hello Kumar,
    The Batch process model shipped with TestStand does not handle this scenario, but you can still do this. Attached is a sequence file that utilizes the Batch Model's ProcessCleanup callback to reset the next execution point. It still uses the method of setting the Parameters.ModelOptions.NumTestSockets variable in the PreBatch callback. The change I added was three steps to a different callback (the ProcessCleanup callback):
    Message Popup - prompts Yes or No to continue testing with a new batch size.
    Statement 1 - based on the response to the message popup (via precondition), resets the Batch Model's next step to be executed and the ContinueTesting flag:
    RunState.Root.RunState.StepGroup = "Setup"
    RunState.Root.RunState.NextStepIndex = 0
    RunState.Root.Locals.ModelData.ContinueTesting = True
    Statement 2 - based on the response to the message popup (via precondition), loops to reset each TestSocket's ContinueTesting flag:
    RunState.Root.Locals.ModelData.TestSockets[RunState.LoopIndex].ContinueTesting = True
    These two statement steps force the next step to be executed in the Batch Process Model to be the first step in the "Setup" step group, and reset all necessary flags for the batch itself and the individual TestSockets. I discovered the flags that had to be reset by trial-and-error (that was the time-consuming part).
    You can run continuous batches of the same size you first chose (for as long as you like), but when stop the batch execution this new message popup will prompt (yes/no) whether you want to continue testing with a new batch size. If no, then processing terminates. If yes, then the next two statement steps are run and execution resumes back at the beginning of the Batch Process Model's Setup step group. This forces the ModelOptions callback to be executed again, so your VI (in my example here it's just a Message Popop) can then set NumTestSockets appropriately.
    Thanks for contacting National Instruments!
    David Mc.
    NI Applications Engineering
    Attachments:
    kumar.seq ‏27 KB

  • Renaming the text of a cell in tree control during run time

    Hello all,
      Actually i am stuck up at one point.In the picture of front panel i attached,there is a tree control and two buttons (re,stop).when i press the rename button,i want the selected cell in the tree control to be focussed and when i enter some text through the key board the cell should be renamed.Can anybody suggest me how to do this?
    Thanks and regards,
    srikrishnaNF
    Solved!
    Go to Solution.
    Attachments:
    Example_VI_FP.png ‏7 KB

    Yes it is possible. look at the attached library developed by Norman J. Kirchner, Jr. Also more info could be found @LAVA
    Guru
    Regards
    Guru (CLA)
    Attachments:
    Tree_Control_VIs.zip ‏437 KB

  • How to get the Title and Tcode of a Program during run time

    Hello,
    I am new to abap and I have this question please. Is the a way to get the title, Tcode and Author of a program during run time? I would like to get the name and title of a program or a view or an include during run time.
    Using table TADIR, you can only get the object_name and the author. Is the a way for me to get the Title of the repository object and any Tcode if any is available for the case of a program?
    I loop forward for your respond.
    Thank you.
    Sabina

    You can get it by accessing SYST.
    SY-TITLE for Title
    SY-TCODE for Tcode
    I don't think there is any field in SYST for the Author.
    To get the author name you can use the TRDIR table.
    Regards,
    Naimesh Patel

  • When i send a imessage it sends it from the number that was on the sim before i transfered my number how do i change it to my number?

    when i send a imessage it sends it from the number that was on the sim before i transfered my number how do i change it to my number?
    ive tried to change it in message settings but the number is grey so im unable to de-select it ?
    any ideas?
    cheers Dan

    Hello joinerdan,
    It sounds like you are unable to change the phone number that Messages is sending messages from because it is grayed out. I recommend the steps outlined in the following article named:
    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    Unlink a phone number
    To remove a phone number from an Apple ID, sign out of FaceTime and Messages on your iPhone:
    Settings > Messages > Send & Receive. Tap your Apple ID, then tap Sign Out.
    Settings > FaceTime. Tap your Apple ID, then tap Sign Out.
    This should remove your phone number from other devices using the same Apple ID with FaceTime and Messages. If the phone number is still available on other devices after you sign out of FaceTime and iMessage on the iPhone, you may need to sign out of iMessage and FaceTime on all your devices, then sign in to FaceTime and Messages again on devices you want to use.
    Note: If you no longer have access to the iPhone that is using the number you want to remove, reset your Apple ID password.
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • In i photo11,how do I change the number of thumbnails in the rows?

    In I photo 11, how do I change the number of thumbnails in the rows?  I now have 5 large thumbs across, but
    I would like to have 10 or 12  normal sized thumbnails in each of the rows.  Thanks

    tab --
    Here's where to read up on your question.
    If you don't find your answer, post a new topic there:
    https://discussions.apple.com/community/ilife/iphoto

  • In my numbers when I click on a cell it shows the formula but what I want ot see is the number I input inot the cell.  what did I do and how can I change it?

    In Numbers, when I click on a cell I see the formula, how do I see the number I input inot the cell?

    Gerald,
    A cell either contains:
    1) what you typed (or entered) OR
    2) the result of a formula
    to enter a formula, select a cell, then type the "=" sign then the formula, then enter
    to enter a number oer text, then type the number(s) or text you want, then the enter key
    the contents of a cell is the last thing you typed into that cell.  If there was a formula, then selecting the cell and typing will result in losing the formula.
    B3 will change as you modify the cell contents in B1 and B2

  • Just recently changed mobile number but dont know how to change my number on imessage or facetime

    so i have recently changed my mobile number but i have no idea on how to change my number so it works with imessage and facetime rather then them using my email address it should let you do it threw the imessage settings someone please help me

    @broomez420
    iMessage:
    Go to settings>messages>send & receive>make your edits there.
    Facetime:
    Go to settings>facetime>make your edits there.
    Hope that helps

  • HOW TO CHANGE "MY NUMBER " on an unlocked TELUS STORM 9530

    Hi here is how to change"my number" on a TELUS STORM 9530
     Go to your phone key pad and type ##843881 a screen will come up that says" CDMA service edit screen",where it says" mobile directory number" you will see the old number you want to get rid of high light it and type in your 10 digit phone number then press the blackberry menu dingleberry and save what you have done. Go back to the main phone Page and you should see your number under the "my number". It worked for me I hope you have success too best of luck

    Follow the below path -
    Options -> Advanced Options -> SIM Card -> Click menu button and select Edit SIM Phone Number. 
    tanzim                                                                                  
    If your query is resolved then please click on “Accept as Solution”
    Click on the LIKE on the bottom right if the post deserves credit

  • How to change a number to a barcode image without other softwares ?

    hi all ,
    latest version of apex (on the cloud) ,
    How to change a number to a barcode image without other softwares ?
    for example
    a number item and a button
    click the button to change the number to a barcode image ??

    Check out this application sample: https://apex.oracle.com/pls/otn/f?p=31517:101:374672662665:::::
    Thank you,
    Tony Miller
    LuvMuffin Software

  • How to change contact number in facetime

    How to change contact number in facetime?

    You need to activate Facetime on your iPhone with your new number first. If you use the same Apple ID on all your devices, your Mac, iPad, or iPod touch will automatically ask you if you want to use your new number for Facetime.

  • How, using Adobe Connect can increase the number of participants in the meeting? I need more than 25 people.

    Hi, I use licensed Adobe Connect. Earlier in the meeting could involve up to 100 people. Now only 25. How, using Adobe Connect can increase the number of participants in the meeting? I need more than 25 people.
    Thanks for your help.

    The purchasing option through adobe.com only allows up to 25 attendees. If you need more than that, you will need to purchase through a reseller. You can find one that is able to sell in your part of the world, here: Adobe Connect Partners. Just reach out to one of the Global Partners.

  • How to change keyword in many pictures at the same time?

    I gave a big series of pictures the wrong keywords. Now, I can't figure out how to change them (besides one by one...).
    If I select e.g. 10 pictures in Library-mode, how to change keywords on them all at the same time?

    Make sure you are in Grid View, primary monitor (if you have two), select 10 pictures and type (or delete) the keywords in the Keywording panel in the left upper corner.
    Make sure the Metadata->Show Metadata for Target Photo Only is unchecked in the menus. Otherwise your edits will only apply to the primary selected (most selected) image.

  • How to set the number of seconds a servlet is allowed to run

    I use JSP to generate a report, but it will take about 10 minutes to search.
    IE Client screen displays an error message what is "Cannot find out your page" after 8 minutes. How to set the number of seconds a servlet is allowed to run.

    It's not a matter of how long the servlet is running... it's the browser timing out because the servlet hasn't responded to its request.
    You have several options:
    1) "Browser Pinging"
    Your servlet sends some small data which can be either seen or unseen (html comments, hidden chars, etc) by the user at short intervals while your report is running. When the report is finished, the browser will not have timed out because it has been "snacking" on those small bits of data which tell the browser its original request was both heard and being handled. I don't think there is any timeout in IE as long as it receives data continually (or at least before its own timeout mark over and over again...)
    2) Multithreaded processing
    This would probably be a better approach. Have the report run in a separate thread running on the server. You'd want to store a reference to this executing report in the user's session. Instead of making the browser wait for the report to be finished, have the servlet check the user's session to see if a report exists and is running. If one does not exist, create one and start its execution. If one does exist, and is still running, print a "please wait" type of message OR an animation, etc... along with some javascript which will reload the page every few seconds. If the page reloads and the servlet sees that the report is finished, it can then display it to the user.
    Hope this helps,
    -Scott

  • How to change async to sync after deploying the process.? Thanks

    How to change async to sync after deploying the process.? Thanks

    you'd need to change the base wsdl, the generated one (_Name.wsdl) and the bpel.file .. and remove the generated classes .. (all in domains/you_domain/tmp/your_process dir)
    the wsdl needs to get the output msg to the input msg instead of a callback porttype, the same needs to be in the generated wsdl (don't forget to remove the callback role in plnk session).. and the bpel process needs to have a reply instead of the invoke ..
    this is what you would need to do .. BUT, maybe we can find a better solution for you, if you elaborate on the usecase..
    during design time this is easier :-)
    regards clemens

Maybe you are looking for

  • How do I find out the spec of my old iPod ?

    How do I find out the spec of my old iPod ... I can't remember if it's 2nd or 3rd generation ... it's an 8gb, and that's as much info as I can remember/find in the 'About' area of the iPod ... is there a way to find out please?

  • Fed up with BT vision ....problems with on demand

    2011 has been a bad year with BT i think the customer service has been **bleep** !!!! I am yet again having problems with on demand. I was in middle of watching a film yesturday when it went off. I have tried watching the film again and tried others

  • I have a PDF file which displays an error message. It's fine, how do I get rid of the message?

    I have combined a new PDF (printed from a Word file) and an older PDF (from an InDesign document). I see an error message on the first page of the older PDF. It says: Could not find the XObject named 'Fm0'. I click OK to clear the error, and there is

  • Authorization for values attribute (characterstic)

    Hello ladies and gentlemenu2019s. The end users using attribute ZSALEORG (S.O.) in DP planning as a navigation characteristic. We need to restrict selection of the value of this attribute for different users. Can we manage with this by the authorizat

  • Directory Proxy Server 5.2 and MS Active Directory

    Hi, The features of DPS are exactely what I'm looking for but the Directory Servers I would like to run it against are Microsoft Active Directory Domain Controllers... Did anyone tried this before ? Was it a success story ? ;-) Thanks for your input.