Data points disappearing on graph windows...

Hi
During the acquisition of a large amount of data from a DAQ-board (PXI-6229), I visualize these points on a graph.
Sometimes, the whole graph window is cleaned then data begin again to be displayed.
Why ? Is it due to a problem with a window buffer  (I use a history graph with a big history buffer) ?
Thanks

Hi
Thanks for your suggestions.
I tried using SGL instead of DBL numbers, but the same troubles occur.
I tried too using the express vi "sample compression" to reduce the
number of points by a factor 10... but I get the same troubles.
Here attached is a copy of the screen. There is about 6 s of
measurement displayed (the history buffers are still empty), and the 3
chart screens cleaned some seconds later.
Sometimes more than one minute is displayed, so that the history buffer
begins to be filled. So the troubles do not depend on the history
buffers since they are empty when the trouble occurs.
It is difficult to post the code since it is a big diagram with a lot of functions and connections.
What I'm doing :
I acquire about  30 channels from 3 DAQ boards, in binary mode
(I16). I always plot these data on 3 distinct chart screens (see
attached file) after a renormalization to obtain floating numbers in
volt from 2 bytes numbers.
Is there some buffers involved in this renormalization and display ? How to control these buffers ?
Regards
Denys
Attachments:
Document2.doc ‏71 KB

Similar Messages

  • How can I plot two sets of data points in 3d graph?

    I am trying to plot two sets of data points in 3d graph. I also need to make a set of data with one color and the other set with a different color. For example, I need to plot 10 (x,y,z) data points in 3d. Maybe 6 points need to be blue, and the other 4 red. Could you tell me how?

    What is your LabVIEW version? (things are a bit different in 8.6).
    Basically, you create multiple instances of the VI that gets placed automatically when you drop the 3D graph and then wire a different number to the plot ID at the bottom.
    You define all the plots (color, style) via the properties dialog.
    Have a look at my example posted here. One plot is "blue dots" and one is a "shaded surface". See how far you get.
    Message Edited by altenbach on 04-23-2009 01:11 PM
    LabVIEW Champion . Do more with less code and in less time .

  • How to show health app data points as a graph

    Some data points form a graph and others do not.

    0FI_AP_0 - go to the master data infoobject of this datasource. Check mark charercteristics is an export datasource in the master data tab
    Go to the infoprovider tab in RSA1, Insert this charecteristics as data target.
    Use export data mart of this infoobject in your cube creation. You can use this in update rules for update of cube

  • Connect data points on scatter graph

    I currently have a scatter graph to represent the cross section of a creek. I want to connect the data points so that it looks like a line graph.
    However, I cannot find an option in the inspector to do this.
    Thanks
    [IMG]http://i812.photobucket.com/albums/zz49/frusciantaya/Screenshot2010-07-31at72002 PM.jpg[/IMG]

    PacoA wrote:
    How to do it (format scatter charts) in numbers '09?
    Open Numbers '09 Users Guide.
    Type 'format scatter charts' (without the quotes) in the search box.
    Click on the most useful looking (and in this case, only) item in the list.
    Regards,
    Barry
    PS: The Numbers '08 forum isn't the right place for a Numbers '09 question.

  • Display data in pop-up graph window

    I am trying to display data continuously in a pop up chart. When I press a button the chart should pop up and show all the previous values as well as those being continuously generated. If possible I want to do this without using local or global variables. This question was asked before too at http://forums.ni.com/ni/board/message?board.id=170&message.id=315949&query.id=9049787#M315949    but I was unable to understand the proposed solution. I am a civil engineer, meaning it will be difficult for me to understand advanced concepts and at times even simple concepts related to computer programming.  I have attached two VIs just to illustrate what I am trying to do.
    Thanks
    Solved!
    Go to Solution.
    Attachments:
    Popupgraph_main.vi ‏19 KB
    Popupgraph_subvi.vi ‏18 KB

    Sorry, those uploaded VIs were just for a demonstration of my problem.
    As for the Untitled06, when I was trying them in my computer I had named it "Untitled06" but when uploading to this
    forum I changed the name. Forgot about the invoke node.
    What I was asking is, if it was possible to
    acquire data using one VI and show any temporary graph/chart in a
    separate subvi. I did it like attached. Seems like it will work for me.
    smercurio_fc  Thanks regarding the t0. I changed that in this version. Shipped LV examples haven't been a lot of help to me. Most of the time I cannot relate them to what I want to do. I generally prefer to use this forum. 
    Any other (obviously better) solutions? then please do let me know. The only requirement is that chart should appear in a separate VI, it is just a temporary chart and I do not want it to take up space in my main VI front panel.
    Thanks
    Attachments:
    Popupgraph_mainv02.vi ‏24 KB
    Popupgraph_subviv02.vi ‏18 KB

  • Line Graph repeats the starting data point at the end also

    Hi,
    We have a Line Graph as below. This graph is used to show the Salary changes of a person, over time.
    But this graph shows an additional non existing data point. Basically it shows the starting data point once again at the end of the other data points.
    The model VO for this graph, does not contain this additional data point record. But the graph repeats the starting data point at the end also.
    In the screen-shot you can see that, the graph has three data points. But the table has only two. The first data point in the graph is repeated as the last data point.
    Is this a Bug..?
    Or an issue with the usage of the DVT tags?
    The code is given below.
    Please advice.
    12 <dvt:graph id="lineGraph1" value="#{bindings.SalaryHistory.graphModel}"
    13 graphType="LINE_VERT_ABS"
    14 shortDesc="#{HcmEmploymentTopGenBundle}"
    15 markerDisplayed="true"
    16 continuousTimeAxisInterval="CTAI_DAY"
    17 contentDelivery="immediate" animationOnDisplay="AUTO"
    18 imageFormat="FLASH" stylePath="April"
    19 timeSelectorListener="#{backingBeanScope.AssignmentChangesAndSalaryBean.changeTime}"
    20 timeAxisType="TAT_MIXED_FREQUENCY" dynamicResize="DYNAMIC_SIZE"
    21 inlineStyle="height:40em;"
    22 binding="#{backingBeanScope.AssignmentChangesAndSalaryBean.asgSalaryGraph}">
    23 <dvt:background>
    24 <dvt:specialEffects/>
    25 </dvt:background>
    26 <dvt:graphPlotArea/>
    27 <dvt:seriesSet>
    28 <dvt:series/>
    29 </dvt:seriesSet>
    30
    31 <dvt:o1Axis scrolling="asNeeded"/>
    32 <dvt:y1Axis/>
    33 <!-- <dvt:legendArea automaticPlacement="AP_NEVER" rendered="false"/>-->
    34 <!-- <dvt:timeSelector mode="EXPLICIT"
    35 explicitStart="#{backingBeanScope.AssignmentChangesAndSalaryBean.timeSelectorStartDate}"
    36 explicitEnd="#{backingBeanScope.AssignmentChangesAndSalaryBean.timeSelectorEndDate}"
    37 id="ts34">
    38 <dvt:specialEffects>
    39 <dvt:gradientStopStyle/>
    40 </dvt:specialEffects>
    41 </dvt:timeSelector>-->
    42 <dvt:o1MajorTick/>
    43 <dvt:o1TickLabel/>
    44 <dvt:o1Title id="o1Title1">
    45 <dvt:graphFont id="graphFont1"/>
    46 </dvt:o1Title>
    47
    48 <dvt:attributeFormat id="af1" name="DateFrom">
    49 <af:convertDateTime pattern="#{applCorePrefs.dateFormatPattern}" />
    50 </dvt:attributeFormat>
    51
    52 <dvt:markerText>
    53 <dvt:y1Format>
    54 <af:convertNumber pattern="#{applCorePrefs.numberFormatPattern}"/>
    55 </dvt:y1Format>
    56 </dvt:markerText>
    57
    58
    59 </dvt:graph>

    If I understand your question, this from the Pages online help may give the answer:
    To mark line, area, and scatter charts with data point symbols:
    Select the entire chart. You can also select the chart series (the line or area shape) that you want to mark with data point symbols.
    Click Inspector in the toolbar, and then click the Chart Inspector button.
    Click Series (except for scatter charts).
    Choose a symbol from the Data Point Symbol pop-up menu.
    Choose one of the following options from the Symbol Fill pop-up menu:
    To fill the symbol with the same color as its outline, choose Use Stroke Color.
    To fill the symbol with a solid color, choose Color Fill, click the Fill color well, and pick a color.
    To fill the symbol with a gradient, choose Gradient Fill and use the gradient controls to set the colors and change the angle of the gradient.
    To fill the symbol with an image, choose Image Fill and select the image you want. You can also resize the image by choosing an option from the pop-up menu above the Choose button.
    To fill the symbol with a tinted image, choose Tinted Image Fill and select the image you want. Click the color well to the right of the Choose button to change the tint color. You can also resize the image by choosing an option from the pop-up menu above the Choose button.

  • Skipping data points in graph's axis

    I just started playing with Flex and I have a question. I
    have 60 data points in a graph and the 60 show in the horizontal
    axis. It looks very cluttered. How can I show just one out of every
    five points [0, 5, 10, ...] in the axis?
    Thanks for your feedback!

    "mtowers" <[email protected]> wrote in
    message
    news:gefa9c$107$[email protected]..
    >I just started playing with Flex and I have a question. I
    have 60 data
    >points
    > in a graph and the 60 show in the horizontal axis. It
    looks very
    > cluttered. How
    > can I show just one out of every five points [0, 5, 10,
    ...] in the axis?
    >
    > Thanks for your feedback!
    Use a filterFunction.
    HTH;
    Amy

  • Represent NULL point in Line Graph.

    Hi;
          I am using Simple series to supply data to Graph type Line. I have a requirement to represent null data point in Line graph, where marker point for the NULL data point shouldn't be present, instead a straight line should come in between the valid points. Currently if the Data value is null, marker point is coming to 0.
    How can i solve this problem using Simple Series?
    I am using NW7.0; SP 9
    vinod.

    Please refer:
    http://www.sapdesignguild.org/resources/diagram_guidelines/index.html
    Reference Point:
         Chart Type Line Graph
             Do not Use it if the X axis has non-numeric values..
    vinod.

  • Add Tooltip to Data Point

    Hi,
    I was wondering is it possible to add a Tooltip containing text (not the (X,Y) values) to a datapoint. I'm using VS2010.

    This example uses a structure to associate a text string with each data point.
    Imports System.Windows.Forms.DataVisualization.Charting
    Public Class Form2
    Structure myData
    Public y As Single
    Public text As String
    End Structure
    Private MyDataList As New List(Of myData)
    Private Sub Form2_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    Dim d As myData
    For i = 1 To 12
    d.y = 5 * Math.Sin(i / 2)
    d.text = "Text Data: " & i.ToString
    MyDataList.Add(d)
    Next
    Label1.Text = "Select a Point"
    'setup the chart
    With Chart1.ChartAreas(0)
    .AxisX.Title = "Time"
    .AxisX.MajorGrid.LineColor = Color.LightBlue
    .AxisX.Minimum = 0
    .AxisX.Maximum = 14
    .AxisX.Interval = 2
    .AxisX.LabelStyle.IsEndLabelVisible = False
    .AxisY.Title = "Value"
    .AxisY.MajorGrid.LineColor = Color.LightGray
    .AxisY.Minimum = -6
    .AxisY.Maximum = 6
    .AxisY.Interval = 2
    .BackColor = Color.AntiqueWhite
    .BackSecondaryColor = Color.White
    .BackGradientStyle = GradientStyle.HorizontalCenter
    .BorderColor = Color.Blue
    .BorderDashStyle = ChartDashStyle.Solid
    .BorderWidth = 1
    .ShadowOffset = 2
    End With
    Chart1.Series.Clear()
    Chart1.Series.Add("Monthy Data")
    With Chart1.Series(0)
    .ChartType = DataVisualization.Charting.SeriesChartType.Line
    .BorderWidth = 2
    .Color = Color.Blue
    .MarkerStyle = DataVisualization.Charting.MarkerStyle.Circle
    .MarkerSize = 8
    .IsVisibleInLegend = False
    For m = 1 To 12
    .Points.AddXY(m, MyDataList(m - 1).y)
    Next
    End With
    End Sub
    Private Sub Chart1_MouseDown(sender As Object, e As MouseEventArgs) Handles Chart1.MouseDown
    Dim result As HitTestResult = Chart1.HitTest(e.X, e.Y)
    If result.ChartElementType = ChartElementType.DataPoint Then
    Chart1.Series(0).Points(result.PointIndex).XValue.ToString()
    Label1.Text = MyDataList(result.PointIndex).text
    Else
    If result.ChartElementType <> ChartElementType.Nothing Then
    Dim elementType As String = result.ChartElementType.ToString()
    Label1.Text = "Selected Element is: " & elementType
    End If
    End If
    End Sub
    Private Sub Chart1_MouseMove(sender As Object, e As MouseEventArgs) Handles Chart1.MouseMove
    Dim result As HitTestResult = Chart1.HitTest(e.X, e.Y)
    ' If a Data Point or a Legend item is selected.
    If result.ChartElementType = ChartElementType.DataPoint Or result.ChartElementType = ChartElementType.LegendItem Then
    ' Set cursor type
    Me.Cursor = Cursors.Hand
    Else
    If result.ChartElementType <> ChartElementType.Nothing And result.ChartElementType <> ChartElementType.PlottingArea Then
    ' Set cursor type
    Me.Cursor = Cursors.Hand
    Else
    ' Set default cursor
    Me.Cursor = Cursors.Default
    End If
    End If
    End Sub
    End Class

  • Plotting of graph with more than 4000 data points in Excel

    Hi All,
    I am fairly new to labview world. I am trying to plot out line graphs of the results from my program into Excel worksheet. I have huge set of data points(10000) stored in each of 10 different worksheets in MS Excel workbook. I am trying to compile results into last sheet as graphical representation of all the various dataset into 10 different graphs.
    My problem is that I am getting error because MS Graph does not allow me to plot more than 4000 rows or datapoints. Is there better and cleaner way of programming this? Or if some one can provide an example of how to handle such case. I'll appreciate any help.
    My goal is to able to plot one set of data 1st then I will be able to run through various worksheets to compile into standalone results.
     ERROR MESSAGE: "Report Generation Toolkit: Graphs you create or edit in Microsoft Graph cannot contain more than 4,000 rows or columns, including row and column headers. "
    Also for example if we run Line Graph example and change the # of data points from 100 to 4000, we get same message.
    Error -41114 occurred at NI_ReportGenerationToolkit.lvlib:Excel_Insert_Chart.vi -> NI_Excel.lvclass:Excel Insert Graph.vi -> Line Graph (Excel).vi
    Thanks,
    Saurabh

    Hi Dennis,
    I am collecting waveform data from oscilloscope using labview in both data & graph format. So my program collects data for a particular operating condition & then saves the data on a worksheet. After it loads new operating condition & goes over same cycle. I have to save all the data points in excel for different use cases, which I am saving in different worksheet for each specific operating condition.
    Since I already have data saved in excel at the end of test, I am trying plot each use case in the same report for study & presentaion after tests are finished. I have not been able to do so. I read the post which you have mentioned, seems like newer excel or labview version have same issue. I am using LV 9.0
    I will try using decimation but if you have any better way of handling this problem, I'll appreciate if you can share that.
    Thanks for your help.

  • Transparency fill in line graph data points does not copy over to Pages

    I have created some line graphs in Numbers, and they look beautiful. Since some of my data overlap and I want users to be able to easily see where all data is on the graph, I have made the data points transparent on the foremost line. This allows the other line (which data points are filled in with another color) visible "through" the foremost line.
    However, when I attempt to copy the graphs into Pages, the data points of the foremost line are no longer transparent - they are filled with white. Obviously, this defeats the entire purpose of using a transparency fill!
    What can I do to make this work?
    Thank you,
    G. Pasarescu

    Hi Yvan,
    Thank you for the tip. Unfortunately, I need to embed several of these charts into the Pages document, and cannot use Numbers instead of Pages for the document.
    Interestingly, if I copy the chart from Numbers and paste it into some graphics programs (like Pixen and Pixelator), the transparency is preserved. However, pasting the same copy into other graphics programs (such as Seashore or Photoshop) somehow flattens the image, removing the transparency, and I'm back to square one.
    Using a graphics program as the bridge between Numbers and Pages reduces the quality of the chart - that's why I'd like to try to make this work in Numbers / Pages.
    Thanks,
    Geoff

  • 3D Line Graph.vi not displaying line connecting data points.

    I'm having trouble getting 3D Line Graph.vi to display the line connecting my data points.  I'm collecting latitude, longitude, and depth data from a binary file, loading this data into arrays with a while loop, and sending those arrays to 3D Line Graph.vi.  When I tried doing it with arrays created by random number generators, the line is displayed, but when I use it with my actual data, no lines are displayed.  I can only see where the data points are when rotating the 3D graph.  Any ideas on this would be appreciated.
    Thanks,
    Morgan
    Attachments:
    Plot Depth.PNG ‏61 KB

    Karunya,
    Thanks for the info on the 3-D Curve VI.  I tried it and it works.  I think I was able to find the problem with 3D Line Graph.vi.  It has something to do with plotting very close points away from the origin and scaling the axes to view the line.  I have attached an example of where the vi breaks down.  In this example, you can see that part of the line is drawn, but when you rotate the graph, you can see that the line is not drawn through all of the points.  If you change the scale of the axes, then you eventually get the line to go through all of the points, but then the graph is not very "readable" at that point.  It's when you try to zoom in really close to the plotted points.
    Thanks!
    Morgan
    Attachments:
    3d Line Graph Error.vi ‏16 KB

  • Graphing Multiple 3D Graph Types with Spherical Data Points

    I have data points that are in theta, phi and r (magnatude) that I would like to be able to 3D plot and change the text/contour to either wireframe or contoured or points on the fly.  I believe this is possible however, after looking at the NI examples, they are all done with xyz coordinates and have yet to see a 3D graph with spherical (NI, take this as a suggestion ).
    Over a year ago, I was able to create data in spherical by giving it 3 1D arrays, but it only plotted it in the form of point or line.  The examples that have a torus use parametric plots?! although I am not entirely sure I understand how it works nor how to convert to it from spherical.
    Attached is a sample input file/array.  Wanted to see if anyone had experience using the built in 3D libraries (CW 3D Graph
    8.0) to achieve something similar.
    Note: the Amplitude column is absolute and could be made positive for ease of use as well.
    Thanks
    Attachments:
    example.txt ‏47 KB

    I'm just trying the following in the main loop to get something to graph, and nothing is showing up but this error - 80020009
    static int panelHandle;
    static CAObjHandle gGraph;
    //==============================================================================
    // Static functions
    //==============================================================================
    // Global variables
    //==============================================================================
    // Global functions
    /// HIFN The main entry-point function.
    int main (int argc, char *argv[])
    int error = 0;
    VARIANT xVt, yVt, zVt;
    HRESULT hr;
    int i,j;
    char errCode[100];
    double xData[50], yData[50], zData[50][50];
    /* initialize and load resources */
    nullChk (InitCVIRTE (0, argv, 0));
    errChk (panelHandle = LoadPanel (0, "3D Analysis.uir", PANEL));
    /* display the panel and run the user interface */
    errChk (DisplayPanel (panelHandle));
    CA_VariantSetEmpty(&xVt);
    CA_VariantSetEmpty(&yVt);
    CA_VariantSetEmpty(&zVt);
    for (i = 0; i < 50; i++) {
    xData[i] = yData[i] = i;
    for (j = 0; j < 50; j++) {
    zData[i][j] = i*j;
    GetObjHandleFromActiveXCtrl(panelHandle, PANEL_CWGRAPH3D, &gGraph);
    errChk (CA_VariantSet1DArray(&xVt,CAVT_DOUBLE, 50, xData));
    errChk (CA_VariantSet1DArray(&yVt,CAVT_DOUBLE, 50, yData));
    errChk (CA_VariantSet2DArray(&xVt,CAVT_DOUBLE, 50,50,zData));
    errChk (CW3DGraphLib__DCWGraph3DPlot3DSurface(gGraph, NULL,xVt,yVt,zVt, CA_DEFAULT_VAL));
    //errChk (CW3DGraphLib_CWPlot3DPlot3DSurface (gGraph, NULL, xVt, yVt, zVt, CA_DEFAULT_VAL));
    errChk (RunUserInterface ());
    Error:
    /* clean up */
    sprintf(errCode,"%X",error);
    MessagePopup("",errCode);
    CA_VariantSetEmpty(&xVt);
    CA_VariantSetEmpty(&yVt);
    CA_VariantSetEmpty(&zVt);
    CA_DiscardObjHandle(gGraph);
    DiscardPanel (panelHandle);
    return 0;
    At this point, I am just trying to figure out which function to call and what to set the input Variants.  Seems somethings they are 1D and sometimes they are 2D.  Unfortunately the documentation is very slim and doesn't explain what the actual functions or variants represent.

  • Graphing data of different data point amounts I get errors

    I'm using Labview 7.1 and I'm graphing a group of data sets on a single graph display.
    These data sets have different numbers of total points and the sets with a less number of points wind up going back to the origin (0,0).
    This seems to be due to where they stop in data points labview fills in the vacancy with a 0,0.
    The result is (other than addiing erroneous data points) is the scaling is way off because I'm not near the origin.
    How can I( get round this problem?
    Thank you,
    Philip

    Your code seems to be highly flawed. Does it even work at all?
    Some comments.
    If you load more than one data file, the data from the files read in the previous iteration gets lost. You'll only get the set that you read last. (for example, the 2D array output from case "=0" will be empty at all later iterations. That's why you get all these zeroes!
    Why do you need to do all the array extraction and manipulation at every while loop iteration. Everything prior to the division by the FP control belongs outside the while loop.
    "Array subset" is better than "delete from array".
    The while loop spins at infinite rate calculating the same old stuff over and over again, millions of times/second. Use an event structure so it recalculates exactly once whenever the control changes.
    All the Array manipulation is done identically in four different places, you only need that code once in a loop, you can even do it right in the FOR loop when you read the data.
    The label.text properties need to be written exactly once, ouside the loop.
    You don't need to connect an indicator to the slide. Just right-click on the slide and do "show..digital display".
    You don't need a stacked sequence. It only hides code and forces backwards wires, making the code hard to debug.
    You don't need to transpose following by gettting a row. Just get a column instead!
    Attached is a quick attempt at some simplification according to my comments above. I cannot test it so it probably needs a few tweaks here and there. Still, it should give you some ideas.  Modify as needed.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    Read_from_Text_File_chirpTemp_thingMOD.vi ‏192 KB

  • How can I get my graph to plot vs. my data points instead of vs. time?

    how can I get my graph to plot vs. my data points instead of vs. time?

    Maybe you could exaplin in a few more words what "my data" is. Are the values equally or randomly spaced?
    If they are equally spaced, just adjust offset and multiplier, and axis label.
    If they are randomly spaced you are probably looking for an X-Y graph. Check the shipping examples.
    LabVIEW Champion . Do more with less code and in less time .

Maybe you are looking for

  • How do I create files in Captivate 6 and save them in a lower version?

    I have Captive 6 at home and at work we are using 5.5.with no plans to upgrade.  How do I create or edit in Captivate 6 and still save files so my coleagues can contribute using the software we are given at work?

  • Can't Play Video Files in Lightroom 4

    I can import video files (.mov) into Lightroom 4 but I can't play them. I can play them in Photoshop CS6 Beta. The Control Bar with the "Play" icon doesn't show  and the space bar does nothing.

  • Problems with TFPT on OS X Tiger (Workaround Bonjour error)

    Hello, I'm trying to update the firmware in my DCM-202 modem via TFTP and I keep getting an error "Workaround Bonjour Unknown Error 0". This occurs when I enter the following command lines in the terminal sudo service tftp start sudo launchctl load -

  • Differences between Ant launched and JDev launched JUnit causing an error

    I've got a JUnit test which tests a web service. The test runs fine when launched in from JDeveloper but when launched from an Ant script I get: [junit] oracle.fabric.common.PolicyEnforcementException: Action header is required when addressing is enf

  • Change Requisition Qty or Price in iProcurement

    create a requisition in iprocurement. approve it by approver. our system creates an approved po for this requisition. now change the requisition by changing its price in iprocurement. press next on iprocurement screen - we are on to change order sele