How can I programmatically remove a selection of plots from a waveform graph?

I have a waveform graph to display a number of plots, which I need to programmatically add and delete to as selections of data are chosen by the user for display.
I've looked under the VI Server Property node and cannot see anything suitable for adding extra plots, or removing existing plots. I expected to see a Plot Data array variable, with each element containing the data for each of the plots on the graph. There is such an array for the annotations, which I can easily edit by Removing Subset for Array, or Insert into Array, but nothing for the plot data. The Value property is a Variant, which I'm unsure how to handle. Should I be working with this perhaps? Can this be done by creating a Local Variable read node? Or am I missing something simple here??
Thoric (CLA, CLED, CTD and LabVIEW Champion)

Hi Mike,
I was trying to use the Property Node (Value) to read the waveform graph, but I was getting a Variant type back, not a 2D array of DBLs as I expected. Turns out I was passing the graph control reference to a subvi whose control refnum had the Include Type flag unchecked. As a result of this explicit definition, Value was of an uncertain (undefined) type and couldn't be natively provided. It would have had to have been cast into a more specific type to work. Have solved the problem by ensuring all my references are of a strict type, and now (as you recommend) the Property Node (Value) is useful
Many thanks for the response!
And many thanks for the demo too! You put that together remarkably quickly!
Thoric (CLA, CLED, CTD and LabVIEW Champion)

Similar Messages

  • How can I easily remove a group of photos from my iPad

    how can I easily remove a group of photos from my iPad?

    Iif the photos were synced to the iPad they can only be removed by connecting to iTunes on your computer, unselecting the photos folder that you synced to the iPad and then follow that with a sync.
    IF the photos are in the camera roll, open the camera roll album, tap the as select button in the upper right corner, tap on each photo that you want to delete in order to select them and then tap the trash can icon.

  • How can i call the certificate selection dialog box from source code?

    How can i call the certificate selection dialog box from source code?
    NB: Of course if i have more than one certificate in the Microsoft Keystore 'My'.
    Thank You in advance

    I found an example of the "TestStand UI Expression Control.ctl" and it works just the way I need it. (check the link)
    Proper use of "TestStand UI ExpressionEdit Control" in LabVIEW http://forums.ni.com/ni/board/message?board.id=330&requireLogin=False&thread.id=10609 
    The "Expression Browser Dialog Box Button" F(x) stays disable while editing the VI, however it become available when the VI is called from TestStand.
    Thank you,
    Hecuba
    Mfg. Test Engineer
    Certified LabVIEW Associate Developer

  • How can I programmat​ically detect transition times in a digital waveform

    Hi, I have a digital waveform and at certain times I have transistions and glinches , how can I programmatically detect and record the time stamps of the transitions
    Thanks  

    Let me see if I understand you. You are reading 14 bits in parallel and you want to know how long between transitions of just one of those bits - say bit 11. Is this bit number constant or can the number of the bit in which you are interested change?
    Well, you could XOR the value from each read of the digital bits with the 14 bits you got from the previous read. If the resulting value of bit 11 is true, the state of bit 11 has changed. Use that flag to read/restart an interval timer. Of course the resolution of your measurement will be dependent upon the rate at which you are reading the 14 bit input. If you are only sampling the 14 bits every 500 msec, you obviously won't be able to measure intervals of less than 1/2 sec.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How can we improve performance while selection production orders from resb

    Dear all,
    there is a performance issue in a report which compares sales order and production order.
    Below is the code, in this while reading production order data from resb with the below select statement.
    can any body tell me how can we improve the performance? should we use indexing, if yes how to use indexing.
    *read sales order data
      SELECT vbeln posnr arktx zz_cl zz_qty
      INTO (itab-vbeln, itab-sposnr, itab-arktx, itab-zz_cl, itab-zz_qty)
      FROM vbap
      WHERE vbeln  = p_vbeln
      AND   uepos  = p_posnr.
        itab-so_qty = itab-zz_cl * itab-zz_qty / 1000.
        CONCATENATE itab-vbeln itab-sposnr
           INTO itab-document SEPARATED BY '/'.
        CLEAR total_pro.
    **read production order data*
        SELECT aufnr posnr roms1 roanz
        INTO (itab-aufnr, itab-pposnr, itab-roms1, itab-roanz)
        FROM resb
        WHERE kdauf  = p_vbeln
        AND   ablad  = itab-sposnr+2.

    Himanshu,
    Put a break point before these two select statements and execute in the production.This way you will come to know which select statement is taking much time to get executed.
    In both the select statements the where clause is not having the primary keys.
    Coming to the point of selecting the data from vbap do check the SAP note no:-185530 accordigly modify the select statement.
    As far as the table RESB is concerened here also the where clause doesn't have the primary keys.Do check the SAP Note No:-187906.
    I guess not using primary keys is maring the performance.
    K.Kiran.

  • How to stop the counter after getting maximum amplitude from a waveform graph?

    I am using accelerometer, optical encoder and daq card (PCI MIO 16XE10) for my tyre balancing project. Basically i am trying to stop my edges count from the optical encoder to get the position for putting the mass for correcting the balancing. Could anyone please help me by telling me how i can achieve it or is there any other ways to get the position using the daq card? One more thing, could anyone tell me how to change the waveform graph to frequency domain instead of time domain?

    Time to Freq is easy. 1/time = freq. example. 1 msec period = 1000 hertz (1kHz).
    I guessing you are attempting to design a new spin balancer for tires. I would record the entire "spin cycle with index count" then search the resulting waveform for the max amplitutes. Correlate the indexes and that should give you the high point and location. You might want to count the number of revolutions, then grab that 60% of that number of peaks.

  • How can i completely remove CA associates security software from my desktop? Thank you. AL M.

    I purchased the Computer Associates internet security software in 2010. I now want to install a different security product. However, I cannot completely remove the CA product. I have tried the normal removing of software from the software installed on my desktop but that does not get rid of the darn thing. Obviously there are some hidden files etc. that i am not getting to. So help please. This is also making my desktop frustratingly slow and i a am sure the uninstalled part of the CA software is causing this lack of response. Thank you in advance for your help and consideration.

    This is a a Firefox support forum, and so we can't really help with Removing CA. Please read something like http://answers.yahoo.com/question/index?qid=20061124194224AAIDpYU for help.

  • How can I programmatically tell apart a QTVR scene from a .mov video?

    Hello
    I am implementing a program that needs to tell apart whether a .mov file contains a video or a QTVR- seeing as QTVR can be stored with the .mov extension. As the .mov files are in binary format, is there a library, piece of software or any other way to use in my Python code to tell the two apart?
    Constantinos

    Hello
    I am implementing a program that needs to tell apart whether a .mov file contains a video or a QTVR- seeing as QTVR can be stored with the .mov extension. As the .mov files are in binary format, is there a library, piece of software or any other way to use in my Python code to tell the two apart?
    Constantinos

  • How can i completely remove a guest account? from the login screen too?

    Having difficulty removing my guest account. I've gone to system preferences and unchecked the guest account but it still appears upon computer boot up as an option. I want it completely off and not showing on the screen when turned on.

    On your login screen, that's not a true "Guest" account. It's actually a security feature..your Mac will restart to a secured Safari-only version of the OS with access to the Internet...this enables you to find your Mac using iCloud. Thus, this should NOT be disabled.

  • HT1918 how can i completely remove a credit card from my account?

    how can i completely remove a credit card from my apple id?

    Hi Craig,
    Thanks for visiting Apple Support Communities.
    Using the steps from the article above (iTunes Store: Changing your payment information), you should be able to select "None" as your payment method. This will remove your credit card from your iTunes Store account (Apple ID).
    Changing your payment information using an iOS device
    Tap Settings on the Home screen.
    Tap iTunes & App Stores.
    Tap your Apple ID. (If you aren't signed in, enter your Apple ID and password and tap Sign In.)
    Tap View Apple ID.
    Enter your Apple ID password.
    In the Edit section, tap Payment Information.
    Update the information that you want to change.
    Note: You can find the payment methods that the iTunes Store accepts in the Payment Type section. If you don't want a payment method on your account, select None in the Payment Type section.
    Best Regards,
    Jeremy

  • How can I move a large number of pics from icloud Photos Beta to a PC without having to select each photo?

    How can I move a large number of pics from icloud Photos Beta to a PC without having to select each photo?

    Hi,
    can you please explain why the solution from steve is not the right solution for you.
    regards
    Peter

  • I try to find something on my iPad, many results are emails, when I push on an email I can't see the email, because I get ever the first email,or the previous selected email in my inbox. How can I see the email selected?

    I try to find something on my iPad, many results are emails, when I push on an email I can't see the email, because I get ever the first email,or the previous selected email in my inbox. How can I see the email selected?

    Is your Yahoo account set up as POP3 or IMAP?

  • How can i programmatically add a text in a combobox drop down menu ?

    How can i programmatically add a text in a combobox drop down menu ? Can it be possible using any property node?

    You've posted to the wrong forum. Please post to the LabVIEW board.

  • How can detect and remove scanned white pages in an OCRd pdf file?

    How can detect and remove scanned white pages in an OCRd pdf file?

    Acrobat does not support an automated way of doing this directly. You can
    remove completely blank pages (pages that don't have any "marking
    objects"), but a scanned page does contain an image, so Acrobat won't help
    you here. There are a number of 3rd party applications and plug-ins
    available. Try a Google search for
    remove blank pages from scanned
    pdf<http://www.google.com/search?client=safari&rls=en&q=removeblankpagesfromscanned+pdf&ie=UTF-8&oe=UTF-8>
    This will bring up a few different solutions.
    Another way is to use JavaScript to find text. You say that these documents
    are OCRed, so if you have a blank page, it should not have any text on it.
    With some JavaScript, you can identify pages that don't contain text. This
    may however fail if you have a page that contains just e.g. a photographic
    image. There won't be any text, but the page is certainly not blank.
    Karl Heinz Kremer
    [signature removed by host]

  • How can I permanently remove plugin-container? It slows the system too much.

    plugin-container slows my computer down too much.
    I remove it using Task manager, but it keeps coming back.
    How can I permanently remove it short of changing to the Google Browser?

    See this support article. It tells you how you can disable Out of Process Plugins. <br />
    http://kb.mozillazine.org/Plugin-container_and_out-of-process_plugins#Disabling_crash_protection

Maybe you are looking for