How to plot XY graph from 2 input of dynamic array ? ...

I have 2 problem when I plot XY graph with 2 dynamic array :
- I want to make the graph look like sweep chart. But it's seem not possible to use waveform graph?
- The graph shoul move from left to right , then right to left, then left to right,.....
Any one can give me some hints?  Thanks alot.
Attachments:
U1.PNG ‏21 KB
XY radom value input.vi ‏147 KB

I have to make Y change  from 0-10, then 10-0,.... Any one can help me to make it better?
- How I shift the graph?
Attachments:
working_increse_decrease.vi ‏20 KB

Similar Messages

  • How to plot a graph from text file?

    This is driving me nuts!
    I would like to plot a list of numbers in a text file to a graph. Each munber is on a new line, like this -
    345
    356
    378
    379
    345
    etc.
    I managed to import the file and split it with the 'Spreadsheet to array' function but can't get much further than that.
    Help would be much appriciated.
    Ben H

    You just need to use the Read From Spreadsheet function and wire a 'True' to the transpose input. Wire the 1D array output to a graph.
    Message Edited by Dennis Knutson on 10-20-2006 12:40 PM
    Attachments:
    Read From Spreadsheet.PNG ‏28 KB

  • How to create scrolling graph from input values?

    Hi i'm new here, I'm trying to build a new concept for an interface inside an operating theatre - What I was trying to do (to start with) was make a line dynamically draw itself from a set of values (which I have in an excel spreadsheet) - gradually revealing itself over time like in the screens you see on medical drama's. How would I go about doing this?
    Thanks for your time,
    marksy
    PS Using CS4 if thats relevant

    Well first off you need to store your data somewhere, I suggest XML. Then you can use this data to draw a graph dynamically using the drawing api. To draw a single line you could do something like this.
    myClip.graphics.moveTo(0,0);
    myClip.graphics.lineTo(point1.x, point1.y);
    myClip.graphics.lineTo(point2.x, point2.y);
    To animate that you would simply need to interpolate a point that lies on the line connecting point1 and point2. Then you could ease your way to the end point (point2) and redraw the line at each frame. Its not very difficult to do once you are comfortable with the drawing api.

  • How to plot waterfall graph in vb6 from offline data

    How to plot waterfall graph in vb6 from offline data?The data load from SQL Server Database.Thanks.

    asrol,
    If you look at the Plot Styles example in the folder I mentioned in the previous post there is a section of code there that you might want to refer to in order to recreate your data.
    '=============================================================================
    ' Plot Curve Button Handler
    '=============================================================================
    Private Sub PlotCurve_Click()
        ' Create curve data
        Dim x(40)
        Dim y(40)
        Dim z(40)
        For i = 0 To 40
            x(i) = Sin(i / 3#)
            y(i) = Cos(i / 3#)
            z(i) = i
        Next i
    In this example they create 3 arrays to represent the three dimensions of the array. For your case if you were to plug your data into two of the array (axes) that would give you the data for the channels, then you can simply input a constant for the third array it would produce a single line of your data as shown in your example GIF.  You can then repeat this process for each set of data, with a new constant value for that third axis, and it should manually create a graph that will look something like you desire.
    John B.
    Applications Engineer
    National Instruments

  • How to Send Multiple Plot XY Graph from LabVIEW to Microsoft Excel

    The link below describes exactly what I would like to do, however the link to the solution/work around does not work.
    Has anyone got an alternative solution?
    http://digital.ni.com/public.nsf/allkb/CFD30D5E9C01AB5386256CFB0082AF3E

    Please check the link again as it seems to be working fine now.
    How to Send Multiple Plot XY Graphs from LabVIEW to Microsoft Excel:
    http://digital.ni.com/public.nsf/allkb/CFD30D5E9C01AB5386256CFB0082AF3E
    The standard Excel Insert Graph.vi cannot insert multiple XY Graphs to Microsoft Excel, so you will need to use the Report Generation Toolkit for Microsoft Office.  You will find a link to an example program at the bottom of the page.  I have also attached it below.
    Attachments:
    example.zip ‏35 KB

  • How to plot waterfall graph in vb6.Attach​ed sample graph for your reference.

    Thanks John for your answer. Attached file the sample graph what i really want to plot it.Any body can help me.Thanks.
    Attachments:
    waterfall.gif ‏81 KB

    Hello asrol,
    Please try to post replies under the same thread so that it is easier for everyone to keep track of your issue. Thanks!
    Original thread: How to plot waterfall graph in vb6 from offline data
    John B.
    Applications Engineer
    National Instruments

  • How to  plot a graph in JSP

    How to plot a graph in JSP

    Hi!
    You can use jfreechart.
    It is a good tool and if you search on Google you can find more info and more web examples (files, .war, ...)
    Bye.

  • How to plot bar graph in the real time?

    Hi guys
    I have n row and 3 column array, n will vary according the time, for example t=10ms, n=1;t=20ms, n=2;..., I would like to display all the data of the array in the bar graph  in real time. I tryied with example "array to bar graph demo.vi" but very time, only one row was displayed.
    Could anybody help me?
    Many thanks. 
    Sorry I don't know how to capture the picture from VI, so I pasted it diagram to word document.
    Attachments:
    question.doc ‏240 KB

    Where did you get this example. I can't find it listed in the current shipping examples.
    Also, posting a small image of a section of a block diagram is not much to work with. You are using local variables and a sequence structure. Neither one is a good sign. If you would simply post the actual VI (and any subVIs), it would be much easier to see what you mean.

  • How to Change the Fields from Input mode to display mode

    Hi experts,
    Here is my business requirement. I need to show certain fields in the PRICING TAB OF SALES ORDER  in display mode. Now for this i am using the BADI definition CRM_PRICING_BADI.
       Now, can anybody tell me how to change the field type from input mode to change mode?

    Hi Karan,
      In your BADI has a parameter CT_INPUT_FIELD_NAMES with one field called CHANGEABLE with values:
         Field Can Be Changed
    A     Field Cannot Be Changed
       Assing this values to your fields according with your requirements.
    Regards.
    Manuel

  • How to plot 3D graph

    I try to plot data like this picture attached . is there anyone who know how to plot three axis on same graph  .  And point of Three peak value is marked as point.
    Help me. is it possible in labview? See JPG file
    Attachments:
    SDC11183.JPG ‏2664 KB

    Duplicate
    Just stick to one thread and be patient - someone will be able to help, but the vast majority of people here are unpaid volunteers.
    -CC
    "If anyone needs me, I'll be in the Angry Dome!"

  • How to show the graphs from 16channels or more at one time

    Hi.
    I am using labview with pci-6031e board.
    Is there a efficient way to show the graph from 16 channels which acquire the temperature with thermocouple, or to show just one specific graph that I want.
    I followed these steps.
    1.in examples from the labview program,I`ve used the source of acquring the multi-temperatures.
    2. used the index array to devide each temp. and connected this to graph in the case structure.
    but it requred too many space,and doesn`t look good.
    Thank you .

    You can set a state machine doing the following: Put 17 controls, one for each temperature and one for all. Inside the case structure, wire one case for each temperature, bundling x and y arrays into a cluster, and then building an array (of 1 element). In the all case bundle each temperature and build an array of all. Put the array output into the graph... and it's done.
    Hope this will feed your needs, and if you want an example... just ask

  • How does cRIO transfer information from input I/O module to the FPGA

    I am using 3 different modules with those caracteristcs:
    Module 1:
    Resolution: 0.03      Default FXP format: 16,7    FXP resolution: 0.002
    Module 2:
    Resolution: 5.9 10-7      Default FXP format: 24,4   FXP resolution: 9,5 10-7
    Module 3:
    Resolution: 61 10-7      Default FXP format: 26,5   FXP resolution: 4,7 10-7
    The default FXP format is too long (fractional part) in all the cases. Why? Maybe, the transfer from input I/O module to the FPGA is through a fixed FIFO,or through the RAM in FPGA and the FXP representation in it?
    thanks

    Hola,
    El tamaño de los datos tiene una relación directa con la resolución de cada módulo. Si los módulos están trabajando en modo calibrado, retornarán un dato en unidad de ingeniería a través de un tipo de dato fixed point de tamaño acorde a la resolución del módulo. Si lo deseas, puedes cambiar el modo de trabajo siguiendo las instrucciones de este enlace.
    Un saludo.

  • IP: How to hide currency/unit from input-ready query headers?

    Hi,
    Is there a way to hide currency/unit from input-ready BEx web query headers? I've used NODIM-concept for read-only reports, but with input-ready it won't work since formulas cannot be input-ready. Is there a setting somewhere or workaround? The web query is published by WAD.
    Thanks!
    Aki

    Hi Aki,
      If you wanna do this in input-ready query, there is only one scenario: you restrict 0UNIT and 0CURRENCY as one certain constant value for the 'Characteristic Restrictions' in the 'Filter', and DON'T set the according 'Can Be Changed at Execution' selected. Then the 0UNIT and 0CURRENCY can be put into 'Free Characteristics', no neccessary moving them to data area.
      If there're multiple value for 0UNIT or 0CURRENCY for your planning, you can't hide them in data area of INPUT-READY query, since they belong the dimension 'U'.
    Hope this will help.
    Gerald

  • How to run Endeca Graphs from command Line

    Hi,
    I would like to know if there is any way to run Endeca Graphs from command line in Windows.
    Thank you,

    The correct way to execute a graph using the command line in windows is.......
    Execute the following command from the project folder:
    C:\Oracle\Endeca\Discovery\3.1.0\IntegratorETL\configuration\org.eclipse.osgi\bundles\5\1\.cp\lib\bin\clover.bat -plugins "/C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/configuration/org.eclipse.osgi/bundles/5/1/.cp/lib/plugins;/C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/configuration/org.eclipse.osgi/bundles/6/1/.cp/lib/plugins/;/C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/configuration/org.eclipse.osgi/bundles/9/1/.cp/lib/plugins/;/C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/configuration/org.eclipse.osgi/bundles/14/1/.cp/lib/plugins/;C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/configuration/org.eclipse.osgi/bundles/21/1/.cp/lib/plugins/;/C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/configuration/org.eclipse.osgi/bundles/23/1/.cp/lib/plugins/;/C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/plugins/com.endeca.latitude_1.0.0/lib/plugins/;/C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/configuration/org.eclipse.osgi/bundles/358/1/.cp/lib/plugins/" -noJMX graph\graph_name.grf
    Our costumer needed to run some ETL process from ODI and once it finished start a Clover ETL process (automatically). So we created a .bat file witth the above command and then in ODI we created a package with all ETL interfaces and the last step of the package was a OScommand component that excecuted the .bat script from the Endeca's project folder.
    Hope you find this post helpfully.

  • Hw can we plot a graph from the data given in a flat file

    i need a program that reads a file with 2 columns:
    - time in minutes for the x axis
    - value (e.g. temperature, heart freq.) for the y axis
    Plot the last m minutes, the y axis shall have a range from min...max.
    Start with parameter values m=5, speed s=1, min=20, max=120.
    After m=5 minutes, the graphical display shall plot the curve of the
    last 5 minutes. In other words, you have to implement a sliding window
    with a 5 minute history
    The speed s is useful for testing, 1=real time, 10=10 times faster.
    To implement the real time behaviour, you have to let the program wait the
    time interval between two values. The time interval is not constant.
    A sample file looks like this (lines 1..3 are always comments):
    -------8<-------cut-here-------8<-------
    Logfile of program temperature_monitor.cpp
    Temp sensor #42, range 30..60 degrees Celsius
    2007-06-21 20:30
    0.017737 45.2
    0.045122 42.7
    0.073591 43.1
    -------8<-------cut-here-------8<-------
    You can download the test data file here:
    http://alf42.dyndns.org/oost/temp_testdata_2007-06-21
    An axample how the output can look like is here:
    http://alf42.dyndns.org/oost/temperature_diagram_example.gif

    hi
    i have tried the code for it and i am getting the
    barcharts but not the graph as the output
    Your code is rubbish. You also did not use code tags. But let's examine the rubbish points shall we?
    import java.awt.*;
    import javax.servlet.*;There is no need for you to import servlet here. Especially as this later appears to be an applet.
    import java.lang.*;Importing java.lang is redundant.
    import java.applet.*;
    public class classfile{This is a poorly named class for several reasons. One it does not follow conventions, class names should begin with a capital letter. Two classfile is just a stupid name.
    Also your class should most likely extend applet if indeed you mean to write an applet. This is probably pointless because you probably don't mean to write an applet, it's just that you have no clue.
    >
    int n=0;
    String lable[];
    int value[];
    blic void init()
    try{
    n= Integer.parseInt(getParameter("column"));n is pointless since everything is hardcoded anyways for four elements
    lable = new String[n] ;
    value=new int[n];
    lable[0]=getParameter("lable11");
    lable[1]=getParameter("lable12");
    lable[2]=getParameter("lable13");
    lable[3]=getParameter("lable14");
    value[0]=Integer.parseInt(getParamater("c1"));
    value[1]=Integer.parseInt(getParamater("c2"));
    value[2]=Integer.parseInt(getParamater("c3"));
    value[3]=Integer.parseInt(getParamater("c4"));
    catch(NullFormatException e )This is garbage.
    System.out.println("Null format Exception");
    public void pain(Graphics g)While I am forced to agree with the sentiment here the correct name for this method is paint.
    for(int i=0;i<n;i++)
    g.steColor(color.red);That is garbage for a variety of reasons.
    g.drawString(lable, 20, i*50+30);
    g.fillRect(50, i*50+20, value[i], 40);
    So try again. Maybe learn some Java first? Just a suggestion.

Maybe you are looking for

  • Safari won't open my set browser page? How do I set a different browser page?

    So any advice for a old Mac user who has a Mac OS X  with an outdated Safari which will not open up my set browser window ? Can I reset to a different window?

  • Internet speed tracking program

    Hi All, I don't know where this topic belongs, so I'll start here. Is there a program that will test my internet download speed every hour on the hour and track it in a database to give to my ISP to prove that we are not getting the speed that we pai

  • Photoshop 5.5 conflict with Acrobat Pro 11

    I seem to be having a conflict between Photoshop 5.5 and Acrobat Pro 11. Photoshop will not load past "Reading Preferences" since we have installed Acrobat Pro 11. What can I do to fix this?

  • E-text File generation

    Team, We are generating E-text report based on 1.3 millons records and this file is ftped to another unix box via BIP schedular . We know that the DataXML for this E-text report is generated in the memory. What we want to know is about the final E-te

  • Ntwk actvty 9000006262 0050 budget exceeded when creating GRN

    Error:-604 Item 001 Ntwk actvty 9000006262 0050 budget exceeded When we post Goods Receipt or Invoice using BAPI_GOODSMVT_CREATE/BAPI_INCOMINGINVOICE_CREATE we are getting the above error message.This error message generating when i call the BAPI thr