How do I make an XY-Graph plot points over time?

I am building a program to plot and take data of a relationship between two voltages.  One is voltage is uniquely dependent on the other.  So far I have successfully built an XY-Graph to plot the voltages against each other (Voltage1 along the x-axis and Voltage2 along the y-axis).  However, the XY-Graph only diplays the point (V1, V2) at the instantaneous time I am looking at it, and does not continuously plot different points as I vary the independent voltage.  I need the graph to display all the points that occur as I vary the independent voltage.  As of right now, all I see is one little cursor that moves all over the graph as I vary it.  My program consists of a While Loop that contains all of the following:  two seperate data anolog input functions that take both voltage separately from my board.  The the output samples from each 'AI Sample' function are then bundled into one cluster using the 'bundle' function.  The cluster output from the 'bundle' function is then wired to a 'build array' function.  The 1-D array output from the 'build array' function is then wired to my 'XY-Graph'.  How do I get the XY-Graph to plot a point every millisecond or so?

Bundling and then using the Build Array is not correct. Yuo can see the correct method in the help for an XY Graph below. In order to use the normal XY Grpah, you would have two shif registers. One for the X array and one for the Y. Bundle the two arrays and then wire to the graph.
The other way is to use the Express XY Graph. With that, you can just wire your scalars to the X and Y inputs and set the Reset input to false.
Message Edited by Dennis Knutson on 11-12-2007 06:32 PM
Attachments:
XY Graph 1.PNG ‏21 KB
XY Graph 2.PNG ‏6 KB

Similar Messages

  • How do i make a line vector get longer over time?

    I'm trying to make straight lines grow out of a stationary dot, like veins. I've tried shape tween, but it only works for shapes, not lines. I'd just get a blank workspace when I hit play. I've also tried motion tween, but I can't get the line to grow continuously to a point. Can someone help me please? I'm very new to Flash.

    How about drawing a very short line - don't make it a symbol.
    Add 60 frames or so, enter a keyframe at the end.
    On that last keyframe, scale the line to the size you want.
    Select the other frames, right click, choose shape tween.
    Your line will grow
    You could then duplicate the rows and rotate the lines, or make into a MovieClip and then duplicate/rotate the movie clip for multiple versions.
    (If this helps, please click as helpful etc)

  • How can I make the line segment tool repeat several times?

    How can I make the line segment tool repeat several times?

    If this is what you want, hold the ~ key on your keyboard while dragging with the tool.
    If you want spaced copies of the completed line, use the Transform Effects from the Effects menu.

  • How do I create graph showing savings over time?

    Hey there, I'm trying to create a graph showing savings over time. I only have data for random months (they aren't spread apart evenly) So this chart isn't showing an accurate slope of savings over time. I tried entering months in between the months I have recorded and just leaving the savings amount blank but that deletes the curved slope on the graph. Is there a way and can show only these 7 recorded numbers but have them spread out on the graph to reflect the accurate time?
    Thanks,
    Caleb

    The only way I can see of "stretching" the x-axis into a regular timeline would be to add extra rows for some of the intervening dates and then averaging the both the dates and the amounts from the row above and the row below:
    You can then hide the rows that contain the averaged amounts.
    When you create the chart you'll need to tick the "Hidden data" button under Chart Options:
    After you've created the chart, you can edit the dates on the x-axis to remove any unwanted labels.
    Hope this helps.
    H

  • How do I make a sinus graph GUI

    Hey! Anyone know how a script that easily makes a sinus graph using GUI. I use Eclipse as editor!

    Using JFreeChart
    import java.awt.Color;
    import java.awt.Dimension;
    import javax.swing.*;
    import org.jfree.chart.*;
    import org.jfree.chart.plot.PlotOrientation;
    import org.jfree.chart.plot.XYPlot;
    import org.jfree.data.xy.*;
    import org.jfree.ui.*;
    public class SinChart extends JFrame
        public SinChart(String s)
            super(s);
            XYDataset xyDataset = createDataset();
            JFreeChart jfreechart = createChart(xyDataset);
            ChartPanel chartpanel = new ChartPanel(jfreechart);
            chartpanel.setPreferredSize(new Dimension(800, 400));
            setContentPane(chartpanel);
        private static XYDataset createDataset()
            XYSeries sinSeries = new XYSeries("Sin");
            XYSeries cosSeries = new XYSeries("Cos");
            for (double x = 0.0; x < 720; x += 10)
                sinSeries.add(x, Math.sin(Math.toRadians(x)));
                cosSeries.add(x, Math.cos(Math.toRadians(x)));
            XYSeriesCollection seriesCollection = new XYSeriesCollection();
            seriesCollection.addSeries(sinSeries);
            seriesCollection.addSeries(cosSeries);
            return seriesCollection;
        private static JFreeChart createChart(XYDataset xydataset)
            JFreeChart jfreechart = ChartFactory.createXYLineChart("Sin Curve Demo", "Angle (Deg)", "Y", xydataset, PlotOrientation.VERTICAL, true, true, false);
            jfreechart.setBackgroundPaint(Color.white);
            XYPlot xyplot = (XYPlot)jfreechart.getPlot();
            xyplot.setBackgroundPaint(Color.lightGray);
            xyplot.setDomainGridlinePaint(Color.white);
            xyplot.setRangeGridlinePaint(Color.white);
            return jfreechart;
        public static JPanel createDemoPanel()
            JFreeChart jfreechart = createChart(createDataset());
            return new ChartPanel(jfreechart);
        public static void main(String args[])
            SinChart sinCosChart = new SinChart("Sin & Cos Curve Demo");
            sinCosChart.pack();
            sinCosChart.setVisible(true);
    }If this is homework then I bet this solution is not acceptable to the person marking the homework!

  • Using the report generation toolkit, how do I make a bar graph verticle instead of horizontle?

    The attached vi is similar to what I am using, and it produces an Excel bar chart. I would really like to create the same chart, only vertically instead of horizontly. I have tried all kinds of things that don't work. Is there a way to do this that does work. I want a result similar to rotating the produced chart 90 degrees CCW.
    Thank you!
    Attachments:
    Chart Test.vi ‏20 KB

    you want to use a xy-graph.
    you can right click the plot legend to make a bar graph vertical.
    Harold Timmis
    [email protected]
    Orlando,Fl
    *Kudos always welcome
    Attachments:
    bargraph2.jpg ‏91 KB

  • How can I make a waveform graph store the entire wave, not just the current time period and how can I save the actual graph?

    I am taking temp readings with a 4 channel DAQ, sending them to a waveform graph and exporting the data to excel, how do I manipulate the graph to take a continuous reading as opposed to losing the previous GUI and how can I save the entire graph?
    Using LabVIEW 2011 operating on Windows 7 professional. 

    That is the nature of the chart -- everything not in the history is lost (it is a FIFO buffer of length=1024 samples by default).
    The scroll bar is probably grayed out because you're show all of the data.
    Attached is a program that will add 5 random points to a graph and prompt you for a file location where to save a JPG snapshot of the graph.  It's not particularly good programming style, but it has all of the elements/concepts you're after. 
    Attachments:
    graph.vi ‏14 KB

  • How do I make Lion Server support more than one Time Machine disk?

    Under Snow Leopard Server, I had two disks set up for Time Machine backups. This came about as I'm running a Mac Mini with the 500 GB internal drives which turned out to be insufficient for one of the connected Macs which uses a terabyte drive. I then added an external 6 TB drive and made it a Time Machine destination too. Worked beautifully. When I upgraded to Lion Server the external large drive was no longer available for backups and the interface for configuration within Server only allows for one drive to be in use at a time. Any suggestions (short on reverting to Snow Leopard) as to how to re-enable having both drives available for networked Time Machine access?
    Thanks!

    Hi Adam,
    Before I even realised that the Server app had a setting for TM, I just configured TM backups on my (SL) clients as I had done in SL.
    I shared the drive(s) on the server I wanted to use.
    For each client, I mounted the appropriate shared drive containing its sparseimage file, then set TM on the client to use that drive.
    Then I unmounted the shared drive and started TM.
    It mounted the remote drive (without displaying it in Finder) and opened the sparseimage, showing the "Time Machine Backups" volume on the desktop.
    So you could use any drive attached to the server to backup any client.
    It worked fine for me.
    In the end, I changed my clients to use the (single) shared "Backups" volume which Server.app creates because I can fit all my stuff on one drive.
    HTH

  • How do I move default text along an arc over time?

    I have placed "Default Text" on a separate video track. In the video, a hand is pointing along an arc for 1.5 seconds.  I want the text to follow the arc as the hand is moving.
    I stumbled upon how to do this while pointing and dragging at different things in the frame, then I messed up the edit and CTRL-Z'd myself back to a better point AND I LOST THE ABILITY to do it.
    When it was working, I would see my text in its frame, and the center of the frame had a cross-hair.  By positioning the scrubber at the start and ending points, there was a line drawn from the cross-hair to the text.  The starting point had a line showing the beginning position, the ending point had it showing the ending position.
    Now when I try to move the text, I get one of two things (neither of them work to my plan):
    1) I have the "Adjustments" window open and the pointer tool is used to fix the position of the text in my "Default Text" frame.
    2) I am moving the entire frame around in the preview window and the cross-hair moves along with it.
    I had stumbling onto something and I don't know how I got there.
    Thanks for any help you can give.
    Me: Windows 8.1 64-bit, Adobe Premiere Elements 13

    No.  My apologies.  I'm not looking to align text over an arc.  I am looking for a way to move fixed text along a path.
    Let's use the the word "Hello" to represent the text.  The text is in the lower left.  Two seconds later, the text is in the upper right.  When you play the video the word "Hello" moves from the lower left to the upper right over a span of two seconds and it does so in an arc.
    How I've learned to do it:
    Position the scrubber and select the text segment in the timeline.
    Select Tools> Pan and Zoom.
    Click "Done"
    The default is crap, and I don't want it.
    Look in the preview window.  You will see the frame of your text box with control squares on the outside and a crosshair in the middle.  The crosshair has a dot in the middle of it.
    Patiently press CTRL-Z 4 or 5 times until the dot goes away.  This gets rid of all of the default Pan and Zoom effect.
    Then press CTRL-SHIFT-Z (Redo) to get that dot back.
    You are now in free-hand pan and zoom.  <----  That's the tool I want.
    Position the scrubber within your text segment's timeline to the exact point you want to free-hand pan and zoom.
    Click the center of the crosshair.  That's the beginning of your arc.
    Move the scrubber to a few more points along the text segment and click the center of the dotted crosshair to create points along an arc.
    As you edit this way, you will notice a dotted line between the anchor points.  This shows you how fast the pan will move.  More points means slower movement.  You will also have bezier tools to control the curve of the arc.  (I'm discovering all of this myself in the time it takes me to type this).
    If you want, you can also change the size of the frame using the controls on the sides of the frame to create zoom in and out effects.
    It's a nifty little tool.  What's the shortcut?

  • How do I make a line graph that shows temperature readings taken on specific dates?

    I need to make a chart of my wife's temperatures taken via ovulation thermometer. All I need is a line graph that shows the temperatures on the y axis and the dates the measurements were taken on the x axis.
    What is the easiest way to do this? Please explain in detail as I have almost no knowledge regarding Numbers. Thanks.

    You can construct a Line graph or a Scatter graph to display this.
    The two are similar, but require the data to be set up differently.
    A Line graph is a Category graph.
    Each 'date' is a text value that names a category. The categories are equally spaced along the category axis. Measurements taken on day 1, day 2 and day 4 would be equally spaced with respect to the category axis.
    Each temperature reading is a numerical value, and is represented on the graph by the distance it is placed from (and usually above) the category axis.
    A Scatter graph has two value axes.
    Each Date is a Date and Time value. The position of these values depends on the value itself. Measurements taken on February 1, February 2 and February 4 wound not be equally spaced. Along the Date axis, the space between the second and third dates would be twice as wide as that between the first and second cates.
    Each temperature reading is a numerical value, and is represented on the graph in the same manner as in the Line graph.
    Here's an example of each, using the same data set.
    For the Line graph (left), the Category labels (dates) are placed in a Header column, and the temperatures in a non-header column,
    For the Scatter graph, both the dates and the temperatures are in non-header columns. The Chart Inspector was used to Connect the data points with straight line segments, and the weight of these lines (and size of the data point markers) was increased to more closely match the weights and sizes in the Line graph.
    Data on the graphs is not intended to have any similarity to temperatures measured for your purposes.
    The construct the line graph:
    Set up the data and labels as described.
    Select the cells containing the data (column B in my case).
    Click the Chart button and choose the Line Chart.
    To construct the scatter chart:
    Set up the data as described.
    Select the cells containing the date and temperature data (columns A and B for mine)
    Click the Chart button, and select the Scatter Chart button (third from the bottom),
    In the Chart inspector, click the Series button, then set the Connection Points menu to Straight. Change the Data Point size yo 15.
    Click anywhere on the line to select it, then in the Stroke section of the Format bar, set the line weight to 4 points.
    Click on the box containing the dates (under the chart), then click the ruler icon in the Inspector to show the metrics inspector. Use the Rotate control to set the angle for the dates to about 75°.
    Click on the label for this axis (Dates) and drag it to a position below the date labels.
    Regards,
    Barry

  • How do i make a line graph

    i have tried to make scater plots, but it wont let input idividual information on to it

    Select the chart.
    Open the inspector.
    Choose Chart Inspector.
    Click Edit Data...
    This will open the data table feeding the chart.
    Click on a cell to select and edit the data in that cell.
    Changes will be updated on the chart as they are made.
    Regards,
    Barry

  • How can i make a bar graph in numbers to track trends

    I have a table with columns A-K. All the columns have needed data for other things.  I need to track trends of incorrect input by staff.  Column A has the date and column K has a 1 if incorrect or it's blank if correct.   I only need to use the month as I need to track total incorrect for the month to see if there is a downward or upward trend as training progresses.  (i need to create a line graph that shows the total incorrect per month)  I will be tracking for a long period of time so would be nice if the graph updated as I input more info into the table.

    Jan 1, 2014 12:00:00 AM
    APPENDECTOMY LAPAROSCOPY (PEDS)
    Meyers, Rebecka - Pediatric Surgery
    CLEAN-CONTAMINATED
    540.9
    1
    Jan 2, 2014 7:33:59 AM
    APPENDECTOMY LAPAROSCOPY (PEDS)
    Meyers, Rebecka - Pediatric Surgery
    CLEAN-CONTAMINATED
    540.9
    1
    Jan 3, 2014 7:56:00 AM
    APPENDECTOMY LAPAROSCOPY (PEDS)
    Skarda, David - Pediatric Surgery
    CONTAMINATED
    540.9
    Jan 3, 2014 4:17:00 PM
    APPENDECTOMY LAPAROSCOPY (PEDS)
    Skarda, David - Pediatric Surgery
    DIRTY
    540.0
    Jan 5, 2014 9:05:59 AM
    APPENDECTOMY LAPAROSCOPY (PEDS)
    Skarda, David - Pediatric Surgery
    CLEAN-CONTAMINATED
    540.9
    1
    Jan 5, 2014 10:22:59 AM
    APPENDECTOMY (PEDS)
    Skarda, David - Pediatric Surgery
    CLEAN-CONTAMINATED
    540.9
    1
    Jan 6, 2014 11:06:00 AM
    APPENDECTOMY LAPAROSCOPY (PEDS)
    Skarda, David - Pediatric Surgery
    CONTAMINATED
    540.1
    Jan 7, 2014 8:38:00 AM
    APPENDECTOMY LAPAROSCOPY (PEDS)
    Scaife, Eric - Pediatric Surgery
    CLEAN-CONTAMINATED
    540.9
    1
    Jan 8, 2014 7:42:59 PM
    APPENDECTOMY (PEDS)
    Black, Richard - Pediatric Surgery
    CLEAN-CONTAMINATED
    540.9
    1
    Jan 9, 2014 4:31:00 PM
    APPENDECTOMY (PEDS)#1
    Black, Richard - Pediatric Surgery
    CONTAMINATED
    541.0
    Jan 10, 2014 9:14:00 AM
    APPENDECTOMY (PEDS)#2
    Black, Richard - Pediatric Surgery
    CLEAN-CONTAMINATED
    540.0
    1
    Jan 10, 2014 3:23:00 PM
    APPENDECTOMY LAPAROSCOPY (PEDS)#3
    Barnhart, Douglas - Pediatric Surgery
    CONTAMINATED
    540.9
    Jan 12, 2014 11:09:00 AM
    APPENDECTOMY LAPAROSCOPY (PEDS)#4
    Barnhart, Douglas - Pediatric Surgery
    CONTAMINATED
    540.0
    1
    Jan 12, 2014 3:52:00 PM
    APPENDECTOMY LAPAROSCOPY (PEDS)#5
    Barnhart, Douglas - Pediatric Surgery
    CLEAN-CONTAMINATED
    540.9
    1
    Jan 12, 2014 9:28:59 PM
    APPENDECTOMY LAPAROSCOPY (PEDS)#6
    Barnhart, Douglas - Pediatric Surgery
    CONTAMINATED
    540.9
    Jan 13, 2014 5:47:00 PM
    APPENDECTOMY LAPAROSCOPY (PEDS)
    Scaife, Eric - Pediatric Surgery
    CLEAN-CONTAMINATED
    540.9
    1
    Jan 13, 2014 7:19:00 PM
    APPENDECTOMY LAPAROSCOPY (PEDS)
    Scaife, Eric - Pediatric Surgery
    CONTAMINATED
    540.9
    Jan 14, 2014 12:52:00 PM
    APPENDECTOMY LAPAROSCOPY (PEDS)
    Scaife, Eric - Pediatric Surgery
    CLEAN-CONTAMINATED
    540.0
    1
    Jan 16, 2014 7:33:00 AM
    APPENDECTOMY (PEDS)
    Black, Richard - Pediatric Surgery
    DIRTY
    540.9
    Jan 16, 2014 8:25:00 AM
    APPENDECTOMY (PEDS)
    Black, Richard - Pediatric Surgery
    DIRTY
    540.0
    Jan 16, 2014 10:51:00 AM
    APPENDECTOMY (PEDS)
    Black, Richard - Pediatric Surgery
    CLEAN-CONTAMINATED
    540.9
    1
    Jan 17, 2014 7:58:59 AM
    APPENDECTOMY (PEDS)
    Barnhart, Douglas - Pediatric Surgery
    CLEAN-CONTAMINATED
    540.9
    1
    Jan 18, 2014 4:49:00 PM
    APPENDECTOMY LAPAROSCOPY (PEDS)
    Scaife, Eric - Pediatric Surgery
    CONTAMINATED
    540.9
    Jan 19, 2014 8:19:00 AM
    APPENDECTOMY LAPAROSCOPY (PEDS)
    Scaife, Eric - Pediatric Surgery
    CONTAMINATED
    540.9
    Jan 20, 2014 7:30:00 AM
    APPENDECTOMY LAPAROSCOPY (PEDS)
    Scaife, Eric - Pediatric Surgery
    CLEAN-CONTAMINATED
    540.9
    1
    Jan 20, 2014 9:43:00 AM
    APPENDECTOMY LAPAROSCOPY (PEDS)
    Scaife, Eric - Pediatric Surgery
    CONTAMINATED
    540.9
    Jan 20, 2014 11:16:00 AM
    APPENDECTOMY LAPAROSCOPY (PEDS)
    Scaife, Eric - Pediatric Surgery
    DIRTY
    540.0
    Jan 20, 2014 12:48:00 PM
    APPENDECTOMY LAPAROSCOPY (PEDS)
    Scaife, Eric - Pediatric Surgery
    NWCA
    540.9
    1
    Jan 20, 2014 9:48:59 PM
    APPENDECTOMY LAPAROSCOPY (PEDS)
    Rollins, Michael - Pediatric Surgery
    CONTAMINATED
    540.9
    Jan 22, 2014 12:08:00 PM
    APPENDECTOMY LAPAROSCOPY (PEDS)
    Barnhart, Douglas - Pediatric Surgery
    CLEAN
    540.9
    1
    Jan 22, 2014 5:38:00 PM
    APPENDECTOMY LAPAROSCOPY (PEDS)
    Rollins, Michael - Pediatric Surgery
    DIRTY
    540.0

  • How do I make a web page that changes every time the user refreshes it? Is it possible in Muse?

    Hi, i'd like to make quite a simple website where the main text in the centre of the page changes every time the user refreshes the page in their browser. I assume i'll have to make one master, and multiple pages that are all the same except for the changes in the text, but i'm not sure how to make it so that every refresh directs to a different page and not just the home page? Is this even possible in Muse?
    This is an example of what i'm going for: :: procatinator ::
    Thanks!

    You can't do it with Muse alone. Would probably be fairly simple to do with a bit of Javascript. Check the widget directory as it is possible someone has made a widget for random content. If not, maybe I will make one this weekend. ;-)

  • How do I make my waveform send one point per iteration in a loop?

    Hello,
    I am trying to create a demonstration/lab for a future course at my university.  I am trying to send data from a wind turbine to a third party DAC in order to run a motor.  I have found out that when I send a wave form to the DAC I must send one point per iteration if I use the arbitrary signal generator.  I would like to be able to send a file to the DAC without manually loading it as the arbitrary signal generator does.  I was wondering how to send the data using one point per iteration using the build waveform or other waveform function that can have the waveform built from a file that is added on the front panel.  I am using labview 8.0.
    Thanks,
    Laura
    Message Edited by lhoising on 03-30-2007 01:21 PM
    Message Edited by lhoising on 03-30-2007 01:25 PM

    Maybe I am asking the wrong question.  Maybe I should be asking why it is that when I send a waveform to the the DAC (using active x controls) the signal that is sent to the DAC is just the final value.  I probed the wire connected to the data input of the DAOUTPUT node and it shows the entire waveform graph and not just the last value.
    Thanks,
    Laura

  • XY graph : Plot point by point

    hi my intention is to plot in a XY graph point by point. Meaning for eg: I want to plot a scatter plot.
    First I check if the array element satisfies a certain condition (let's say if it lies between 1 to 5) if So I want to plot in red color, else I want to check another condition (let's say lies between 5 to 10) and then plot in blue color and so on.
    First I check for the condition and link it to a case structure such that each case structure will contain the  corresponding plot color but it doesnt seem to be working.
    Kindly guide me with this.
    thanks!!
    Solved!
    Go to Solution.

    Hi Chathuri,
    If you want to plot a scatter plot, you can do this by editing the properties of the XY graph.  Righ-click on the X-Y Graph object and click on Properties.This will bring up the property viewer. If you then go to the Plots tab, you should see a screen similar to the one shown as an attachement. The fourth column from the left sets the display type and if you click the top diagram, you will display individual data points. I have circled this in the attached diagram. You will also need to set the tick markers to display.  You can do this if you set the third column from the left. 
    Hope this helps,
    Andrew McLennan
    Applications Engineer
    National Instruments
    Attachments:
    XYProperties.JPG ‏45 KB

Maybe you are looking for

  • How can I delete my apple id?

    Hi, I'd like to delete my apple id account. Not just from my iphone settings, but completely delete it. I wanted it to use no master cards or any types of cards, I wanted it to be free but obviously something went wrong and now I cannot use it becaus

  • Ipod touch and january update help.

    hi i just reinstalled windows xp in my computer and i didnt back up the january updates from my itunes folder. when i synced my ipod after the reinstall it said i had to restore the ipod and after that the jan updates were gone. someone at the apple

  • Acer Monitor X193W aspect ratio

    I just connected our monitor to our new desktop PC running Windows XP Pro. I've loaded CorelDraw 12. However, when working in CorelDraw 12, the page indicated in the Corel workspace looks square as opposed to a vertical retangle proportional to a she

  • Reg:terrapin.tuxedo.TuxError: TPENOENT - no entry found : TPED_TERM - Termi

    whil calling tuxedo API AccountLocateFindByServiceId , we are getting the below . some times it is succesful but some times the error is coming. terrapin.tuxedo.TuxError: TPENOENT - no entry found : TPED_TERM - Terminated from the application request

  • Banking Services - Delete Account

    Is there a way to get rid of accounts in Banking Services Loans Management and Deposits Management? I understand that there is no "standard" way to do it because in productive systems this would be dangerous, accounts should be closed. This is not a