Problem with the rendering of JProgressBar in JTable

I have some problems with the rendering of JProgressBar in JTable. In the case of several lines, when a progress bar is updated, and its text is changing, then he painted all the progress bars in this column.

Here is my code I used to create the table:
--------------------------------------------------------------------------------------
JTable convertTable = new JTable(convertTableModel) {

            public Component prepareRenderer(TableCellRenderer renderer,
                    int rowIndex, int vColIndex) {
                Component c = null;
                if (renderer != null) {
                    c = super.prepareRenderer(renderer, rowIndex, vColIndex);

                    if (vColIndex == INDEX_CONVERT_STATUS) {
                        //System.out.println("c = "+c.getClass());
                        if(c instanceof JProgressBar) {
                            //System.out.println("inside = ");
                            c.setBackground(Color.BLUE);
                        }
                    }
                }
                return c;
            }

            public boolean isCellEditable(int rowIndex, int mColIndex) {
                if (mColIndex == INDEX_CONVERT_SELECT) {
                    return true;
                } else if (mColIndex == INDEX_CONVERT_STATUS) {
                    return false;
                } else {
                    return false;
                }
            }

            /*
             * JTable uses this method to determine the default renderer/
             * editor for each cell.  If we didn't implement this method,
             * then the last column would contain text ("true"/"false"),
             * rather than a check box.
             */
            public Class getColumnClass(int c) {
                if (getValueAt(0, c) != null) {
                    return getValueAt(0, c).getClass();
                }
                return null;
            }
        };
--------------------------------------------------------------------------------------

Then I applied on this table rendering engine

---------------------------------------------------------------------------------------
// Applying JProgressBar Renderer for convert table
        TableColumn col = convertTable.getColumnModel().getColumn(INDEX_CONVERT_STATUS);
        ProgressBarRenderer progressBarRenderer = new ProgressBarRenderer();
        col.setCellRenderer(progressBarRenderer);
---------------------------------------------------------------------------------------

Class code ProgressBarRenderer is as follows:
---------------------------------------------------------------------------------------
public class ProgressBarRenderer extends JProgressBar implements TableCellRenderer {

    private Hashtable ht = new Hashtable();

    public ProgressBarRenderer() {
        super(0);
        this.setMinimum(0);
        this.setMaximum(100);
        this.setStringPainted(true);
        this.setBorderPainted(true);

        UIDefaults defaults = UIManager.getDefaults();
        Font font = new Font("Arial", Font.BOLD, 12);
        defaults.put("ProgressBar.font", font);
    }

    public void setRowEnabled(int row, boolean enabled) {
        ht.put(row, enabled);
    }

    public void setForeground(Color c, int row) {
        //System.out.println("setString ht = " + ht.size() + "  row= " + row + "  Selected= " + (Boolean) ht.get(row) + " color= " + c);
        if (ht.isEmpty()) {
            this.setForeground(c);
        } else if (ht.size() == 1) {
            this.setForeground(c);
        } else if ((Boolean) ht.get(row)) {
            this.setForeground(c);            
        } else {
            this.setForeground(c);
        }
    }

    public void setString(String s, int row) {

        //System.out.println("setString ht = " + ht.size() + "  row= " + row + " text= " + s);
        if (ht.isEmpty()) {
            this.setString(s);
        } else if (ht.size() == 1) {
            this.setString(s);
        } else if ((Boolean) ht.get(row)) {
            this.setString(s);
        } else {
            this.setString(s);
        }

    }

    @Override
    public Component getTableCellRendererComponent(JTable table,
            Object value, boolean isSelected, boolean hasFocus, int row, int column) {
        
        //System.out.println("getTableCellRendererComponent = " + table);
        //System.out.println("Renderer ht = " + ht.size() + "  row= " + row + "  Selected= " + (Boolean) ht.get(row));
        
        if (ht.isEmpty()) {
            return this;
        } else if (ht.size() == 1) {
            return this;
        } else if ((Boolean) ht.get(row)) {
            return this;
        } else {
            return null;
        }
    }
}
---------------------------------------------------------------------------------------

I add the next line and rendered the progress column is follows:
   convertTableModel.addRow(new Vector());
   ((ProgressBarRenderer) convertTable.getCellRenderer(row, INDEX_CONVERT_STATUS)).setRowEnabled(row, false);
---------------------------------------------------------------------------------------

When I add the first row, it works fine, but when I add the second row, he painted the entire column.

Naturally, you will have problems if you set a string or a color of a table cell value when the class of the column is declared as integer. As I have already said, you need to spend some time with the tutorials.

import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.Random;
import javax.swing.*;
import javax.swing.table.DefaultTableCellRenderer;
import javax.swing.table.TableCellRenderer;

public class ProgressBarTableCellRendererExample {

  Random random = new Random();
  JTable table;

  public static void main(String[] args) {
    SwingUtilities.invokeLater(new Runnable() {

      public void run() {
        new ProgressBarTableCellRendererExample().makeUI();
      }
    });
  }

  public void makeUI() {
    table = new JTable(10, 1) {

      @Override
      public boolean isCellEditable(int row, int column) {
        return false;
      }
    };
    for (int i = 0; i < table.getRowCount(); i++) {
      table.setValueAt(0, i, 0);
    }
    table.getColumnModel().getColumn(0).
            setCellRenderer(new ProgressBarTableCellRenderer());

    JButton button = new JButton("Increment");
    button.addActionListener(new ActionListener() {

      public void actionPerformed(ActionEvent e) {
        increment();
      }
    });

    JFrame frame = new JFrame();
    frame.add(new JScrollPane(table), BorderLayout.CENTER);
    frame.add(button, BorderLayout.SOUTH);

    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.setSize(400, 400);
    frame.setLocationRelativeTo(null);
    frame.setVisible(true);
  }

  private void increment() {
    for (int i = 0; i < table.getRowCount(); i++) {
      Object value = table.getValueAt(i, 0);
      if (value instanceof Integer) {
        Integer oldValue = (Integer) table.getValueAt(i, 0);
        int newValue = Math.min(100, oldValue + random.nextInt(25));
        switch (newValue) {
          case 13: // and its multiples
          case 26:
          case 39:
          case 52:
          case 65:
          case 78:
          case 91:
            table.setValueAt("Failed", i, 0);
            break;
          case 100:
            table.setValueAt("Completed", i, 0);
            break;
          default:
            table.setValueAt(newValue, i, 0);
        }
      }
    }
  }

  private class ProgressBarTableCellRenderer
          extends JProgressBar implements TableCellRenderer {

    private TableCellRenderer stringRenderer =
            new DefaultTableCellRenderer();

    public Component getTableCellRendererComponent(JTable table,
            Object value, boolean isSelected, boolean hasFocus,
            int row, int column) {
      if (value instanceof Integer) {
        setValue((Integer) value);
        return this;
      } else {
        return stringRenderer.getTableCellRendererComponent(table,
                value, isSelected, hasFocus, row, column);
      }
    }
    // Override void validate(), invalidate(), revalidate(), repaint()
    // and all overloads of firePropertyChange(...) as no-ops
    // for efficiency
  }
}

DB

Tags: Java

Similar Questions

  • Problem with the rendering of the image in Photoshop CC2015

    Hi, I just bought PC especially for the Photoshop works (usually use Mac) and I have a serious problem with image rendering powered by the device driver (nvidia GTX980). Lines and other parts of my design are strongly serrated (it looks like the poor antialiasing) - even in an excerpt from 1:1 (100%), so it's really invisible before. Could you look at my screenshot and try to understand what is happening? In this State, it is totally useless to my job (I am perfect pixel). Help, please.

    On the screen:

    1 - view 300% of the severely affected hardware rendering (screenshot of view 100%) - on the left you see the battery icon?

    2. right - 300% view showing how it should look like in real life.

    2016-01-29 (3).png

    OK, I just found the solution. It's pretty simple and obvious in some respects if PS is using OpenGL as a main renderer, setting 3D graphics card will have a significant impact. Sailing... I just need to disable antialiasting FXAA in NVidia Control Panel. Now everything looks good as is.

    Problem solved.

  • I have a problem with the rendering of the table

    Hello

    I was looking at this problem and I tried with various tricks but it does not work. I have a table with many records, but when I do some operations and filter data, didn't all the lines. The result is there, but the rendering does not work properly and I do not understand how to solve this problem.

    I tried with autoHeighRows, contentDelivery = immediate and disable stretching of the column, but the result is the same. I do not know what else try.


    Can someone help me?


    Thanks in advance.

    There are only has only two links in the last column so no need to set its width to 208

    Change the width to 100 and check again

    In fact the problem is that your table is filled with the column width that's why scrolling is not displayed, you will need to provide a few more space (other than columns) table

    Set property of columnStretching of af: final table and the width of the last column to 100

    This should solve your problem

    Ashish

  • Problem with the renderer on C510A all-in-one

    HP Photosmart eStation C510A all-in-one printer: print/copy has stopped working.  I went through the troubleshooting and normal maintenance, nothing helps.  At one point a message indicated that the 'print rendering engine"had ceased to function.  This printer was bought almost two years ago and is no longer under warranty.  I guess this question will require to send it in for repair.  It should be fix?  Or should I buy a new printer?

    Thank you!

    Well, the problem seems to be resolved!  A piece of plastic came loose from somewhere inside the printer (found in the paper tray) and eventually he was blocking the movement of black ink.  Removed the offending piece of plastic and everything seems to be fine now.

  • We host our Web site and are having problems with the rendering of the site in a browser

    We have kept all our html files, css files, scripts, images etc to our server (which is where we have our previous site hoted). When we open our Web site, we get a "Directory Listing Denied" message.

    What should we do to get our site direct and responsible?

    The site works very well if you explicitly visit http://www.ament.com/index.html. The Phonebook list denied error you get when visiting http://www.ament.com is related to your web hosting setup. Contact your Web host for this problem.

    Thank you

    Vinayak

  • Firefox and serious problems with the police on the websites bloglike.

    Firefox on my computer has some serious problems with the police on some sites, such as: twitter, tumblr and a few other bloglike.

    Images:
    Twetter / thumblr / other

    Yes, it is more likely a hardware acceleration problem or a problem with the specific fonts (rendering).

    You can do a test of fonts to see if you can identify the corrupted fonts.

    You can use this extension to see what fonts are used for the selected text.

  • Problems with the Speedgrade color depth

    Hello everyone!

    As said in the title I have problems with the number of colors in Adobe Speedgrade.

    I would like to color - correct images my drone DJI using LUTs and, of course, build-in Speedgrade tools.

    Unfortunately, the use of the LUTs makes video appearance as there are not enough color-depth because you can see the bands in gradients (especially in the sky).

    I hope you can see the problem in the following screenshot.

    Scratches appear in Speedgrade preview, as well as in video rendering.

    So what can I do to avoid this scratches?

    Thank you in advance!

    Greetings

    Raphael

    Screenshot.jpg

    I have not bought any of the first LUT game I bought... 4 years back, now. Wow, how time flies...

    Why?

    Because I had problems with excerpts from tapes and rarely found one I liked "such what ', so I got to work the clip after you apply the LUT as much as if I started from scratch. So why pay for the dang thing?

    I found it a good common sense many people in publishing & work of colorist, there is a certain tech LUT can really be able to use, but those who are mainly for the spendy 'pro' movie, Reds, Arris and other cameras. For a film DSLR & drone, making its own tends to work MUCH better.

    And it is easy within the Sg.

    Take this clip... watch your litters, first. Move the slider Temp for the position that balances the red & blue tops, cursor Magenta to balance the red & green tops... then left offset slider far a channel can be a little below '0', 0 to sentence above and one a little higher... then with keyboard and mouse or a simple trackball, move the color slider controls rather than wheels "unlock" the trio Offset, match the bottom just above 0, reset the summits if necessary and then return to wheels.

    Move the controls in Gamma Luma needed to feel 'brightness', and you have a a neutralized clip. Shouldn't take more than 20 seconds to do the above, if that.

    Now using color wheels, started working for a 'vision' and of course use secondary as necessary to adjust certain colors/colours/brightness and maybe go to controls Shadow & Highlight to get finer control of two Luma and chroma on the edges... in general, it is best to bring the ends of the scale to neutral even with a look hot or cold for most of the signal.

    Get something you like and can be used for a large number of your clips, save it as an eye. You can just quickly apply to any other work.

    You want to use in PrPro? Easy... with the right button on the Look to the Sg, choose 'Export', and you get to the options... except that say a Cube of however many points you want to and tell him where to save it. I found that with my GH3, sometimes with work in the open air with a sky bright-ish with the Sun around but just outside of an edge banding is quite possible... and 'hand-kitchen' these clips or using a Cube 64 - point is necessary.

    Neil

  • Since I upgraded to CS6, I had problems with the permissions being changed on my files!

    Since I upgraded to CS6 I had problems with the permissions being changed on my files after that I have download on my server. I don't know how to fix this. My webhosting service says this is an issue on my end and it seems that CS6 has a CS5.5 with no glitch. How can I fix this to happen?

    Have you installed the 12.03 CS6 update yet?

    Adobe - Dreamweaver Support Center: Updaters

    12/12/12 The last update for Adobe Dreamweaver CS6 includes optimizations for the HiDPI screens, improves performance in Code view, rendering Live View and permissions of the FTP transfer problems addresses.

    Don't forget to restart your computer after installing the updates.

    Nancy O.

  • Problem with my rendering project

    Hello

    Today, I tried to make my last project in Premiere Pro CS6 download on youtube. With an estimated file size of about 2 gigabytes, I started the rendering process and waited for it to complete (about 50 minutes).

    After finishing with the rendering, I checked the file and what I saw, it was a 35 megabytes with the worst video quality file, one can even imagine. What is the problem with my first pro-. -.

    I put a lot of time and effort in my project and now it is not rendered correctly. The interesting thing is that the preview in full resolution within my first pro app seems much better than the result of rendering. WTF!

    Later, I tried the "rendering workspace" option which took about the same time (about 50 minutes) and 7 minutes of video previews... summarize 40 gigabytes.

    I'm like a little crazy and sad at the same time and can not really know what the problem is. Please help me.

    Here's my output parameters:

    H.264 codec

    1920 * 1080

    29.97 FPS

    high visibility and 5.1

    Bitrate: I've tried everything, from 8 to 100 (output still around ~ 40 MB)

    maximum depth

    and the maximum render quality

    Please mention if you would like more information about this as I will be happy to provide you with detailed information and excuse my bad English, it is not my mother tongue.

    As a rule; do the same sequence as the source. Choose the lowest flow with mixed images.

    Do not go to pal to ntsc.

    You can produce up to 1920 x 1080, if you increase the level.

  • Problem with the audio sampling during export

    I'm having a problem with my audio sampling rate. For some reason, it is set at 8 khz by default when I export. It wasn't a problem until the last update (2 weeks ago). I'll try and give all the info I can to the front. I also tried customer support... which was a nightmare.

    OK, the question that I address is that when exporting audio sampling rate is 8 kHz by default. Which to my knowledge has NO relevant use what so ever. Even when I set the file format to the h.264 format, he insists on the reset to 8 kHz. Even if I manually set all look rendering queue and click on output module again once it back the sampling frequency to 8 khz automatically of changes that I need to set it again. Why can it not only be fixed to 48000 like all other adobe products is and as it was two weeks ago. Does anyone have an answer?

    This problem is resolved by update fixes after effects CC (12.2.1), which is now available:

    http://Adobe.LY/AE_CC_1221

    Note the part at the end of this page on a crucial update for the creative cloud desktop application, which addresses serious problems with the SOUL, first Pro and After Effects.

  • Problems with the transfer of project of CS5 with Adobe dynamic link to CS5.5

    Hi all!

    Has anyone had the problem with the transfer of projects with Adobe CS5 at CS5.5 dynamic links?

    When I try to do the film hangs on to clips that are compositions of AE...

    The project of CS5 works perfectly.

    All the compositions of AE CS5 are transerred to AE CS5.5 compositions.

    All 'old' Adobe CS5.5 Pr project Hotlinks are replaced by the 'new' States (I mean, links for AE CS5 composition changed to links to the compositions AE CS5.5)...

    Any help will be appreciated

    Tried to play. Realize that a solution should be around redisplay, ' cos related compositions AE always displayed in yellow as if they were original footages - even I changed a composition within EI, just transitions, if they were, turns red in sequence Pr Pro...

    However, I was unable to re - make "Entire work" even after deleting all files of rendering, only 'effects in the work area.

    So I simply created a new sequence and copied and pasted all the clips of the original movie. Now, I have been authorized to "make any work area.

    This is!

  • Problem with the instruction FOR... Once again!

    Hello world

    Well, I'm still doing a slideshow of car using external files and can't see the end. The current movie is here:

    http://www.virtuallglab.com/projects.html

    I also enclose the code. My problem is I had initially set up an animation with 2 pictures slide with text and then wait 4 seconds before slipping outside, and then next photos and text would slip in and so on, using a setInterval.
    The problem is the loop FOR seems to ignore the setInterval and slides of the 'wait' service, so buckle up just quickly and get to the last picture, so now the example above, it comes the last picture (I = 9) and that's it!

    Can you do not include another function in a statement FOR. Or is there a way to tell the loop TO wait for all movement is complete?

    Any help greatly appreciated

    ***************************************************

    Mx.transitions import. *;
    Import mx.transitions.easing. *;


    for (i = 0; i < 10; i ++) {}

    var picLeft = "photos /"+ i + ".jpg"; ".
    var picRight = "pics /"+ i +"b.jpg";
    var txtToLoad = "text /"+ i + ".txt"; ".

    this.createEmptyMovieClip("leftHolder",1);
    leftHolder.loadMovie (picLeft, i, leftHolder.getNextHighestDepth ());
    leftHolder._x = - 200;
    leftHolder._y = 15;

    var leftTween:Tween = new Tween (leftHolder, "_x", Strong.easeOut, leftHolder._x, 10, 2, true);

    this.createEmptyMovieClip("centerHolder",2);
    centerHolder.loadMovie (picRight, i + "b", centerHolder.getNextHighestDepth ());
    centerHolder._x = 180;
    centerHolder._y = 250;

    var centerTween:Tween = new Tween (centerHolder, "FLF", Strong.easeOut, centerHolder._y, 15, 2, true ");

    Text._x = 600;

    myData = new LoadVars();
    myData.onLoad = function() {}
    text.carText.text = this.content;
    };
    myData.load (txtToLoad);

    var textTween:Tween = new Tween (text, "_x", Strong.easeOut, text._x, 420, 2, true);

    myInterval is setInterval (wait, 4000);.



    function wait() {}
    var leftTweenFinished:Tween = new Tween (leftHolder, "_x", Strong.easeOut, leftHolder._x,-200, 1, true);
    var centerTween:Tween = new Tween (centerHolder, "FLF", Strong.easeOut, centerHolder._y, 250, 1, true ");
    var textTween2:Tween = new Tween (text, "_x", Strong.easeOut, text._x, 600, 1, true);
    clearInterval (myInterval);

    }
    }


    ***************************************************************************************** ***

    There is no way to tell a loop to wait for. This isn't what they are doing.

    All of the loop for runs (if possible and it is not a kind of infinite loop) completely before whenever the image is rendered.

    If you want to spread in time, you must use the setInterval - but not inside a loop for! If you do this, you immediately set, but the number of intervals of your loop. In this case you will also assign IDS for these intervals to the same variable, replacement effectively the value so you won't ever be able to erase most of these intervals.

    That means rethink you the entire structure. Set up a kind of counter and limit like this:

    var slidesToShow:Number = 10;
    var curSlide:Number = 0;

    Then have your setInterval the curSlide increment each time it is called, and check to see if it showed all the. This is where the "loop".

    As for the other part of your question - Yes you are actually two different issues in progress - once again, you can't do a loop for, wait for anything. So no there is no way to pause while you wait for your pre-teen at the end. But you can be notified when a Tween completes.

    See the documentation on the tween class in the help files. You will find the onMotionFinished event. If you configure one of those to begin with everything that needs to be started when the Tween is finished.

    You should also use the MovieClipLoader class to load your images, because you don't know how long it will take to load. Using this class, you get a nice event (onLoadInit) that tells you when the asset is ready for use.

    Finally, I think that you might want to use instead of setInterval setTimeout. It runs only once, whereas setInterval repeat forever. So I think that your algorithm would be something like that.

    1. load creditrice
    2. when ready to animate in and set onMotionFinished Manager
    3. when the query is finished start loading assets and setTimeout for 4 seconds.
    4. when 4 seconds is up or the clip is loaded (no matter what either takes longer) go to 2 and repeat.

    If this is going to be run locally on a hard drive or CD you will have no problem with the length of time that it takes to load external assets, but if it's on the web it's going to take time.

  • Anyone having problems with the new iPhone LTE connection 7 on Verizon?

    I am now on my iPhone second 7 with Verizon. I had four phones for me and my family. I have now had issues where I have no signal in the same areas where my signal allows to be strong. I can't solve the problem with the activation/deactivation of the airplane and then mode again in normal mode. My phone will rest with no signal for 5 minutes, then going to LTE with three bars. I also had the problem where I had only 1 x signal, while my son standing right next to me has LTE. And he had the same questions, where I'm on LTE and it gets no signal. I use to have LTE where I live and work all the time, now it's spotty at best. Apple has replaced me and my sons iPhones but not luck. Still do. Any ideas or an any other suffering?

    (1) go to settings/cell phone/cellular data Options/enable LTE and select ONLY the DATA. This seems to solve the problem (as a temporary solution) for most of the people affected by this problem. The bad part is your request might not be as clear (since they cannot use the highest LTE signals) and you can make calls and data at the same time. But it does not solve the issue.

    (2) there are rumors (but you didn't hear that from me that we only are not supposed to discuss beta software program Apple in this forum) that the new version of Apple Beta for iOS (which also includes an update of the software carrier Verizon to 26.0) seems to solve this problem. So, there's a light at the end of the tunnel.

  • Sierra Siri, «I have some problems with the connection...» »

    Guys,

    I just installed Sierra on my MacBook Pro (retina, 13 inches, early 2015) version 10.12. I can't get Siri at work, the app tracks, he hears what I'm saying, but after awhile, he returns with two messages, both on the screen and verbally "I have some problems with the internet connection. Please try again in a moment. "&"Sorry, I'm having problems with the connection. Please try again in a moment. »

    Any ideas?

    Thank you

    N

    It's a network problem.

    Check the proxy settings that blocks maybe, or a firewall.

    System Preferences > network > Advanced (for your current connection) > Proxies

    Something there?

  • Siri does not (problems with the connection)

    Hello

    I installed macOS Sierra yesterday. Everything seems to work fine, except Siri. With Siri I always get an error message "I am having some problems with the connection. Please try again in a moment. ». But this seems to appear every time. The network connection works fine, I can't access the Internet without problem.

    No idea how solve the problem?

    I use an iMac (27 inch, mid-2011). Internal microphone is connected, I also see the 'waves' change while I am speaking.

    Concerning

    Thomas

    Hey, thochstrasser. Thank you for using communities of Apple Support.

    It seems that Siri is reluctant to make his debut on your iMac after upgrade to Mac OS Sierra. I want to make sure that you get the benefit of this new feature on a Mac.

    1 try safe mode if your Mac does not start -even if your iMac to market, safe mode makes sure it starts successfully.

    2. How to test a question in an another user account on your Mac - since this is most likely a software problem, test to another user will indicate if it is right to your user account or throughout your system.

    3. use Time Machine to back up or restore your Mac - if it seems to be systemic, the next step should not cause problems. But it is always better "to have" a backup to the "need".

    4. on OS X Recovery - the issue as part of the operating system, reinstall should do.

    Have a great weekend!

Maybe you are looking for

  • Satellite 1410-902: what is this device has a WiFi antenna?

    Hello. I have Toshiba S1410-902 and I want to make this computer works in wireless local area network. I am concidering buying card wifi Mini-PCI Slot, not the PCMCIA card. This is why I have a few questions: 1. this model (s1410-902) there "build-in

  • Wifi on HP Pavilion Sleekbook 15 commectivity limited problem

    Hello I have problems with my Wifi on my HP Pavilion Sleekbook 15 (product number: D2H26EA-#ABD)I've updated Windows 8 to 8.1 Windows as well as assistance such as Qualcomm Atheros QCA9000 series Wireless LAN Driver for Microsoft Windows by the sugge

  • Pavilion dm1-3210us Notebook PC - RAM upgrade

    I have a Pavilion dm1-3210us laptop and want to upgrade the memory.  It came with 3 GB (a 2 GB and a 1 GB memory modules).  Can I replace the 1 GB with a 4 GB or which will cause problems?  I'm running Windows 7 64 bit and my manual says the laptop w

  • Extract the matrix element

    I am trying to make the detection of peaks on a waveform. I use the waveform peak detection VI for that. One of the outputs of this VI is a picture of the 'locations' of each peak. The table of locations is displayed on the front panel, and it displa

  • IMAQ find edge.vi - good setting options

    Try using IMAQ find edge.vi I always get a weird error saying a word about the conflict of type with typedef "Edge options.ctl. Please see the attached screenshot. Is it fair to Labview bug or did I get anything wrong? Thank you very much for your he