How to narrow a X-Y graph

Hi,
I am acquiring two analog signals( voltage and current) using NI myDAQ device. I am using DAQ assistant to configure the two analog input channels(voltage and current) I am able to see the current response with respect to applied voltage using a X-Y graph. However, the graph is too wide. is there any way I can get a nice thin graph. I think I probably have to average the data points that I am collecting but I dont know how to do it. Any kind of help is greatly appreciated.
I have attached the screen shot of the VI.
Thanks,
Mahesh 
Attachments:
CV.docx ‏170 KB
CV.docx ‏170 KB

Look at the linewidth and interpolation setting in the graph properties. Use linear interpolation.
If this is related to your other questions, note that you use a weird interpolation and never clear the xy graph, meaning that you accumulate an infinite amount of traces eventually, until you run out of memory. Both problems can contribute to the apparent width.
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • 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

  • I would like to know how i can create a bell graph with out using sub VIs, the data that i created consists in 500 readings with values of 0 to 100, i calculated the mean value and standard diviation. I hope some one can help me

    I would like to know how i can create a bell graph with out using sub VIs, the data that i created consists in 500 readings with values of 0 to 100, i calculated the mean value and standard diviation. I hope some one can help me

    Here's a quick example I threw together that generates a sort-of-bell-curve shaped data distribution, then performs the binning and plotting.
    -Kevin P.
    Message Edited by Kevin Price on 12-01-2006 02:42 PM
    Attachments:
    Binning example.vi ‏51 KB
    Binning example.png ‏12 KB

  • How can i get the average graph?(DIAdem)

    hi,
    How can i get the average graph(2D-graph) of 10 measures?
    Can someone please help me?
    THX!!!

    Hello Charleen!
    If you want to do it programmatically have a look at the ChnAverage command in the help (see also StatBlockCalc for advanced calculations). Interactive you can use the statistic functions in the ANALYSIS device.
    Matthias
    Matthias Alleweldt
    Project Engineer / Projektingenieur
    Twigeater?  

  • 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 to draw a directed 2D graph in java

    how to draw a directed 2D graph in java?-if anybody can suggest some tutorials about this topic or can suggest the way to draw the graph.......how can i do that.......if the nodes of the graph has X and Y co-ordinate.........and the neighbours of each node are known.......suppose
    node1 has neighboures node2,node3 and node4.....node2 has node5 and node3 as neighbours.....in this way....so directed edge from node1 to node2,node3,and node4......
    or if u can suggest other way out......plz reply....

    prometheuzz wrote:
    JosAH wrote:
    If you can draw a line between two points (x,y) and (x',y') you can draw an edge.
    If you can draw one edge you can draw all edges of a graph.Proof by induction!
    ; )Yep, I copied/pasted exactly the same answer I gave this poster in another forum; I recognized him by his 'plz'-es and the abundance of punctuation ;-)
    kind regards,
    Jos

  • How to create X-Bar R graphs in numbers

    I cannot for the life of me figure out how to create X-Bar R graphs in numbers. It is beyond frustrating. Can anyone provide any insight? Thanks

    Hi Zac,
    I am not sure what you mean by an X-Bar graph. R has a box plot. Is that perhaps what you want?
    More information will lead to a solution .
    A screen shot of what you are trying to achieve will help.
    Regards,
    Ian.

  • 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 convert from array to graph ?

    how to convert from array to graph ?

    A graph will accept an array of numbers.  Do you have an example of what you are looking for?
    And since somebody mentioned tutorials...
    3 Hour Introduction
    6 Hour Introduction
    LabVEW Basics
    Self Paced training for students
    Self Paced training beginner to advanced, SSP Required
    LabVIEW Wiki on Training
    Learning NI
    Getting Started with NI Products
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How can I print out the graph I need only, without the controls and indicators?

    I'm doing some programming in LABVIEW. I need to print out only the graph, without the buttons, controls, indicators. I tried to look for such a function in LABVIEW, but in vain. How can I achieve the result I expect in my programming?

    Hi Fenny,
    you should use the report generation functions to create a report containing your graph image and print it.
    Take a look at the Sample Test Report.vi you find in the report examples of LV.
    Just look at the part of the diagram where it is used Append Control Image to report.vi (in the center of the report functions chain); a graph reference is wired to the Ctrl reference input ( to create a reference of your graph right click on it and select create reference).
    Let me know if you need more help,
    Alberto

  • How to Narrow the Design of an Entire Page

    Hi,
         I have been working on this problem for a while and still do not have an answer. I use Dreamweaver CS5.5. I am new at writing html code.
    My question is: How do I set the width to a more narrowed setting of my entire design that is currently centered on my page. This would allow more of the background (sky) to show on the left and right sides of my page. Is it even possible at this late date after completeing the website.
    You can see how my webpage looks now at -
    www.lanisakai.com
    Can I change some code to acheive this effect either in the index.html page or the "twoColLiqLtHdr.css" page or both?
    Here is the code for both pages.
    The Index.html Page
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Lani Sakai Pastel Pet Portraits</title>
    <link href="twoColLiqLtHdr.css" rel="stylesheet" type="text/css" /><!--[if lte IE 7]>
    <style>
    .content { margin-right: -1px; } /* this 1px negative margin can be placed on any of the columns in this layout with the same corrective effect. */
    ul.nav a { zoom: 1; }  /* the zoom property gives IE the hasLayout trigger it needs to correct extra whiltespace between the links */
    </style>
    <![endif]-->
    <style type="text/css">
    .container .content p .introduction strong {
              color: #000;
    .container .content .introduction {
              color: #000;
    body {
              background-image: url(Logo/sky1.jpg);
              background-position: center center;
              background-attachment: fixed;
    </style>
    </head>
    <body bgcolor="#FFFFCC">
    <div class="container">
      <div class="header"><!-- end .header -->
        <div align="center"><a href="http://www.lanisakai.com/"><img src="Logo/Logo3.jpg" width="805" height="172" border="0" /></a></div>
      </div>
      <div class="sidebar1">
        <ul class="nav">
          <li><a href="http://www.lanisakai.com/">Home</a></li>
          <li><a href="http://www.lanisakai.com/previousworks.html">Previous Works</a></li>
          <li><a href="http://www.lanisakai.com/aboutme.html">About Me</a></li>
          <li><a href="http://www.lanisakai.com/feedback.html">Contact Me</a></li>
          <li><a href="sitemap.html">Site Map</a></li>
          <li><a href="http://www.lanisakaimobie.bugs3.com/">Smartphone Version</a></li>
          <li></li>
        </ul>
        <p><!-- end .sidebar1 --></p>
      </div>
      <div class="content">
        <h1> </h1>
        <h1><img src="Original Drawings/DSCN4352-2.jpg" width="260" height="216" hspace="20" vspace="25" /> <img src="Original Drawings/DSCN9152-2.jpg" width="210" height="266" hspace="40" /></h1>
        <h2 class="introduction"><strong><em>Reasons why you want to have your pet's portrait drawn....</em></strong></h2>
        <p> </p>
        <p><img src="Drawings/untitled2.jpg" width="275" height="214" hspace="125" /></p>
        <p> </p>
        <p align="center"> </p>
        <p> </p>
      </div>
      <div class="footer">
        <p align="center">Copyright &copy; 2013<script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
      ga('create', 'UA-40745099-1', 'lanisakai.com');
      ga('send', 'pageview');
    </script>
    <script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
      ga('create', 'UA-41801281-1', 'lanisakai.com');
      ga('send', 'pageview');
    </script>
       Lani Sakai Pastel Pet Portraits</p>
      <!-- end .footer --></div>
    <!-- end .container --></div>
    </body>
    </html>
    The twoColLiqLtHdr.css page
    @charset "utf-8";
    body {
              font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
              margin: 50;
              padding: 0;
              color: #000;
              background-image: url(images/sky1.jpg);
              background-position: left bottom;
    /* ~~ Element/tag selectors ~~ */
    ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
              padding: 0;
              margin: 0;
    h1, h2, h3, h4, h5, h6, p {
              margin-top: 0;           /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
              padding-right: 15px;
              padding-left: 20px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
              font-size: medium;
    a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
              border: none;
    /* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
    a:link {
              color:#000000;
              text-decoration: underline; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
    a:visited {
              color: #000000;
              text-decoration: underline;
    a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
              text-decoration: none;
              color: #000;
    /* ~~ this container surrounds all other divs giving them their percentage-based width ~~ */
    .container {
              width: 100%;
              max-width: 1260px;/* a max-width may be desirable to keep this layout from getting too wide on a large monitor. This keeps line length more readable. IE6 does not respect this declaration. */
              min-width: 780px; /* the auto value on the sides, coupled with the width, centers the layout. It is not needed if you set the .container's width to 100%. */
              font-size: 100%;
              background-color: #6FF;
              margin-top: 0;
              margin-right: auto;
              margin-bottom: 0;
              margin-left: auto;
    /* ~~ the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo ~~ */
    .header {
              background: #6F7D94;
              font-size: x-large;
    /* ~~ These are the columns for the layout. ~~
    1) Padding is only placed on the top and/or bottom of the divs. The elements within these divs have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the div itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design.
    2) No margin has been given to the columns since they are all floated. If you must add margin, avoid placing it on the side you're floating toward (for example: a right margin on a div set to float right). Many times, padding can be used instead. For divs where this rule must be broken, you should add a "display:inline" declaration to the div's rule to tame a bug where some versions of Internet Explorer double the margin.
    3) Since classes can be used multiple times in a document (and an element can also have multiple classes applied), the columns have been assigned class names instead of IDs. For example, two sidebar divs could be stacked if necessary. These can very easily be changed to IDs if that's your preference, as long as you'll only be using them once per document.
    4) If you prefer your nav on the right instead of the left, simply float these columns the opposite direction (all right instead of all left) and they'll render in reverse order. There's no need to move the divs around in the HTML source.
    .sidebar1 {
              float: left;
              width: 20%;
              padding-bottom: 10px;
              background-color: #66FFFF;
              font-size: medium;
    .content {
              padding: 10px 0;
              width: 80%;
              float: left;
              font-size: 14px;
    /* ~~ This grouped selector gives the lists in the .content area space ~~ */
    .content ul, .content ol {
              padding: 0 15px 15px 40px; /* this padding mirrors the right padding in the headings and paragraph rule above. Padding was placed on the bottom for space between other elements on the lists and on the left to create the indention. These may be adjusted as you wish. */
    /* ~~ The navigation list styles (can be removed if you choose to use a premade flyout menu like Spry) ~~ */
    ul.nav {
              list-style: none; /* this removes the list marker */
              border-top: 1px solid #666; /* this creates the top border for the links - all others are placed using a bottom border on the LI */
              margin-bottom: 15px; /* this creates the space between the navigation on the content below */
    ul.nav li {
              border-bottom: 1px solid #666; /* this creates the button separation */
    ul.nav a, ul.nav a:visited { /* grouping these selectors makes sure that your links retain their button look even after being visited */
              padding: 5px 5px 5px 15px;
              display: block; /* this gives the link block properties causing it to fill the whole LI containing it. This causes the entire area to react to a mouse click. */
              text-decoration: none;
              background: #8090AB;
              color: #000;
    ul.nav a:hover, ul.nav a:active, ul.nav a:focus { /* this changes the background and text color for both mouse and keyboard navigators */
              color: #FFF;
              font-size: 100%;
              background-color: #66CCFF;
    /* ~~ The footer ~~ */
    .footer {
              padding: 10px 0;
              position: relative;/* this gives IE6 hasLayout to properly clear */
              clear: both; /* this clear property forces the .container to understand where the columns end and contain them */
              background-color: #66FFFF;
              font-size: small;
    /* ~~ miscellaneous float/clear classes ~~ */
    .fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
              float: right;
              margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
              float: left;
              margin-right: 8px;
    .clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
              clear:both;
              height:0;
              font-size: 1px;
              line-height: 0px;
    }.logo {
              height: 262px;
              width: 1088px;
              margin-right: auto;
    .logo {
              height: 417px;
              width: 761px;
              margin-right: auto;
              margin-left: auto;
    .introduction {
              font-size: x-large;
              font-style: normal;
              font-weight: lighter;
              color: #0033CC;
    .logo {
              width: 770px;
              margin-right: auto;
              margin-left: auto;
    .introduction {
              font-family: Verdana, Geneva, sans-serif;
    .nameofpage {
              font-size: 200%;
              font-weight: bold;
    .PictureTitle {
              font-size: medium;
    .formby {
              font-size: 25%;
    .formby {
              font-size: 12%;
    <script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
      ga('create', 'UA-41801281-1', 'lanisakai.com');
      ga('send', 'pageview');
    </script>
    Do I need to just start over from scratch?
    Any suggestions would be appreciated.
    Thank you,
    Mobie Boy

    Or you could include a width to your body style:
    body {
    background-image: url(Logo/sky1.jpg);
    background-position: center center;
    background-attachment: fixed;
    width: 75%;}
    It might work or not depending on your other color scheme.

  • How can I get a "still" graph of my measured values?

    As a student working on my thesis I have to use LabView7Express to acquire data from surface measurement (using CCD laser sensor).Once the measurements have been acquired, I need to dispay the surface hight evolution on a graph. So far I have only been able to view moving, real time graphs... Can anyone tell me if what I need to do is possible and if it is, how to programm it?
    Thanks for your help!

    Check the attached file. Basically, you use the invode node to "capture" the control and save it to file or displayed to a picture control.
    Joe
    Attachments:
    Save_Still_Graph_to_Image.vi ‏35 KB

  • How to add more than one graph to a pivot table??

    Hi,
    I have a report containing product,store,offers per store as dimensions and spending,Buying households as measures.My requirement is to show 'Store' in a section and corresponding report(which contains product,offers of that store,spending and Buying HH) and individual graphs for spending and buying households( 2graphs).I mean if I have 3 stores, I should get 3 sections of stores and each section should contain corresponding report and graphs. The main requirement is that "USER" should able to export or print the whole report at a time.
    I used pivot table to achieve this but I could only show one graph per store but I need two graphs for both spending and Buying HH.Please help me how to achieve.
    Your valuable suggestions are well appreciated!!!

    Hi,
    I have a report containing product,store,offers per store as dimensions and spending,Buying households as measures.My requirement is to show 'Store' in a section and corresponding report(which contains product,offers of that store,spending and Buying HH) and individual graphs for spending and buying households( 2graphs).I mean if I have 3 stores, I should get 3 sections of stores and each section should contain corresponding report and graphs. The main requirement is that "USER" should able to export or print the whole report at a time.
    I used pivot table to achieve this but I could only show one graph per store but I need two graphs for both spending and Buying HH.Please help me how to achieve.
    Your valuable suggestions are well appreciated!!!

  • How can I include a Labview graph in a TestStand report?

    Hi All,
    I have a new need that I have never done before in TestStand. I have a Labview VI in which I am sending results to a graph.. I would like to include that graph in the TestStand report. I have searched the help and the forums and have come up empty. Any ideas out there as to how to accomplish this? Thanks in advance for any help.
    Troy
    Solved!
    Go to Solution.

    Raj - Thanks for the response and that solution does work. The problem is that the graphs that I am including are more elaborate than what TestStand is doing by default. Some of the graphs will have three traces on them to show spectral masks test with lower and upper limits. These graphs will also be used in reports and I would like them to show up larger, kind of like when you have a graph in Labview and you can use its reference to save it to an HTML report.
    Troy

  • How to perform FT on XY Graph data?

    Hello,
    I have my data in two 1D arrays (X and Y) and plotted in an XY Graph.  I did not use a waveform because it was not a time signal, it was a spatial one with an uneven interval.  Briefly, the experiment measured the output of an amplifier as the position of a mirror was varied through several millimeters.  I need the fourier transform of this plot but cannot figure out how to do it in labview.
    I've uploaded the raw data file which is a tab delimited txt file.  If this is transposed and displayed in an XY graph you will retrieve the curve I need to FT.  As the X data is on the order of 1E-10 I am expecting reciprocal space, X', to be on the order of 1E+10.
    Please help, I have been playing about with FFT.vi and signal processing VI's all day and cannot seem to get anywhere. 
    Attachments:
    60mW_Delay1.txt ‏5 KB

    FFT assumes that your data is equally spaced in X, but you said that you have uneven intervals (if I understand you right).
    There is a tool for unevenly sampled data: Unevenly Sampled Signal Spectrum VI
    You could also resample your data into a even grid using interpolation.
    A waveform graph does not imply time data, you can call the axis anything you want. The only requirement is that the data has a constant x-increment. If it does, you can di a plain FFT on the Y array and calculate df from dx and N.
    EDIT: looking at your data: for all practical purpose it is sampled equally in time, the differences are due to the limited decimal resolution. the delta is randomly either 3.3E-14 or 3.4E-14, depending on where you look. You could just use an average delta.
    LabVIEW Champion . Do more with less code and in less time .

Maybe you are looking for

  • IS NOT NULL in order clause

    Hi - It is not allowed to have IS NOT NULL in order by clause, isn't it? When order by clause is being formed dynamically, is there anyway to check for not nulls in any column to be used for order by clause? Thanks,

  • How do I share my videos/apps between 2 users on one machine?

    Ok, here is the setup: One macbook with two accounts (mine and my wifes). She has her music, email calendar etc... on her account and I have mine in my account. We both have seperate itunes logins. She will be getting a new iphone tomorrow and would

  • Connect-SPOService : The Application ID (AppID) for which the service ticket is requested does not exist on the system.

    I am trying to connect to SharePoint in my Office 365 environment by following https://support.office.com/article/Set-up-the-SharePoint-Online-Management-Shell-environment-7b931221-63e2-45cc-9ebc-30e042f17e2c and I am getting: Connect-SPOService : Th

  • BEx 7.0 workbook template formating

    Hey Gurus , i have to make following changes to the workbook, which should reflect after the workbook is refreshed . 1. in the filter section i have to bold the filter headings . 2. change the color of border of the filter selction table . whenever i

  • WLS 11g, define foreign JMS server

    Hi, I want to define JMS server on my server A and set on this A JMS server foreign destination to the JMS server B. On server A i defined: - JMS server and set target - JMS modules (set subdeployment, Connection Factory, Uniform Distributed Queue, J