Saving "Waveform graph" with cursors, set of different colors, in an image file

Hello:
I'm trying to save to a file, a waveform of a "waveform graph" that has cursors, which have different colors. When opening the file I can see that the waves are plotted defined color, but the grids and cursors are colored black.
Someone can tell me what to do, so that the file is saved with the original colors of the "waveform graph"?
Best Regards

Probably this is happening because you are using the Invoke node Image Export, which captures an image with less information. However, if your application allows, using the Invoke Node Get Image, which captures your control, displays all the colors of your waveform, include cursors and grids colors.
In this link bellow, you can see how use this Invoke Node:
http://digital.ni.com/public.nsf/allkb/5AE4ADCBB65A6D8F86256FBF007A1AC1?OpenDocument
I hope this helped you. Success in your application.
Regards.
Wesley Rocha
Applications Engineer
National Instruments Brazil
www.ni.com/suporte
Wesley Rocha
Application Engineer
National Instruments Brazil
Visite a nossa comunidade em PORTUGUÊS!!!

Similar Messages

  • Looking up the values in a waveform graph with a mouse click

    Hi,
    Does anyone know how to look up the values in a waveform graph with a mouse
    click but... without the cursor legend on, if i press in the waveform graph
    nothing happens, i must search my cursors and only then i can see the values
    of my signal data?! Isn't there any other way?
    Best regards,
    Thijs Boerée

    Dear Chad,
    I know of the function "bring cursor to center". I also figured out that
    when i use a property node of the cursor array of clusters, that i can see
    that some values change when i move the cursor (i can see the X and Y scale
    value change of the graph and also the values of the mouse pointer (in
    points due to screen resolution)) But in this cluster i can't set the mouse
    position. I allready made a VI where i can see the bounds of my
    waveformgraph and I have the Xscale (min and max) and the Yscale (min and
    max), with a linear fit i can translate my mouse position to X an Y scale
    values and when i click on my waveform graph the cursor go's to that
    position (property node of the cursor position), only disadvantage is that i
    only have the bounds of my plot area and not the position, i do have the
    position of my waveform graph but the plot area isn't allways in the center,
    if i could extract the position of the plot area i may find a solution to
    solve this problem.
    And to file a product question:
    I would like to see the function that with a mouse click a little menu
    appears and that there are options to for example set a marker on that data
    and when you right click on it, that there are options to remove it or to
    add comment, a 2D array could make a list of the different channels with
    it's markers (time stamps and comments).
    Best regards,
    And thank you for your help.
    Thijs Boer�e
    "Chad AE" schreef in bericht
    news:[email protected]...
    > Dear Thijs,
    >
    > Thank you for contacting National Instruments.
    >
    > To address your question, there is no direct VI, command, or property
    > node that will allow the cursor snap-to-mouse functionality.
    >
    > I notice a problem you may be occuring is trying to find where the
    > cursor is on the graph. If this is an issue, you can select Bring to
    > Center from the Formatting Ring on the Cursor Legend to move the
    > cursor to the center of the graph.
    >
    > Let me know if you have any further questions or if this does not
    > resolve your issue, as I would be happy to file a product suggestion
    > so that LabVIEW is improved in future versions.
    >
    > Thanks again and have a great day!
    >
    > Chad AE
    > Applications Engineer - National Instruments

  • Is it possible to set a different color to part of a cell?

    Hi all,
    I am have trouble setting cell-specific Renderer.
    I have followed the instructions in the UISwing tutorial
    and extended JTable definition to overload getCellRenderer()
    to return myRenderer
    final JTable tableView = new JTable(dataModel){
    public TableCellRenderer getCellRenderer(int row, int column) {
    TableCellRenderer colorRenderer = new ColorRenderer();
    return(colorRenderer);
    My class definition for ColorRenderer is as follows:
    class ColorRenderer extends JLabel implements TableCellRenderer {
    public ColorRenderer() {
    public Component getTableCellRendererComponent(
    JTable table, Object color,
    boolean isSelected, boolean hasFocus,
    int row, int column) {
    setForeground(Color.blue);
    return this;
    Is it possible to set a different color to part of a cell?
    eg. I have "TEST,CELL,COLOR" as a string in a cell.
    Can I set a different color to the substring "CELL"?
    Your suggestions will be accepted most gratefully!
    Thanks in advance
    -Kalpana

    You should inherit your table cell renderer from a container, for example JPanel, add different JLabels to the panel and color them separately.
    Kurta

  • I have a iPod touch 5th generation and when i turn on the device, its white screen with black lines and different colors

    I can turn off the device naturally. But when i turn it on it shows all white with black lines and different colors. Is my LCD screen broken? If it is, can apple fix it?

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup. See:                                 
    iOS: How to back up                                                                
    - Restore to factory settings/new iOS device.             
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
      Apple Retail Store - Genius Bar                              
    If not covered by warranty
    Apple will exchange your iPod for a refurbished one for $99 for 16 GB 5G and $149 for the other 5Gs. They do not fix yours.
      Apple - iPod Repair price                             

  • Setting a specific color on a image transparent

    I want to take a image that im drawing in the paint(graphics g) method, and set a certain color on that image transparent. so it blends with the background image properly.
    any ideas would be appreciated.

    Bird.gif
    import java.awt.*;
    import java.awt.image.*;
    import java.io.IOException;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    public class TransparencyTest extends JPanel
        BufferedImage image;
        public TransparencyTest(BufferedImage orig)
            Color toErase = new Color(248, 248, 248, 255);
            image = eraseColor(convertImage(orig), toErase);
            setBackground(Color.pink);
        protected void paintComponent(Graphics g)
            super.paintComponent(g);
            int w = getWidth();
            int h = getHeight();
            int x = (w - image.getWidth())/2;
            int y = (h - image.getHeight())/2;
            g.drawImage(image, x, y, this);
        private BufferedImage convertImage(BufferedImage in)
            GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
            GraphicsDevice gd = ge.getDefaultScreenDevice();
            GraphicsConfiguration gc = gd.getDefaultConfiguration();
            BufferedImage out = gc.createCompatibleImage(in.getWidth(), in.getHeight(),
                                                         Transparency.TRANSLUCENT);
            Graphics2D g2 = out.createGraphics();
            g2.drawImage(in, 0, 0, this);
            g2.dispose();
            return out;
        private BufferedImage eraseColor(BufferedImage source, Color color)
            int w = source.getWidth();
            int h = source.getHeight();
            int type = BufferedImage.TYPE_INT_ARGB;
            BufferedImage out = new BufferedImage(w, h, type);
            Graphics2D g2 = out.createGraphics();
            g2.setPaint(new Color(0,0,0,0));
            g2.fillRect(0,0,w,h);
            int target = color.getRGB();
            for(int j = 0; j < w*h; j++)
                int x = j % w;
                int y = j / w;
                if(source.getRGB(x, y) == target)
                    source.setRGB(x, y, 0);
            g2.drawImage(source, 0, 0, this);
            g2.dispose();
            return out;
        public static void main(String[] args) throws IOException
            String path = "images/Bird.gif";
            BufferedImage bi = ImageIO.read(TransparencyTest.class.getResource(path));
            TransparencyTest test = new TransparencyTest(bi);
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(test);
            f.setSize(400,400);
            f.setLocation(200,200);
            f.setVisible(true);
    }

  • Dispaying a waveform graph with control of the cursor in the document.

    I would like to be able to control the cursor when I save my waveform graph in html. I'm currently saving the graph through the report vi's

    I am not sure I understand your question. Do you want to simply control where the cursor is on the picture you are appending to the html report. If so then when you use the Append Control Image to Report VI it basically takes a snap shot at that moment and displays it. Therefore you just need to place the cursor where you wnat it before you add the image.
    To programttically control the cursor you will need to use property nodes of the Waveform Graph. A good start would be the property cursor>>cursor position>>all elements.

  • Clearing waveform graph with my VI

    I know how to clear the waveform graph using feed back array .But my case is different .I attached the VI with which I need help.
    Basically I will be reading voltages from Yokogawa 200 which I used random number generator in the program .I need to plot the waveform graph between 3 and 4 mins once the program is started.
    Please let me know how can I clear my history.
    Attachments:
    simulated.vi ‏23 KB

    You continue to make this much more complicated than it needs to be. You are eligible for the Rube Goldberg thread. You've ignored the modifications I made to your VI in this thread where you asked the same question. Here's a modification with a graph. If you want to ignore suggestions for your problems, maybe you should stop asking for help.Message Edited by Dennis Knutson on 08-14-2007 08:23 AM
    Attachments:
    simulated_mod2.vi ‏15 KB

  • Digital Waveform graph with a lot of samples

    Hi,
    I have to display in a Digital Waveform Graph a lot of data read from a file(2.000.000 of samples for 36 signals). If I read the file and I try to display all the data, the Vi became unusable. For example, to zoom a graph region, it may take 30-40 seconds, scroll is impossible ecc, ecc..
    Apparently LV doesn't perform a decimation of points. In measurements studio 8, this problem doesn't exist...but I have to use LV 7.1..
    any suggestion ?
    At the moment I have developed a DLL in VC++ that perform a decimation of samples, but performance are not very good !
    Thank you for any idea.
    Regards.

    Hi Garraty,
    Excuse me but I have several questions for you.
    1)     Have you tried some kind of incremental approach, starting from 1 waveform and increasing towards 36? Do you experience some kind of on/off degeneration between, les’s say, 34 and 35 waveforms?
    2)     How can you decimate a digital pseudorandom sequence of 2M samples without loosing information?
    3)     Is this 2M samples an unavoidable constraint for your application?. Actually, it seems very difficult to extract some kind of visual information from a pseudorandom pattern of this length?
    Thank you very much.
    Kind Regards
    FiloP
    FiloP
    It doesn't matter how beautiful your theory is, it doesn't matter how smart you are. If it doesn't agree with experiment, it's wrong.
    Richard P. Feynman

  • Waveform graph:move cursor automatically to know coordinate

    Good Day
    Can i know how to move cursor automatically in the waveform graph
    example: i have known Y =2 what is the value of  x is...
    which properties in property node should i use?
    attached also my vi (Coordinate of XY data using cursor)
    Best Regards
    Ahmad Tarmimi
    Solved!
    Go to Solution.
    Attachments:
    coordinate XY.vi ‏40 KB

    Good Day
    I was trying to program the cursor automatically but it does'nt seem working for me..
    Can you please advise me on this matter... 
    Attached also my study pupose vi
    Best Regards
    Ahamd Tarmimi
    Spoiler (Highlight to read)
    Attachments:
    cursor adjustment.vi ‏53 KB

  • Waveform graph with timestamp

    I have 5 arrays of data, 4 are data values and 1 is the UTC seconds.  I want to use a waveform graph as it smooths the plots so the traces look
    more rounded compared to an XY Graph.  I have experimented with bundle and build waveform setups but the best  I have been able to do is to get the timestamp along the X axis but no data shows up in the graph  or all the data shows up as but it looks like the axis is swapped but the timestamp is still at the bottom.
    Does anyone know why the waveform graph plots are smoother than the XY Graph plots.  If I knew this answer I could use the XYGraph instead.
    Thanks
    Tim C.
    1:30 Seconds ARRRGHHH!!!! I want my popcorn NOW! Isn't there anything faster than a microwave!

    I don't notice a difference between an XY Graph and a Waveform Graph if the dt on both are the same and assuming all of the other attributes (interpolation, point style, range, etc.) are the same as shown below. To create a waveform graph and assuming that the dt is constant in your time array, you can do something like the other image. An XY graph is normally used only when the intervals on the x axis are not constant. If you see a difference, you should post your VI (with data in the arrays) so that someone can look at it.
    Message Edited by Dennis Knutson on 09-15-2007 09:38 AM
    Attachments:
    Waveform Graph versus XY Graph.PNG ‏21 KB
    Build Waveform.PNG ‏8 KB

  • How can i set the different colors for a different group ui elements

    Hi All,
                  I Created a View Container in that i crated 2 views. In first view i created a group and in second
    view also i created a group. I want to set The First view group header colour as Golden colour and for second view group heder colour as Green colour. Please any one help me on this.
    Thanks&Regards,
    Bhargava.

    Dear GLM,
                         i got that. while creating the theme, in Complex Elements select the group element and  set the primary group header colour to golden and secondary group Header colour to Green and in ur webdynpro application set the Group Design property as Primary Color for which group u want to set the Golden color and set the Group Design property as Secondary Color for which group u want to set the Green color.
    Thanks&Regards,
    Bhargava.

  • How to set canvas extension color for arbitrary image rotation?

    I'm using Photoshop CS4 v 11.0 with Windows XP.  When adjusting canvas size there's a menu for chosing the canvas extension color.  Where is the menu for chosing canvas extension color for arbitrary image rotation?
    Thanks.

    This will be the background colour selected in your toolbox.

  • Xcontrol Cursor (XY Graph) with cursor release

    I try to build a Xcontrol who give the values of a cursor.  The only data I send to the Xcontrol is the reference of a XY Graph.  It is working fine when using the boolean left  and right (see drawing).  When I try to to utilize the "cursor release event" (in the Xcontrol) it is not working and the cursor freezes, any idea?
    Jean-Marc
    Jean-Marc
    LV2009 and LV2013
    Free PDF Report with iTextSharp
    Attachments:
    Xcontrol image.jpg ‏50 KB
    Curseurs XY.zip ‏97 KB

    Jon S. wrote:
    Hello J-M,
     I think I figured out what was causing the hang in LabVIEW when you moved the cursor.  You need to put an Unregister for Events at the output of your Event Structure in the Facade of your Xcontrol.  After I did this LabVIEW didn't hang.  The values didn't update in your cluster but the hang didn't occur.  You might need to do some more coding the case for "Mouse Up".
    This actually is bad advice.
    What it does is unregister the event refnum every time the VI is run, this means that the event only is registered during execution of the XControl.
    The fact that the FP gets locked means that there is a valid registration that has the 'Lock FP during processing'==True.
    For dynamic events you need to right click on the registration node and deselect that option.
    What might work is setting the timeout of the event node to -1 and not stop the while loop. However I am not sure what happens in these cases.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Fix axes in intensity graph with cursor

    Hi all,
    I try to use the intensity graph as an xy-input device. The user should be allowed to drag the cursor to enter the value. However, the user can always move the cursor outside the plot area, which causes the corresponding axis to rescale. I want to have strictly fixed upper and lower limits. Is there any way to achieve this? One possible solution would be to reset the min/max values every time the cursor was moved (and coerce the cursor position back into the range). A simpler approach would be appreciated!
    Regards,
    Matthias

    > I try to use the intensity graph as an xy-input device. The user
    > should be allowed to drag the cursor to enter the value. However, the
    > user can always move the cursor outside the plot area, which causes
    > the corresponding axis to rescale. I want to have strictly fixed upper
    > and lower limits. Is there any way to achieve this? One possible
    > solution would be to reset the min/max values every time the cursor
    > was moved (and coerce the cursor position back into the range). A
    > simpler approach would be appreciated!
    >
    You don't say what version of LV you are using, but if it is relatively
    recent, right click on the graph and go to Advanced and uncheck the
    option to have Cursors Scroll Graph. The user can still drag and
    release the cursor und
    er the edge of the graph, but this will not change
    the scales. You can pretty easily filter cursor points that are out of
    range and even write back to the cursor value if you need to. I believe
    that if there is data in the plot and the cursor is set to lock to the
    plot, then it cannot be dragged outside the data either, and that is
    another solution.
    Greg McKaskle

  • Updating xy graph with the last point different

    I want to display a simulation of the path of a rolling ball as updating xy graph.
    The actual last point of the plot should be different from the older points, I imagine e.g.a thick circle.
    The coordinates of the points I hold in two arrays, so I need a xy graph,
    when I used xy chart buffer to get un updating graph all points of the
    plot are displayed in the same way, stars, circles and so on.
    I

    Ok, so the solution is coming from what you've just said. One plot for the old positions I assume you want to display a certain number of points... e.g. the last 10positions and one plot for the current ball position.
    Tell me if this is ok...
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"
    Attachments:
    ball.vi ‏50 KB

Maybe you are looking for

  • Generate Quota for New Hire and existing employee

    Hi Guru I need your help/suggestion in the enclosed issue. The scenrio is that an emaployee (exisiting) is entitled for all the absence quota at the beginning of a year(i,e, on a calendar year).I am using TM04 However,the employees who join in the mi

  • Opening Document's using Document ID (DocIdRedir.aspx) results in Read-Only mode

    Hi, The document doesn't have Edit option when it opens through the DocIdRedir.aspx?DocId. Tried below below registry update solution and it doesn't provide the checkin/checkout options. do we have any other option/solution to enable the edit button

  • Having trouble with enhanced podcasts, Can anyone help me adjust my iPod?

    Whenever I listen to my enhanced podcasts through iTunes, I have no problems viewing the photos the podcaster included in the program. However, when I play the same podcast in my iPod, the photos will not show. I only see the timeline with the little

  • TV Programme won't play

    I'm new to iTunes, downloaded a TV show, and it won't play on my laptop (which exceeds the specs) without stuttering and freezing. I tried everything on the support page. Any ideas? Thanks in advance for any help.

  • Undo segment recovery wait

    Hi All; In an 10gR2 physical standby dataguard environment, i open standby db READ-ONLY for extraction. After a performance issue we've seen "undo segment recovery" wait events on database. The definition of "undo segment recovery" wait event: +"PMON