How to draw a XY chart in labview 2011

I'm new to labview2011. I need to plot a graph XY where X componnets are counties motor and components are intensity of photodetector which is aquied using materials DAQ 6009. I ' am not able to trace engine count versus intensity always comes to verses intensity. So please help me in this regard, the code is attached


Tags: NI Software

Similar Questions

  • How to run the VI developed in labVIEW 2011 in its previous versions

    Hi all

    I am currently using LabVIEW 2011 in my PC at home.

    But, all my school's computers are installed with LabVIEW 2010 and 2010 SP1.

    How to run the VI developed in LabVIEW 2011 in its previous versions?

    Is there any conveter why?

    Concerning

    Prasanth T

    Open the VI in LabVIEW 2011 and use the file menu option, save for the previous Version.

  • How to empty the group clear chart history labview 2011

    Hello

    Can someone help me?

    How to clear history of cluster diagram data using labview 2011

    Hi qbell,

    the example is suitable for any type of graph. Just wire a table empty clusters or, even easier, create a constant to your graphic story property node.

  • How to draw tanks and valves in labview 6

    Hi all

    I am a beginner in LabVIEW. As a newcomer, I made small programs on the flashing LEDs and check the water level in the tank and so on. Now, I am doing a project on the mixer. While exploring through the examples that I've seen a more or less similar to the HELP option example. In the GUI there are tubes and tanks and valves. Now my question is how I'll be able to draw these pipes, valves etc. in the façade of labview?

    Thanks in advance

    Rohini

    NB: I enclose the photo of the façade.

    You asked essentially the same question in July 2010, and it was stated that valves and tanks came the DSC module. If you can not buy it then you need to use Control Editor of LabVIEW to customize the controls. The LabVIEW help describes how to customize controls. You can also search the site FOR examples, like this:

    http://decibel.NI.com/content/docs/doc-4819

  • Drawing of smooth circles in labview

    Hello

    I use the VI 'Draw circle of RADIUS' draw a chart areas within a picture box. All its fine, except that the edges of the circle are not exactly smooth (see attached photo).

    I tried searching on the net but could not find anything very useful.

    Any ideas on how to make the edges nice and smooth?

    Hello
    The circle is not smooth as no anti-aliasing is done with the image drawing screw to make it appear smooth, you will need to implement an anti-aliasing algorithm in the image control. This isn't something I've ever seen do. You can download MSChart from Microsoft, it's just a free .NET component and code that you can download. Thoric has done a very good example here https://decibel.ni.com/content/docs/DOC-9946 you could start by drawing a pie chart for you.

    Mike

  • How to draw a box under a trace of waveform?

    Hi all

    I have a graph of waveform of 3000 point showing a series of peaks.  For one of these peaks, for which I know the beginning and end clues, I would draw a box under the waveform on the graph, to highlight its position programmatically.  I don't know if there is a way to do it.

    I figured out how to draw cursors at the beginning and at the end, but finally I do for multiple peaks, and forest of cursors quickly becomes confused.  A simple shaded box works much better.

    Any ideas?

    Many thanks in advance,

    RipRock99

    A great thank you GerdW!

    The code LV was very close to what I wanted to do and is easy to use to determine how to make my code produces the result I wanted.  Basically, I added another form of wave to my chart, using my known indices x to set the values of Y for the areas I wanted to be gray as + infinity and leaving the rest to =-infinity.  I then plotted this second graph on top of the original waveform and the property node to set the fill indicator for - infinite.

    That does not answer the general question of how to draw a filled rectangle with the coordinates on a graph, but this does not fix what I wanted to achieve.

    Bravo and thanks,

    RipRock99

    PS: I'm including a preview of the result and a snapshot of the code used to define the property node programmatically.  I do not understand my code just as it is complicated, and I would also need to add a large set of data.  I hope that the pictures are enough to help someone else referencing this Council!

  • How to draw the graph of output?

    Hello

    How to draw the graph of an exit? is there any api for it?

    The short answer is that there is no API, but you can create your own field if you want to, and here are some samples:

    http://supportforums.BlackBerry.com/T5/Java-development/create-graph-fields/Ta-p/444968

    I recommend the search before you ask questions to see if other people have asked similar questions.  If you type chart in the search box you will find other similar topics.

  • How to draw arrows?

    Copy the following code draws a simple chart of the XYLine
    import javafx.application.Application;
    import javafx.event.EventHandler;
    import javafx.scene.Scene;
    import javafx.scene.chart.CategoryAxis;
    import javafx.scene.chart.LineChart;
    import javafx.scene.chart.NumberAxis;
    import javafx.scene.chart.XYChart;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.layout.BorderPane;
    import javafx.stage.Stage;
    
    public class XyChart extends Application {
    
        @Override
        public void start(Stage stage) {
           stage.setTitle("Line plot");
            
           final CategoryAxis xAxis = new CategoryAxis();
           final NumberAxis yAxis = new NumberAxis(1, 21,0.1);
           
           yAxis.setTickUnit(1);
           yAxis.setPrefWidth(35);
           yAxis.setMinorTickCount(10);
               
           yAxis.setTickLabelFormatter(new NumberAxis.DefaultFormatter(yAxis){
                @Override
            public String toString(Number object){
                    String label;
                    label = String.format("%7.2f", object.floatValue());
                    return label;
            }
        });
    final LineChart<String, Number>lineChart = new LineChart<String, Number>(xAxis, yAxis);
    
           lineChart.setCreateSymbols(false);
           lineChart.setAlternativeRowFillVisible(false);
           lineChart.setLegendVisible(false);
                   
           XYChart.Series series1 = new XYChart.Series();
            
            series1.getData().add(new XYChart.Data("Jan", 1));
            series1.getData().add(new XYChart.Data("Feb", 4));
            series1.getData().add(new XYChart.Data("Mar", 2.5));
            series1.getData().add(new XYChart.Data("Apr", 5));
            series1.getData().add(new XYChart.Data("May", 6));
            series1.getData().add(new XYChart.Data("Jun", 8));
            series1.getData().add(new XYChart.Data("Jul", 12));
            series1.getData().add(new XYChart.Data("Aug", 8));
            series1.getData().add(new XYChart.Data("Sep", 11));
            series1.getData().add(new XYChart.Data("Oct", 13));
            series1.getData().add(new XYChart.Data("Nov", 10));
            series1.getData().add(new XYChart.Data("Dec", 20));
     
            BorderPane pane = new BorderPane();
            pane.setCenter(lineChart);          
            Scene scene = new Scene(pane, 800, 600);
            lineChart.setAnimated(false);
            lineChart.getData().addAll(series1);       
             
            stage.setScene(scene);
            stage.show();
        }
    
        public static void main(String[] args) {
            launch(args);
        }   
    }
    I like to shoot arrows on the table by left click of the mouse button and moved, as in this example

    [http://s8.postimage.org/5xgu0j6kl/A02480.png]

    How to do this?

    Thank you!

    Published by: 932518 on November 6, 2012 4.32

    Hello. It is possible to shoot arrows on a chart. Please try the updated example the:

     import javafx.application.Application;
    import javafx.event.EventHandler;
    import javafx.scene.Group;
    import javafx.scene.Scene;
    import javafx.scene.chart.CategoryAxis;
    import javafx.scene.chart.LineChart;
    import javafx.scene.chart.NumberAxis;
    import javafx.scene.chart.XYChart;
    import javafx.scene.control.Label;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.layout.BorderPane;
    import javafx.scene.paint.Color;
    import javafx.scene.shape.LineTo;
    import javafx.scene.shape.MoveTo;
    import javafx.scene.shape.Path;
    import javafx.scene.shape.Polygon;
    import javafx.stage.Stage;
    
    public class XyChart extends Application {
         Path path;
         BorderPane pane = new BorderPane();
        double startx = 0;
        double starty = 0;
        double endx = 0;
        double endy = 0;
    
        public static void main(String[] args) {
            launch(args);
        }
    
        @Override
        public void start(Stage stage) {
    
            final CategoryAxis xAxis = new CategoryAxis();
            final NumberAxis yAxis = new NumberAxis(1, 21, 0.1);
            yAxis.setTickUnit(1);
            yAxis.setPrefWidth(35);
            yAxis.setMinorTickCount(10);
            yAxis.setTickLabelFormatter(new NumberAxis.DefaultFormatter(yAxis) {
                @Override
                public String toString(Number object) {
                    String label;
                    label = String.format("%7.2f", object.floatValue());
                    return label;
                }
            });
            final LineChart lineChart = new LineChart(xAxis, yAxis);
    
            lineChart.setCreateSymbols(false);
            lineChart.setAlternativeRowFillVisible(false);
            lineChart.setLegendVisible(false);
    
            XYChart.Series series1 = new XYChart.Series();
    
            series1.getData().add(new XYChart.Data("Jan", 1));
            series1.getData().add(new XYChart.Data("Feb", 4));
            series1.getData().add(new XYChart.Data("Mar", 2.5));
            series1.getData().add(new XYChart.Data("Apr", 5));
            series1.getData().add(new XYChart.Data("May", 6));
            series1.getData().add(new XYChart.Data("Jun", 8));
            series1.getData().add(new XYChart.Data("Jul", 12));
            series1.getData().add(new XYChart.Data("Aug", 8));
            series1.getData().add(new XYChart.Data("Sep", 11));
            series1.getData().add(new XYChart.Data("Oct", 13));
            series1.getData().add(new XYChart.Data("Nov", 10));
            series1.getData().add(new XYChart.Data("Dec", 20));
    
            pane.setCenter(lineChart);
            Scene scene = new Scene(pane, 800, 600);
            lineChart.setAnimated(false);
            lineChart.getData().addAll(series1);
    
             path = new Path();
              path.setStrokeWidth(1);
            path.setStroke(Color.BLACK);
    
            scene.setOnMouseReleased(mHandler);
            scene.setOnMousePressed(mHandler);
            pane.getChildren().add(path);
            stage.setScene(scene);
            stage.show();
        }
        EventHandler mHandler = new EventHandler() {
            @Override
            public void handle(MouseEvent me) {
    
                if (me.getEventType() == MouseEvent.MOUSE_PRESSED) {
                    startx = me.getX();
                    starty = me.getY();
                    path.getElements().add(new MoveTo(startx, starty));
    
                } else if (me.getEventType() == MouseEvent.MOUSE_RELEASED) {
                    endx = me.getX();
                    endy = me.getY();
                    path.getElements().add(new LineTo(endx, endy));
    
                    Polygon arrow = new Polygon();
                    arrow.getPoints().addAll(new Double[]{
                                0.0, 5.0,
                                -5.0, -5.0,
                                5.0, -5.0});
    
                    double angle = Math.atan2(endy - starty, endx - startx) * 180 / 3.14;
    
                    arrow.setRotate((angle - 90));
    
                    arrow.setTranslateX(startx);
                    arrow.setTranslateY(starty);
    
                    arrow.setTranslateX(endx);
                    arrow.setTranslateY(endy);
    
                    pane.getChildren().add(arrow);
    
                }
    
            }
        };
    }
    
  • Learn how to draw correctly

    You guys should learn how to draw your windows properly on the screen. There is a company called Microsoft which makes my operating system, the guys maybe you should contact them and get advice.

    I'm using the latest drivers from Microsoft. Can you ask them to fix the drivers? / s

  • How to change a file lvproj in LabVIEW?

    Hi all

    I have a complex project with a number of specifications of generation.  Each of these build sheet has the inside version number in several places.  Opening each build specification takes looooong for LV to treat, so the chore of bumping the version numbers on this project is a major pain.

    It works:

    • Close the project

    • Open the .lvproj file in Notepad ++

    • Find and replace if necessary

    • Save the file

    • Open the project in LV

    I just wrote a script from LV to do other things before generation and when I try to encode search and replace in labview (with reading from and writing to a text file), the project file will not be opened because it is corrupt.

    I guess it's a matter of unicode, but I don't know how to fix it.  Any tips?

    The XML code is still valid? I think you can tell by opening it in Internet Explorer. Simply make a copy of your .lvproj with the .xml extension and do a file/open in Internet Explorer.

    How can you "Find and replace" in LabVIEW? You use the features in xml?

  • How do I MODEL A TANK in LABVIEW

    I WANT TOIMPLEMENT a CONTROLLER FOR a TANK of pid. I HERE to KNOW HOW to MODEL GAVE TANK IN LABVIEW Please HELP ME...

    If you have the Control Design and Simulation Model, we already have fully functional examples on this subject. Please open the finder example and go in "control and Simulation > monographs > Process Control > Horizontal cylinder and tank with level control. or just open it directly from the file system:

    C:\Program NIUninstaller Instruments\LabVIEW 2011\examples\Control and Simulation\Case Studies\Process Control\Horizontal Cylinder\horizontal cylinder non-linear reservoir with level control.vi

    Now, notice that it is a "horizontal cylinder tank. If you have a typical tank, you need to change the equation that is solved.

    Hope this helps

  • How to implement the wafer map using LabVIEW?

    Hello LabVIEW Masters!

    I have a project which includes control and searching for information on a PROBER. One of the difficulties I have now is how to implement a WAFER card using LabVIEW. According to the requirements of my client, the element of pads varies between 6 k and 23 k. I guess that do everything (a = a ctl/indicator led) will be a hell of a task, especially on how to effectively manipulate each elements. Does anyone have a better idea on the way whose that?

    Please, I seriously need your help...

    Thank you and best regards,

    Dennis DG

    Hi Dennis,

    This wafer GerdW post card appears to me as a sort of histogram (for example http://www.ni.com/white-paper/4158/en#toc3);

    Altenbach post well this example that shows how to use a plot of intensity to create a 2d histogram:

    http://forums.NI.com/T5/LabVIEW/overlay-plots-as-intensity-graph/m-p/211222#M119248

    Learn how it works and try to adapt it to your specific task.

    Alex

  • How to get the evaluation version of labview for linux mint

    Hello

    Can anyone suggest me how to download the evaluation software of labview 2014/15 for linux mint?

    I knew the trial versions are only available for windows.

    Thanks in advance

    Best regards

    Manasa M

    According to this information, the Mint is not a Linux Distribution supported: http://www.ni.com/product-documentation/52786/en/

    I can't find the linux version on the page of downloads-I suggest you ask OR through your local office to see if they can provide you with a copy.

  • How to draw all the info my old to my new laptop computor

    Original title: draw all the information in my old laptop to the new

    How to draw all the info my old to my new laptop computor

    Hello

    1. What are the operating systems installed on both computers?

    2 you want to transfer all the settings from the old computer to the new computer?

    You can use Windows Easy Transfer to perform the task.

    http://Windows.Microsoft.com/en-us/Windows7/products/features/Windows-easy-transfer

    Hope this information helps

  • How to draw graph wrt times

    I m new to labveiw and this forum... anyone can tell how to draw simple

    graphic analog I / p with respect to time...?

    Why don't you do something like that? After the back if you have any questions.

Maybe you are looking for

  • don't automatically load pages

    I use Chrome for 12 FF (got tired of him constantly crashing); now try 16.seems pretty stable BUT... with Chrome, I had set it up as default browser, a shortcut in the start menu and ready to open 5 tabs at startup (it loads while I go outside to hav

  • the display of the 6.0 source code?

    It used to be under DISPLAY, the display of the 6.0 source code?

  • HDD upgrade on Satellite L30-149

    Hello I want to change my hard drive of 80 GB to 320 GB. I'm computer Toshiba Satellite L30-149.I hope someone try it before and it works. If someone can Swedish please answer me too... Good day. MVH Emilia

  • How can I burn a DVD in Windows Media Center with the closed captioning information included?

    I recorded a program in Windows media center.  When I read the program, it displays the closed captioning information.  If I burn a DVD program closed captioning information do not display during playback.  How can I burn the DVD to include captionin

  • Clock loses time (after the recent repair) Windows 7

    I had a problem with my computer was off for four days, the button "power on" he had set. Now, my clock seems to be wasting time (when a computer is turned off).  I keep resetting and synchronization of the time, but when or hibernation, he loses tim